Commit graph

11 commits

Author SHA1 Message Date
luofrank
f6c212c921 Add rules to allow Sensor HAL write access to als_table
Sensor HAL needs write access to
/sys/class/backlight/panel1-backlight/als_table.

Bug: 238847421
Test: Refer to b/238847421#comment5.
Change-Id: I21845b7772b3806f8796dab7e23b91fe3ae6c881
2022-07-25 09:50:17 +08:00
TreeHugger Robot
fde1b9d375 Merge "add sepolicy for both vibrator path" into tm-qpr-dev 2022-07-22 01:44:54 +00:00
TreeHugger Robot
82d6ccff80 Merge "Add service context for IDisplay/secondary" into tm-qpr-dev 2022-07-21 08:21:39 +00:00
Chase Wu
eb0d700258 add sepolicy for both vibrator path
Change the both driver path's sysfs to sysfs_vibrator

Bug: 181615889
Test: adb shell ls -lZ /sys/bus/i2c/devices/i2c-cs40l26a/default/
Test: adb shell ls -lZ /sys/bus/i2c/devices/i2c-cs40l26a-dual/default/
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I839d4b9406d140a326730873cb8cb86d13188fe2
2022-07-21 16:20:10 +08:00
Ted Wang
9d19bb92a9 Add sepolicy for Blutooth
Bug: 236681575
Test: Manually
Change-Id: I7bb8af445718703032ba1b22858654b6a5972063
2022-06-28 15:19:42 +08:00
linpeter
96d7d967fe Add service context for IDisplay/secondary
Bug: 210380703
test: check avc
Change-Id: I32a62b5cbbd0168d3a90245af04a204e74d063b2
2022-06-14 21:58:44 +08:00
linpeter
bc7b3c639c Add file context for decon1 and dsim1
Bug: 232886745
test: check sysfs context
Change-Id: Icb85a54fd4d5b949fde698ca7afeb97a0bd43408
2022-06-09 15:47:41 +08:00
Wasb Liu
1b1d98425f Add sepolicy for P9222 WLC power_supply
avc: denied { getattr } for comm="android.hardwar" path="/sys/devices/platform/10da0000.hsi2c/i2c-7/i2c-p9222/power_supply/wireless/capacity" dev="sysfs" ino=72303 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 229820966
Test: build ok, wireless power_supply can be detected by healthd
Signed-off-by: Wasb Liu <wasbliu@google.com>
Change-Id: I3078a11d6398be626d2c419ebee7d9e33babe441
2022-04-29 16:40:45 +08:00
JimiChen
d4c74fffeb Add sepolicy for specific camera components
Bug: 228822580
Bug: 228823145
Test: build okay
Change-Id: I9530292acb28414d13374128d9f453bdb602503f
2022-04-15 15:41:43 +08:00
horngchuang
4f83b87879 Add F10 specific camera component sepolicy settings
Bug: 227709256
Test: build okay
Change-Id: If1d2a22a0d3efd5b87a44f137ad115091e5653ac
2022-04-08 19:06:35 +08:00
Cyan_Hsieh
a61abb8263 Initial device felix sepolicy
Bug: 206057564
Change-Id: Ie0a08bf9c7a6cdaf634efce69401bcaa9e6a5d1b
2021-12-06 12:12:10 +08:00