android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chiachang Wang 6eac9fb787 Provide a way to override the avoid bad wifi configuration
ConnectivityManager.setAvoidUnvalidated only works if the
config_networkAvoidBadWifi configuration is set to 0 and the
NETWORK_AVOID_BAD_WIFI setting is unset. There is no easy way
for a testing app to temporary set a test value to verify the
behavior of the API. Thus, add a mechanism to allow test app
to set a period of time to temporary unstrict the resource
configuration, i.e. Temporary simulate config_networkAvoidBadWifi
configured to 0.

Bug: 186061922
Test: atest CtsNetTestCases FrameworksNetTests
Change-Id: If772078c61a9b12926f104d5dfc9c9071e844732
2021-06-22 14:54:02 +08:00
..
connectivity Make tests compatible with mockito-extended 2021-06-16 17:53:08 +09:00
net Remove ConnectivityServiceTest signature perms use 2021-06-16 16:32:03 +09:00
ConnectivityServiceTest.java Provide a way to override the avoid bad wifi configuration 2021-06-22 14:54:02 +08:00
IpSecServiceParameterizedTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
IpSecServiceRefcountedResourceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
IpSecServiceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
LegacyTypeTrackerTest.kt Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NetIdManagerTest.kt Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NetworkManagementServiceTest.java Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NsdServiceTest.java Modify NsdServiceTest to conform to its new mechanism 2021-06-08 03:08:54 +08:00