Searched refs:wifiCb (Results 1 – 3 of 3) sorted by relevance
97 val wifiCb = DetailedBlockedStatusCallback() in cellNc() constant99 cm.requestNetwork(wifiRequest(), wifiCb) in cellNc()106 wifiCb.expectAvailableCallbacks( in cellNc()115 cm.unregisterNetworkCallback(wifiCb) in cellNc()125 val wifiCb = DetailedBlockedStatusCallback() in cellNc() constant127 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 …]
182 val wifiCb = object : NetworkCallback() { in testCaptivePortalIsNotDefaultNetwork() constant192 cm.requestNetwork(NetworkRequest.Builder().addTransportType(TRANSPORT_WIFI).build(), wifiCb) in testCaptivePortalIsNotDefaultNetwork()218 cm.unregisterNetworkCallback(wifiCb) in testCaptivePortalIsNotDefaultNetwork()
2232 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));