Home
last modified time | relevance | path

Searched refs:registerNetworkCallback (Results 1 – 15 of 15) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyServiceClient.java100 public void registerNetworkCallback(INetworkCallback cb) throws RemoteException { in registerNetworkCallback() method in MyServiceClient
101 mService.registerNetworkCallback(cb); in registerNetworkCallback()
DNetworkCallbackTest.java200 registerNetworkCallback((INetworkCallback.Stub) mTestNetworkCallback); in setUp()
DVpnTest.java240 mCM.registerNetworkCallback(request, mCallback); // Unregistered in tearDown. in startVpn()
290 mCM.registerNetworkCallback(request, mCallback); // Unregistered in tearDown. in stopVpn()
626 mCM.registerNetworkCallback(request, callback); in expectPrivateDnsHostname()
DAbstractRestrictBackgroundNetworkTestCase.java709 protected void registerNetworkCallback(INetworkCallback cb) throws Exception { in registerNetworkCallback() method in AbstractRestrictBackgroundNetworkTestCase
710 mServiceClient.registerNetworkCallback(cb); in registerNetworkCallback()
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
DIMyService.aidl27 void registerNetworkCallback(in INetworkCallback cb); in registerNetworkCallback() method
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyService.java93 public void registerNetworkCallback(INetworkCallback cb) {
141 mCm.registerNetworkCallback(makeWifiNetworkRequest(), mNetworkCallback);
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java191 mCm.registerNetworkCallback(makeWifiNetworkRequest(), callback); in connectToWifi()
277 mCm.registerNetworkCallback(makeWifiNetworkRequest(), callback); in disconnectFromWifi()
332 mCm.registerNetworkCallback(makeWifiNetworkRequest(), callback); in getWifiNetwork()
461 mCm.registerNetworkCallback(request, callback); in awaitPrivateDnsSetting()
/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt295 private fun registerNetworkCallback( in registerNetworkCallback() method
299 mCM.registerNetworkCallback(request, callback) in registerNetworkCallback()
377 registerNetworkCallback(request, it) in testSignalStrengthThresholds()
606 registerNetworkCallback(request1, it) in testTemporarilyUnmeteredCapability()
DCaptivePortalApiTest.kt177 cm.registerNetworkCallback(ethRequest, testCb) in testApiCallbacks()
DConnectivityManagerTest.java493 mCm.registerNetworkCallback(makeWifiNetworkRequest(), callback); in testRegisterNetworkCallback()
548 mCm.registerNetworkCallback(makeWifiNetworkRequest(), pendingIntent); in testRegisterNetworkCallback_withPendingIntent()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DReflectorVpnService.java133 mConnectivityManager.registerNetworkCallback(request, mNetworkCallback); in start()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkSuggestionTestCase.java136 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback); in executeTest()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java108 cm.registerNetworkCallback(new NetworkRequest.Builder() in setUpClass()
773 cm.registerNetworkCallback(new NetworkRequest.Builder().build(), in waitForNetworkCapabilities()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DConcurrencyTest.java248 cm.registerNetworkCallback(request, networkCallback); in enableWifi()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityBackgroundTestActivity.java278 mCM.registerNetworkCallback( in startTest()