Skip to content
Snippets Groups Projects
Commit 93a80024 authored by yro's avatar yro Committed by android-build-merger
Browse files

Merge "Allow binder call between statsd and healthd. Also allow statsd to find...

Merge "Allow binder call between statsd and healthd. Also allow statsd to find health hal service for battery metrics."
am: 715c3a78

Change-Id: I57b946813be4e75171141a7baae6ef8c42a0b328
parents 2af6b860 715c3a78
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ allow statsd stats_data_file:file create_file_perms; ...@@ -28,6 +28,7 @@ allow statsd stats_data_file:file create_file_perms;
# Allow statsd to make binder calls to any binder service. # Allow statsd to make binder calls to any binder service.
binder_call(statsd, appdomain) binder_call(statsd, appdomain)
binder_call(statsd, healthd)
binder_call(statsd, incidentd) binder_call(statsd, incidentd)
binder_call(statsd, statscompanion_service) binder_call(statsd, statscompanion_service)
binder_call(statsd, system_server) binder_call(statsd, system_server)
...@@ -47,6 +48,9 @@ allow statsd { ...@@ -47,6 +48,9 @@ allow statsd {
system_api_service system_api_service
}:service_manager find; }:service_manager find;
# Grant statsd to access health hal to access battery metrics.
allow statsd hal_health_hwservice:hwservice_manager find;
# Only statsd can publish the binder service. # Only statsd can publish the binder service.
add_service(statsd, stats_service) add_service(statsd, stats_service)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment