mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 15:48:22 +00:00
Sepolicy: Pixel stats orientationCollector sepolicy
Bug: 228547969
Test: adb shell cmd stats print-logs;[do wireless charge], and below log
found
03-31 22:52:21.798 801 809 I statsd : { uid(1000) 1648738341
240287209019 (105009)0x10000->[S] 0x20000->0[I] }
Signed-off-by: Denny cy Lee <dennycylee@google.com>
Change-Id: I5ef5279ba7c8bf0fd3d4cf0155f5bcad79eeb6b2
This commit is contained in:
committed by
TreeHugger Robot
parent
cf2cc47e79
commit
d8eab32b49
@@ -6,6 +6,10 @@ allow pixelstats_vendor sysfs_pixelstats:file r_file_perms;
|
||||
# Wireless charge
|
||||
allow pixelstats_vendor sysfs_wlc:dir search;
|
||||
allow pixelstats_vendor sysfs_wlc:file rw_file_perms;
|
||||
# Wireless charge/OrientationCollector
|
||||
get_prop(pixelstats_vendor, hwservicemanager_prop);
|
||||
hwbinder_use(pixelstats_vendor);
|
||||
allow pixelstats_vendor fwk_sensor_hwservice:hwservice_manager find;
|
||||
|
||||
# Batery history
|
||||
allow pixelstats_vendor battery_history_device:chr_file r_file_perms;
|
||||
|
||||
@@ -2,3 +2,6 @@ binder_call(system_server, hal_camera_default);
|
||||
|
||||
# Allow system server to send sensor data callbacks to GPS
|
||||
binder_call(system_server, gpsd);
|
||||
|
||||
# pixelstats_vendor/OrientationCollector
|
||||
binder_call(system_server, pixelstats_vendor);
|
||||
|
||||
Reference in New Issue
Block a user