commit | 5a0df01ad7638b3339381b47c495d618f556b289 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Apr 20 10:59:09 2018 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Apr 20 12:18:23 2018 -0600 |
tree | 02c6d9c67ea62600924c67e1f9d9a76e9c59afda | |
parent | c0ddfa3185dd0ae66e757930066f35e5e5daceeb [diff] |
Give CTS a way to force-poll network stats. Collecting network statistics is pretty heavy, which is why we're throttling callers. However, to keep CTS running fast, we provide a way for tests to force a poll event, instead of making them wait for the throttle timeout. Bug: 77908520 Test: atest cts/tests/tests/app.usage/src/android/app/usage/cts/NetworkUsageStatsTest.java Change-Id: Ia792f0cd495023366ff8c4839df54e7da2ae8331