diff options
author | Bookatz <bookatz@google.com> | 2018-01-16 16:55:05 -0800 |
---|---|---|
committer | Bookatz <bookatz@google.com> | 2018-01-24 13:08:19 -0800 |
commit | c697797d43b6932fc7cca1c8d7d850c3fb4d1452 (patch) | |
tree | 43037d273145230adad3e720cd798d729180a236 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 96c73a3c40316e5aa36ea59d40e901d2dd505021 (diff) |
Statsd broadcast subscriber
Allows a uid that uploads a statsd config to additionally
register a BroadcastSubscriber with statsd. If statsd
detects an anomaly (according to the config's Alert),
statsd can inform a BroadcastSubscriber provided in the config.
The config uses a subscriberId (just an int) to identify the
BroadcastSubscriber. It then uses StatsManager.setBroadcastSubscriber
to associate that subscriberId with a given PendingIntent.
Then, when the anomaly is detected, statsd sends a broadcast
using that PendingIntent, alerting whoever was specified by
the config/setBroadcastSubscriber.
Bug: 70356901
Test: cts-tradefed run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.alert.BroadcastSubscriberTests
Change-Id: I4d9ea9a6c8a85e61fadfd99c1513c55abbadd5e9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions