Home
last modified time | relevance | path

Searched refs:networkCallback (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkPolicyTestUtils.java187 final NetworkCallback networkCallback = new NetworkCallback() { in assertActiveNetworkMetered() local
199 getConnectivityManager().registerDefaultNetworkCallback(networkCallback); in assertActiveNetworkMetered()
205 getConnectivityManager().unregisterNetworkCallback(networkCallback); in assertActiveNetworkMetered()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DConcurrencyTest.java242 NetworkCallback networkCallback = new NetworkCallback() { in enableWifi() local
248 cm.registerNetworkCallback(request, networkCallback); in enableWifi()
251 cm.unregisterNetworkCallback(networkCallback); in enableWifi()
/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java763 final TestNetworkCallback networkCallback = new TestNetworkCallback(); in testTetheringUpstream() local
766 mCm.registerDefaultNetworkCallback(networkCallback); in testTetheringUpstream()
767 activeNetwork = networkCallback.waitForAvailable(); in testTetheringUpstream()
769 mCm.unregisterNetworkCallback(networkCallback); in testTetheringUpstream()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java688 final NetworkCallback networkCallback = new NetworkCallback() { in waitForActiveNetworkMetered() local
702 mCm.registerDefaultNetworkCallback(networkCallback); in waitForActiveNetworkMetered()
707 mCm.unregisterNetworkCallback(networkCallback); in waitForActiveNetworkMetered()