commit | e7d5bf2920dfb4c1de11db0e10ced2733daa39cd | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Apr 20 10:59:18 2018 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Apr 20 10:59:20 2018 -0600 |
tree | 272fba3af1f64a5956f45f73c97a1c7f379cfa1e | |
parent | 300d85e10b8c87695877b6c24d7c62b8a8ab1371 [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: I3094db12691fc3f0d9045ca2fe883e89dba26775