d9311198e18f19ad06ef2ed5e4a400c0fc30e83e |
|
16-Apr-2018 |
Jeff Sharkey <jsharkey@google.com> |
Revert "Revert "OP_GET_USAGE_STATS should be noted, not checked."" This reverts commit bd2a9a2915c17cbe2100d6d2077568d0936cd719. Reason for revert: ijpedowitz@ Bug: 77662908 Change-Id: I596d330d64942105f447bb613012bb11e281a805 Exempt-From-Owner-Approval: keep tests passing
/frameworks/base/tests/net/java/com/android/server/net/NetworkStatsAccessTest.java
|
bd2a9a2915c17cbe2100d6d2077568d0936cd719 |
|
16-Apr-2018 |
Jeff Sharkey <jsharkey@google.com> |
Revert "OP_GET_USAGE_STATS should be noted, not checked." This reverts commit 5a8bcd90315c24e2f16176fd13922b2a92752cd5. Reason for revert: ijpedowitz@ Bug: 77662908 Change-Id: I5dd0ad5038df90ea8a80ba6f583ee46fb24600c2 Exempt-From-Owner-Approval: keep tests passing
/frameworks/base/tests/net/java/com/android/server/net/NetworkStatsAccessTest.java
|
5a8bcd90315c24e2f16176fd13922b2a92752cd5 |
|
13-Apr-2018 |
Jeff Sharkey <jsharkey@android.com> |
OP_GET_USAGE_STATS should be noted, not checked. Per email feedback, we should be using "noteOp" instead of "checkOp" when testing if caller holds OP_GET_USAGE_STATS, so that we record that caller used the operation. Bug: 77662908 Test: builds, boots Exempt-From-Owner-Approval: keep tests passing Change-Id: I3a60345d590534fdbc2c1248e0d30dc85a5d6772
/frameworks/base/tests/net/java/com/android/server/net/NetworkStatsAccessTest.java
|
b6f77c87c75a210a13c98e42a27364187b81e22d |
|
22-May-2017 |
Hugo Benichi <hugobenichi@google.com> |
Fix NetworkStatsAccessTest This patch fixes NetworkStatsAccessTest by taking into account DEVICESUMMARY which was added in commit 3a8b343ce5220086c4f71e63f5d42f2d28434c4b. Doing $ git revert 3a8b343ce5220086c4f71e63f5d42f2d28434c4b shows that the existing assertions of NetworkStatsAccessTest passed before that commit. This patch also changes NetworkStatsAccessTest to use up-to-date testing style and not depend on the deprecated junit.framework.TestCase. Bug: 32561414 Test: runtest -x frameworks/base/../NetworkStatsAccessTest.java Change-Id: Ib78f137578cf35e1c766b377b7f812a09173c49e
/frameworks/base/tests/net/java/com/android/server/net/NetworkStatsAccessTest.java
|
e7e10303f3bc545a9763fab7a7e89da9120bedfa |
|
15-May-2017 |
Hugo Benichi <hugobenichi@google.com> |
Finish moving NetworkStats tests to tests/net Follow-up of commit c86013be936f36c61fa0cdfad95141f6de3c6ef7. Also add @SmallTest annotation to classes moved to tests/net. Test: no functional change Bug: 32561414 Change-Id: I0a0e8865d37ba7bae06ce352d3fc385989adc300
/frameworks/base/tests/net/java/com/android/server/net/NetworkStatsAccessTest.java
|