commit | c3c8d16380e3d7a54aa290061c8ea5a127027c46 | [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 | cc733db7200384f5e5254c35af4ad9181de3e7b9 | |
parent | 5e12ebfffd813fc7035c9eef60220914dc92482f [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