Home
last modified time | relevance | path

Searched refs:wifiCb (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSBlockedReasonsTest.kt97 val wifiCb = DetailedBlockedStatusCallback() in cellNc() constant
99 cm.requestNetwork(wifiRequest(), wifiCb) in cellNc()
106 wifiCb.expectAvailableCallbacks( in cellNc()
115 cm.unregisterNetworkCallback(wifiCb) in cellNc()
125 val wifiCb = DetailedBlockedStatusCallback() in cellNc() constant
127 cm.requestNetwork(wifiRequest(), wifiCb) in cellNc()
138 wifiCb.expectAvailableCallbacks( in cellNc()
165 wifiCb.assertNoCallback() in cellNc()
170 cm.unregisterNetworkCallback(wifiCb) in cellNc()
179 val wifiCb = DetailedBlockedStatusCallback() in cellNc() constant
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DCaptivePortalTest.kt182 val wifiCb = object : NetworkCallback() { in testCaptivePortalIsNotDefaultNetwork() constant
192 cm.requestNetwork(NetworkRequest.Builder().addTransportType(TRANSPORT_WIFI).build(), wifiCb) in testCaptivePortalIsNotDefaultNetwork()
218 cm.unregisterNetworkCallback(wifiCb) in testCaptivePortalIsNotDefaultNetwork()
DConnectivityManagerTest.java2232 final TestableNetworkCallback wifiCb = new TestableNetworkCallback();
2241 registerCallbackAndWaitForAvailable(makeWifiNetworkRequest(), wifiCb);
2262 if (verifyWifi) waitForLost(wifiCb);
2271 if (verifyWifi) waitForAvailable(wifiCb);
3041 final TestableNetworkCallback wifiCb = networkCallbackRule.registerNetworkCallback(
3046 waitForLost(wifiCb);
3080 final TestableNetworkCallback wifiCb = networkCallbackRule.registerNetworkCallback(
3086 wifiCb.eventuallyExpect(CallbackEntry.AVAILABLE, NETWORK_CALLBACK_TIMEOUT_MS,
3100 wifiCb.eventuallyExpect(CallbackEntry.NETWORK_CAPS_UPDATED,
3112 wifiCb.assertNoCallback(NO_CALLBACK_TIMEOUT_MS, c -> isValidatedCaps(c));