Google - Pixel Ambient Services (com.google.intelligence.sense)
Pre-grant record audio for the sense apk.
Bug: 38375510
Bug: 62096243
Test: Flashed to a device and confirmed the permissions was already
granted.
Change-Id: I8e7b78ad073cb473caa8e6a17daaf5d545e0832b
This change will be reverted after all cnd denials
are fixed as part of b38253858
Currently all QC propriatery modules are going through a major
re-architecture so keeping this in permissive mode will help
unblock the lab conformance test.
The current denials which will be ignored with this change
cnd : type=1400 audit(0.0:453): avc: denied { net_raw } for
capability=13 scontext=u:r:cnd:s0 tcontext=u:r:cnd:s0 tclass=capability
permissive=1
cnd : type=1400 audit(0.0:455): avc: denied { dac_override } for
capability=1 scontext=u:r:cnd:s0 tcontext=u:r:cnd:s0 tclass=capability
permissive=1
cnd : type=1400 audit(0.0:456): avc: denied { read write } for
name="wake_lock" dev="sysfs" ino=18727 scontext=u:r:cnd:s0
tcontext=u:object_r:sysfs_wake_lock:s0 tclass=file permissive=1
cnd : type=1400 audit(0.0:457): avc: denied { open } for
path="/sys/power/wake_lock" dev="sysfs" ino=18727 scontext=u:r:cnd:s0
tcontext=u:object_r:sysfs_wake_lock:s0 tclass=file permissive=1
cnd : type=1400 audit(0.0:458): avc: denied { block_suspend } for
capability=36 scontext=u:r:cnd:s0 tcontext=u:r:cnd:s0 tclass=capability2
permissive=1
Change-Id: I9c0a7a38a0b61f3819f90f0178ab16e59da9e65f
This HAL is no longer implemented with the SE but, instead, communicates
with the bootloader.
Bug: 62052545
Test: Build and boot
Change-Id: I929f184019a782372c09dd6264e6ccec0f822f0f
By default it's false since always on display requires special tuning,
but we've done that for wahoo devices so set it to true.
Test: manual
Bug: 38354290
Change-Id: I6f061336062d6bb854c80cc7e792d57467ea9fa2
- pkill does not find the power service, so use pkill -f instead in
restart_power_hal
- rename touch-specific functions
- add functions to disable launch boosts and restore defaults
Test: ran restore_defaults & disable_launch_hint and checked
powerhint.xml on device; ran restart_power_hal and confirmed service
restarted.
Change-Id: If6dda7c891c5c595d1c18a58007af4d89e007b0b
Signed-off-by: Connor O'Brien <connoro@google.com>
It is moved to development/vndk. VNDK-related modules are all behind a
phony module vndk-<version>.
Bug: 38356823
Bug: 37522144
Bug: 38210782
Test: muskie builds and boots
Change-Id: I5f37f1bdbda92f3eb606a271dbcd84b5e5b1a353