android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aaron Huang 2685c929f4 Add a test for metered/non-metered mobile network
NetworkTemplate.buildTemplateMobileWithRatType() supports
to build a template with metered filter, so a mobile network
is metered or non-metered should be tested.

This commit also rename buildMobile3gState to buildMobileState
because originally this method uses NetworkInfo to simulate the
network type. The NetworkInfo related codes were removed.
Currently, setMobileRatTypeAndWaitForIdle is used to simulate
the network type in test.

Ignore-AOSP-First: The parent of this change contains a CL will
conflict with internal tree so ignore AOSP first.
Bug: 183776809
Test: this
Change-Id: I8e54e2acb06db81fb0eaf330c4fd7cb391b01ff3
2021-10-26 12:16:18 +00:00
..
connectivity Crash bad callers earlier 2021-10-19 16:43:50 +08:00
net Add a test for metered/non-metered mobile network 2021-10-26 12:16:18 +00:00
ConnectivityServiceTest.java Add underlying networks into NetworkAgentInfo if any 2021-10-19 15:04:56 +08:00
IpSecServiceParameterizedTest.java Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
IpSecServiceRefcountedResourceTest.java Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
IpSecServiceTest.java Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
LegacyTypeTrackerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetIdManagerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetworkManagementServiceTest.java Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NsdServiceTest.java Modify Nsd{Service,Manager}Test to conform to its change 2021-09-13 10:18:04 +09:00