Home
last modified time | relevance | path

Searched refs:unregisterNetworkCallback (Results 1 – 25 of 26) sorted by relevance

12

/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyService.java96 unregisterNetworkCallback();
107 unregisterNetworkCallback();
117 unregisterNetworkCallback();
127 unregisterNetworkCallback();
137 unregisterNetworkCallback();
143 cb.asBinder().linkToDeath(() -> unregisterNetworkCallback(), 0);
145 unregisterNetworkCallback();
150 public void unregisterNetworkCallback() {
153 mCm.unregisterNetworkCallback(mNetworkCallback);
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyServiceClient.java104 public void unregisterNetworkCallback() throws RemoteException { in unregisterNetworkCallback() method in MyServiceClient
105 mService.unregisterNetworkCallback(); in unregisterNetworkCallback()
DNetworkCallbackTest.java216 unregisterNetworkCallback(); in tearDown()
DNetworkPolicyTestUtils.java205 getConnectivityManager().unregisterNetworkCallback(networkCallback); in assertActiveNetworkMetered()
DAbstractRestrictBackgroundNetworkTestCase.java713 protected void unregisterNetworkCallback() throws Exception { in unregisterNetworkCallback() method in AbstractRestrictBackgroundNetworkTestCase
714 mServiceClient.unregisterNetworkCallback(); in unregisterNetworkCallback()
DVpnTest.java159 mCM.unregisterNetworkCallback(mCallback); in tearDown()
632 mCM.unregisterNetworkCallback(callback); in expectPrivateDnsHostname()
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java214 mCm.unregisterNetworkCallback(callback); in connectToWifi()
315 mCm.unregisterNetworkCallback(callback); in disconnectFromWifi()
339 mCm.unregisterNetworkCallback(callback); in getWifiNetwork()
365 mCm.unregisterNetworkCallback(mCellNetworkCallback); in disconnectFromCell()
463 mCm.unregisterNetworkCallback(callback); in awaitPrivateDnsSetting()
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
DIMyService.aidl28 void unregisterNetworkCallback(); in unregisterNetworkCallback() method
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java515 mCm.unregisterNetworkCallback(callback); in testRegisterNetworkCallback()
516 mCm.unregisterNetworkCallback(defaultTrackingCallback); in testRegisterNetworkCallback()
561 mCm.unregisterNetworkCallback(pendingIntent); in testRegisterNetworkCallback_withPendingIntent()
587 mCm.unregisterNetworkCallback(callback); in testRequestNetworkCallback()
615 mCm.unregisterNetworkCallback(callback); in testRequestNetworkCallback_onUnavailable()
641 mCm.unregisterNetworkCallback(callback); in testRestrictedNetworks()
707 mCm.unregisterNetworkCallback(networkCallback); in waitForActiveNetworkMetered()
DCaptivePortalApiTest.kt142 cm.unregisterNetworkCallback(ethRequestCb) in tearDown()
187 cm.unregisterNetworkCallback(testCb) in testApiCallbacks()
DConnectivityDiagnosticsManagerTest.java159 mConnectivityManager.unregisterNetworkCallback(mTestNetworkCallback); in tearDown()
217 mConnectivityManager.unregisterNetworkCallback(testNetworkCallback); in testRegisterCallbackWithCarrierPrivileges()
DDnsTest.java306 mCm.unregisterNetworkCallback(callback); in ensureIpv6Connectivity()
DCaptivePortalTest.kt182 cm.unregisterNetworkCallback(wifiCb) in testCaptivePortalIsNotDefaultNetwork()
DNetworkAgentTest.kt137 callbacksToCleanUp.forEach { mCM.unregisterNetworkCallback(it) } in tearDown()
412 mCM.unregisterNetworkCallback(it) in testSignalStrengthThresholds()
DIpSecManagerTunnelTest.java150 sCM.unregisterNetworkCallback(sTunNetworkCallback); in tearDownAfterClass()
634 sCM.unregisterNetworkCallback(testNetworkCb);
DIkev2VpnTest.java471 sCM.unregisterNetworkCallback(tunNetworkCallback); in doTestStartStopVpnProfile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathOutOfBandTestCase.java291 cm.unregisterNetworkCallback(networkCb); in executeTestResponder()
432 cm.unregisterNetworkCallback(networkCb); in executeTestInitiator()
DDataPathInBandTestCase.java137 mCm.unregisterNetworkCallback(mNetworkCb); in tearDown()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkRequestTestCase.java209 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in tearDown()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DReflectorVpnService.java97 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in ensureNetworkCallbackUnregistered()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java118 cm.unregisterNetworkCallback(callback); in setUpClass()
779 cm.unregisterNetworkCallback(this); in waitForNetworkCapabilities()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java595 mConnectivityManager.unregisterNetworkCallback(mWifiNetworkCallback); in reset()
599 mConnectivityManager.unregisterNetworkCallback(mCellularNetworkCallback); in reset()
DConnectivityBackgroundTestActivity.java184 mCM.unregisterNetworkCallback(mNetworkCallback); in clearNetworkCallback()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DConcurrencyTest.java251 cm.unregisterNetworkCallback(networkCallback); in enableWifi()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DIkeSessionTestBase.java211 sCM.unregisterNetworkCallback(mTunNetworkCallback); in tearDownTestNetwork()

12