Fix build error:
"Error when attempting to convert to manifest: Duplicated manifest.hal
entry android.hardware.bluetooth"
Test: built successfully after removing this duplicated entry
Change-Id: I8f2c531806ee3a477b5400bfd0e30f5d3d4da1c8
Automatically change the parameters used by the power HAL's
interaction hint by modifying powerhint.xml on the device.
Test: Ran functions, triggered touch event and confirmed values were
set correctly.
Signed-off-by: Connor O'Brien <connoro@google.com>
Change-Id: Ic8695c576f02e151e1fa038bfbb0f33625942b06
In order to make Offload Server testable, introduce a factory that will
create the Chre Interface object. This is a part of the dependency
injection framework to make OffloadServer testable.
Bug: 32842314
Test: VTS
Change-Id: I14794981a7b75b376462cb3fe8c6fb34df66a1ae
Define OffloadServer class that implements the Offload HAL service and
the callback interface to the CHRE platform. This is where the
communication to the CHRE interface will take place and this class is
created to be testable for unit testing.
Bug: 32842314
Test: VTS
Change-Id: I9c259ab2b721d7d1ac8cb16083c464002c237a16
Wraps around CHRE socket to provide an interface for service
implementation to interact with the CHRE socket. Implements callbacks
and corresponding host specific wrappers to interpret messages send by
the nano app.
Bug: 32842314
Test: VTS
Change-Id: I8f40a6d5aa6fcb946213225ba6bb1ff355b85f06
Add permissions/tango_permissions.xml and libtango
jar file to enable playstore updates
Test: Tested by installing signed app
BUG=36063455
Change-Id: I5f03daaadf019a133ec0c1d66af40349bc76b254
If there is no security issue with having ims write to ims_socket, then
I am fine with granting the permission in order to hurry up the
enforcing status of this domain.
denied { read } for pid=888 comm="imsdatadaemon" name="timestamp_switch"
dev="sysfs" ino=27246 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs:s0
tclass=file
denied { open } for pid=888 comm="imsdatadaemon"
path="/sys/module/diagchar/parameters/timestamp_switch" dev="sysfs"
ino=27246 scontext=u:r:ims:s0 tcontext=u:object_r:sysfs:s0 tclass=file
denied { read } for pid=1326 comm="imsrcsd" name="timestamp_switch"
dev="sysfs" ino=27246 scontext=u:r:hal_rcsservice:s0
tcontext=u:object_r:sysfs:s0 tclass=file
denied { write } for pid=1077 comm="ims_rtp_daemon" name="ims_datad"
dev="tmpfs" ino=27069 scontext=u:r:ims:s0
tcontext=u:object_r:ims_socket:s0 tclass=sock_file
Bug: 34784662
Test: These denials no longer appear
Change-Id: I95d8b62d73fae35fca5e292e6927c4663db76e6f
This patch adds the support of loading a calibration file and write it
back to the drv2624 kernel driver. The calibration file contains the
BEMF, GAIN and COMP numbers generated using the auto-calibration feature
of the drv2624 driver IC. The file also contains the per-device resonant
frequency number.
Test: calibrate the device and read back the values from kernel
Change-Id: Ieafe5b317c7544bd8d657168250fb41e2ee0d8fc
Signed-off-by: David Lin <dtwlin@google.com>
When outputting uint8_t / char to sysfs using ofstream it gets to
stringified to a character instead of string. For example, writing 127
would get converted to "\x7F\0a" in text while sysfs generally only
accept input in dec "127" or "0x7f" in hex format. This patch changes
the rtp_input type to uint32_t instead.
Bug: 36097386
Test done: VtsHalVibratorV1_0TargetTest all passed
Change-Id: Ie98e42584fd32843dec46edde7af54f9cdcbc4cc
Signed-off-by: David Lin <dtwlin@google.com>
Property 'qcom.bluetooth.soc' is readed by driver. Moves it to
vendor to use bluetooth on generic AOSP.
Bug: 37927875
Test: switch on/off bluetooth in settings
Change-Id: Ib4dd140b7e9f1b3d6cce098d8527bafcafcff950
Update instance name of QcRilAudio HAL.
Mutliple (one per SIM) instances of
QcRilAudio HAL is required.
Change-Id: Ied34684509f1db37727880116bab785fddaaded3
No longer seeing any denials related to rmt_storage
Bug: 34784662
Test: rmt_storage operates properly in enforcing mode
Change-Id: Ib7127b88b5ea35b8e92cdda48ad32a02c66f1c86