From 055a958dad0d6482a8d007ee4ff2a0d9c293c274 Mon Sep 17 00:00:00 2001 From: Bookatz Date: Thu, 12 Apr 2018 10:45:49 -0700 Subject: [PATCH] NO PARTIAL RERUN Statsd sepolicy hal_health Statsd monitors battery capacity, which requires calls to the health hal. Fixes: 77923174 Bug: 77916472 Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.atom.HostAtomTests#testFullBatteryCapacity Merged-In: I2d6685d4b91d8fbc7422dfdd0b6ed96bbddc0886 Change-Id: I767068c60cff6c1baba615d89186705107531c02 --- private/statsd.te | 1 + 1 file changed, 1 insertion(+) diff --git a/private/statsd.te b/private/statsd.te index fec10a4b6..06d6e01e6 100644 --- a/private/statsd.te +++ b/private/statsd.te @@ -73,6 +73,7 @@ binder_call(statsd, stats) # Allow access to with hardware layer and process stats. allow statsd proc_uid_cputime_showstat:file { getattr open read }; +hal_client_domain(statsd, hal_health) hal_client_domain(statsd, hal_power) hal_client_domain(statsd, hal_thermal)