This patch enables the low-power trigger mode for drv2624 to allow the
SLPI to trigger the leading edge of a gesture while AP is in suspend
mode.
Bug: 62658365
Test: manually toggle the trigger gpio to verity
Change-Id: Icb795867355dda9bb6987a78eb93c8af1dfb0577
- Shutting down these services lead into close call blocked
,which can lead into blocking fput of the whole system and
thus blocking file system umount / shutdown.
- Just keep them during shutdown as long as they do not access /data,
/persist
bug: 37737296
Test: python packages/services/Car/tools/bootanalyze/bootanalyze.py -r -c packages/services/Car/tools/bootanalyze/config.yaml -n 100 -f -e 11 -w 30 -m boot_fs_shutdown=5000 -v and check if boot_fs_shutdown time exceeds 5 secs.
Change-Id: Ib42b1d840ee861730c82ecde9e08b288d3aae931
Grant capabilities and change file permissions to allow the sensors.qcom
daemon to start up as the system user/group, rather than running as
root.
Fixes: 63775281
Test: monitor logcat after reboot, confirm no file open errors. Run
QSensorTest, confirm all sensors provide sane data. Confirm that
IMU calibration can read + write its saved settings. Run sensors CTS.
Change-Id: Ib80ea21900d6af6cd34c82c4a63f50c7e0ac18ff
Setting ioprio to realtime within rmt_stroage requires unnecessarily
granting CAP_SYS_ADMIN, which is a highly privileged superuser
capability.
Having init set ioprio at service launch removes the need for
granting this capability and keeps rmt_storage unprivileged.
Addresses the following errors:
07-20dd 14:21:03.867 824 824 W rmt_storage: type=1400 audit(0.0:4):
avc: denied { sys_admin } for capability=21 scontext=u:r:rmt_storage:s0
tcontext=u:r:rmt_storage:s0 tclass=capability permissive=0
07-20 14:21:03.874 824 824 E rmt_storage: Error setting io priority
to CLASS_RT (1)
Test 1 and 2 below verify that my change results in the intended
behavior. Test 3 is a sanity check to show the state without
granting CAP_SYS_ADMIN and to demonstrate that my change results
in the intended state.
Test: original code with CAP_SYS_ADMIN granted
# ionice -p <rmt_storage pid>
Realtime: prio 0
Test: ioprio_set moved to init.rc script
# ionice -p <rmt_storage pid>
Realtime: prio 0
Test: original code without CAP_SYS_ADMIN granted (sanity check)
# ionice -p <rmt_storage pid>
unknown: prio 0
Bug: 63074582
Change-Id: I9bc660aaca72f3df562e8010bc23c9731f648a9e
1) Explicitly specify uid, gid and groups needed for cnd Add
CAP_BLOCK_SUSPEND
2) Move sys.ims properties to vendor.ims
3) Remove imscmservice from init as its not used on Pixel
Bug: 63850865
Bug: 63804057
Change-Id: Ie8f0eefa96a21605a63ae5a73e59270866704ed7
This reverts commit 134f509da1.
I'm not sure if the start time of qseecomd has been moving around, but
it seems that this is no longer necessary.
Bug: 37589340
Test: enroll new fingerprints and authenticate with them. FDR should not
have problems upon reboot.
Change-Id: I0b817143de5f3aa13ac5baabfe3c8a59f0341710
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Bug: 63818298
Test: confirm CHRE starts up, and HAL can communicate with it via
monitoring logcat and running lshal debug
Change-Id: I72f74d66f98266ba1bcd417e5ec61ace4ddb780c
Bluetooth driver needs to hold a wakelock while receiving
packets from the UART to make sure that no bytes are lost.
Test: Bluetooth on/off
Bug: 63628397
Change-Id: I8cd6a13921cdc2777c64b0624f544a9548292522
Bug: 37168913
Test: No more atfwd errors at boot
Change-Id: I8b05bbc33c8d393a9dcaabf4fd554fdfab126989
Signed-off-by: Thierry Strudel <tstrudel@google.com>
(cherry picked from commit a75d65362c8baef5c66e97c79d2840b00ce21bfe)
This reverts commit aee1b828f7.
Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in dr1 will be down
revisioned to 1.0.
Bug: 63440035
Test: build & run
Change-Id: I5713c6f38a18b2669eb9514f7f7c84359e736e52
Merged-In: I64930ca7dfceb66a1cf7a52b43fd378810ff8dad
Bug: 62837579
Test: place test files in /persist/elabel, check that they are copied to /data/misc/elabel on boot
Change-Id: Id29e7c7c01ed54bf4d2f488cfa6dba51046bc5bf
Merged-In: Id29e7c7c01ed54bf4d2f488cfa6dba51046bc5bf
Also cleanup sepolicy files that was using /data/vendor as they are not
needed and /data is not ready by the time we start time_daemon
Bug: 62184939
Test: walleye boot with correct time in airplane mode
Change-Id: Ic7b025a8c795092a1dd4b1ab1d7497d1440c0a4b
The DVR cpusets was not updated for Wahoo. Update it based on the
configuration from Polaris device.
Bug: 37752074
Test: Flashed and tested a Taimen to observe that the changes are in
place -
$ adb shell cat /dev/cpuset/application/performance/effective_cpus
4-5
Change-Id: I47158ac2e75bbb713a651fd36927031b72296277
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
This folder is used for storing QC slang scripts, which are not used on
this device.
Bug: 38425697
Test: load, sanity check sensors
Change-Id: Ie40e356c57e98355117833df05f59e26c4754e74