Searched refs:wifiCb (Results 1 – 2 of 2) sorted by relevance
164 val wifiCb = object : NetworkCallback() { in testCaptivePortalIsNotDefaultNetwork() constant174 cm.requestNetwork(NetworkRequest.Builder().addTransportType(TRANSPORT_WIFI).build(), wifiCb) in testCaptivePortalIsNotDefaultNetwork()200 cm.unregisterNetworkCallback(wifiCb) in testCaptivePortalIsNotDefaultNetwork()
1820 final TestableNetworkCallback wifiCb = new TestableNetworkCallback();1827 if (supportWifi) requestAndWaitForAvailable(makeWifiNetworkRequest(), wifiCb);1854 if (supportWifi) waitForLost(wifiCb);1865 if (supportWifi) waitForAvailable(wifiCb);1868 if (supportWifi) mCm.unregisterNetworkCallback(wifiCb);2566 final TestableNetworkCallback wifiCb = new TestableNetworkCallback();2576 mCm.registerNetworkCallback(makeWifiNetworkRequest(), wifiCb);2580 waitForLost(wifiCb);2582 mCm.unregisterNetworkCallback(wifiCb);2602 final TestableNetworkCallback wifiCb = new TestableNetworkCallback();[all …]