Searched refs:mNetworkCallback (Results 1 – 8 of 8) sorted by relevance
85 private ConnectivityManager.NetworkCallback mNetworkCallback; field in MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest200 if (mNetworkCallback != null) { in tearDown()201 sConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in tearDown()222 mNetworkCallback = sTestHelper.testConnectionFlowWithConnect( in testConnectToOemPaidSuggestionWhenConnectedToInternetNetwork()258 mNetworkCallback = sTestHelper.testConnectionFlowWithConnect( in testConnectToInternetNetworkWhenConnectedToOemPaidSuggestion()274 mNetworkCallback = sTestHelper.testConnectionFlowWithConnect( in testConnectToOemPrivateSuggestionWhenConnectedToInternetNetwork()310 mNetworkCallback = sTestHelper.testConnectionFlowWithConnect( in testConnectToInternetNetworkWhenConnectedToOemPrivateSuggestion()328 mNetworkCallback = sTestHelper.testConnectionFlowWithConnect( in testConnectToOemPaidSuggestionFailureWhenConnectedToInternetNetwork()356 mNetworkCallback = sTestHelper.testConnectionFlowWithConnect( in testConnectToOemPrivateSuggestionFailureWhenConnectedToInternetNetwork()385 mNetworkCallback = sTestHelper.testConnectionFlowWithConnect( in testConnectToSuggestionFailureWithOemPaidNetCapabilityWhenConnectedToInternetNetwork()[all …]
86 private ConnectivityManager.NetworkCallback mNetworkCallback; field in MultiStaConcurrencyWifiNetworkSpecifierTest219 if (mNetworkCallback != null) { in tearDown()220 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in tearDown()253 mNetworkCallback = mTestHelper.testConnectionFlowWithConnect( in testConnectToPeerPeerNetworkWhenConnectedToInternetNetwork()285 mNetworkCallback = mTestHelper.testConnectionFlowWithConnect( in testConnectToInternetNetworkWhenConnectedToPeerPeerNetwork()303 mNetworkCallback = mTestHelper.testConnectionFlowWithConnect( in testPeerToPeerConnectionRejectWhenConnectedToInternetNetwork()
102 private final ConnectivityManager.NetworkCallback mNetworkCallback = field in MultiStaConcurrencyMultiInternetWifiNetworkTest
79 private CallbackUtils.NetworkCallback mNetworkCallback; field in NetworkRequestTestCase186 mNetworkCallback = new CallbackUtils.NetworkCallback(CALLBACK_TIMEOUT_MS); in executeTest()189 mConnectivityManager.requestNetwork(mNetworkRequest, mNetworkCallback, in executeTest()204 boolean cbStatusForUnavailable = mNetworkCallback.waitForUnavailable(); in executeTest()218 Pair<Boolean, Network> cbStatusForAvailable = mNetworkCallback.waitForAvailable(); in executeTest()231 boolean cbStatusForLost = mNetworkCallback.waitForLost(); in executeTest()256 if (mNetworkCallback != null) { in tearDown()257 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in tearDown()
78 private CallbackUtils.NetworkCallback mNetworkCallback; field in NetworkSuggestionTestCase188 if (!mNetworkCallback.getNetworkCapabilities() in waitForNetworkToBeMetered()193 + mNetworkCallback.getNetworkCapabilities()); in waitForNetworkToBeMetered()196 if (!mNetworkCallback.waitForCapabilitiesChanged()) { in waitForNetworkToBeMetered()256 mNetworkCallback = new CallbackUtils.NetworkCallback(CALLBACK_TIMEOUT_MS); in executeTest()257 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback); in executeTest()312 Pair<Boolean, Network> cbStatusForAvailable = mNetworkCallback.waitForAvailable(); in executeTest()324 Pair<Boolean, Network> cbStatusForAvailable = mNetworkCallback.waitForAvailable(); in executeTest()394 if (!mNetworkCallback.getNetworkCapabilities() in executeTest()397 + mNetworkCallback.getNetworkCapabilities()); in executeTest()[all …]
57 private ConnectivityManager.NetworkCallback mNetworkCallback = null; field in ReflectorVpnService104 if (null == mConnectivityManager || null == mNetworkCallback) return; in ensureNetworkCallbackUnregistered()105 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in ensureNetworkCallbackUnregistered()106 mNetworkCallback = null; in ensureNetworkCallbackUnregistered()130 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in start()141 mConnectivityManager.registerNetworkCallback(request, mNetworkCallback); in start()
97 private NetworkCallback mNetworkCallback; field in ConnectivityBackgroundTestActivity186 if (mNetworkCallback != null) { in clearNetworkCallback()187 mCM.unregisterNetworkCallback(mNetworkCallback); in clearNetworkCallback()188 mNetworkCallback = null; in clearNetworkCallback()
753 private final ConnectivityManager.NetworkCallback mNetworkCallback; field in LowPowerStandbyTest.NetworkBlockedStateAsserter760 mNetworkCallback = in NetworkBlockedStateAsserter()775 mConnectivityManager.registerDefaultNetworkCallback(mNetworkCallback); in register()789 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in unregister()