android_packages_modules_Co.../tests/net/java/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mike Yu 96612aedb1 Add tests for the network blocked status change
onBlockedStatusChanged is intruduced for network blocked status.
The changes in this patch are:
  - Test onBlockedStatusChanged which tells apps whether the
    network is blocked.
  - Fixed the tests which is affected by the order changed in
    onAvailable.

Test: as follows
    - runtest frameworks-net
    - runtest -x NetworkPolicyManagerServiceTest.java
Bug: 74575553
Change-Id: I383c037ed895ef69c478dc3cff69fb1e27c42845
2018-10-19 19:52:50 +08:00
..
app/usage Allow null subscriberId in NetworkStatsManager. 2018-03-30 12:18:23 +09:00
net Add tests for the network blocked status change 2018-10-19 19:52:50 +08:00