Skip to content
Snippets Groups Projects
Commit 2cd273e4 authored by Yao Chen's avatar Yao Chen Committed by android-build-merger
Browse files

Merge "Allow dumpstate to call statsd. This is needed for bugreport."

am: 7724907f

Change-Id: Ifa9232436dadd516535c965438603d24c7c44310
parents ca07f29d 7724907f
Branches
Tags android-6.0.1_r20
No related merge requests found
...@@ -27,5 +27,8 @@ userdebug_or_eng(` ...@@ -27,5 +27,8 @@ userdebug_or_eng(`
# Allow dumpstate to make binder calls to storaged service # Allow dumpstate to make binder calls to storaged service
binder_call(dumpstate, storaged) binder_call(dumpstate, storaged)
# Allow dumpstate to make binder calls to statsd
binder_call(dumpstate, statsd)
# Collect metrics on boot time created by init # Collect metrics on boot time created by init
get_prop(dumpstate, boottime_prop) get_prop(dumpstate, boottime_prop)
...@@ -53,6 +53,10 @@ add_service(statsd, stats_service) ...@@ -53,6 +53,10 @@ add_service(statsd, stats_service)
allow statsd stats:fd use; allow statsd stats:fd use;
allow statsd stats:fifo_file write; allow statsd stats:fifo_file write;
# Allow statsd to send dump info to dumpstate
allow statsd dumpstate:fd use;
allow statsd dumpstate:fifo_file { getattr write };
# Allow statsd to call back to stats with status updates. # Allow statsd to call back to stats with status updates.
binder_call(statsd, stats) binder_call(statsd, stats)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment