Statsd CTS tests -Value & Gauage anomaly detection
Tests that Value and Guage anomaly detection correctly call incidentd
when an anomaly occurs.
Also fixes a bug that prevented Duration from working.
TODO: Tests currently use screen state, which is unreliable since there
are multiple screen states (7 of them). A different atom should be used
instead, once available.
Test: cts-tradefed run cts-dev -m CtsIncidentHostTestCases -t com.android.server.cts.StatsdValidationTest
Change-Id: Ib1aa294ee15d9375d5be949b7d4bd2ac6795e1dc
1 file changed