Stats: new sepolicy for the AIDL service

This allows the pixelstats_vendor communicate with new AIDL IStats service via ServiceManager

Bug: 181914749
Test: Build, flash, and logcat -s "pixelstats_vendor"
Change-Id: Icf1bbbd7f72835fe8f9c2f23281a2f5b4bf8e698
This commit is contained in:
Vova Sharaienko 2021-03-12 01:12:21 +00:00
parent 854db479bb
commit 2ed30c23e3
2 changed files with 2 additions and 4 deletions

View file

@ -1,4 +0,0 @@
# b/181914749
dontaudit pixelstats_vendor servicemanager:binder { call };
# b/181915066
dontaudit pixelstats_vendor servicemanager:binder { call };

View file

@ -11,5 +11,7 @@ hwbinder_use(pixelstats_vendor)
allow pixelstats_vendor fwk_stats_hwservice:hwservice_manager find; allow pixelstats_vendor fwk_stats_hwservice:hwservice_manager find;
binder_call(pixelstats_vendor, stats_service_server) binder_call(pixelstats_vendor, stats_service_server)
binder_use(pixelstats_vendor);
allow pixelstats_vendor fwk_stats_service:service_manager find;
allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms; allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms;