GpuStats: sepolicy change for using new statsd puller api

Bug: 148421389
Test: statsd_testdrive 10054
Change-Id: Icf1a4bf809b1413c0e413290bbeadd987faff710
This commit is contained in:
Yiwei Zhang 2020-02-04 15:55:59 -08:00
parent c98291c37c
commit dbbe3bd7d8
2 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,10 @@ allow gpuservice devpts:chr_file { read write getattr };
allow gpuservice dumpstate:fd use;
allow gpuservice dumpstate:fifo_file write;
# Needed for stats callback registration to statsd.
allow gpuservice stats_service:service_manager find;
binder_call(gpuservice, statsd);
add_service(gpuservice, gpu_service)
# Only uncomment below line when in development

View File

@ -41,6 +41,7 @@ neverallow {
domain
-dumpstate
-gmscore_app
-gpuservice
-incidentd
-platform_app
-priv_app