/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | ConnectivityManagerTest.java | 228 when(mService.requestNetwork(anyInt(), any(), anyInt(), captor.capture(), anyInt(), any(), in testCallbackRelease() 230 manager.requestNetwork(request, callback, handler); in testCallbackRelease() 257 when(mService.requestNetwork(anyInt(), any(), anyInt(), captor.capture(), anyInt(), any(), in testCallbackRecycling() 259 manager.requestNetwork(req1, callback, handler); in testCallbackRecycling() 275 when(mService.requestNetwork(anyInt(), any(), anyInt(), captor.capture(), anyInt(), any(), in testCallbackRecycling() 277 manager.requestNetwork(req2, callback, handler); in testCallbackRecycling() 299 when(mService.requestNetwork(anyInt(), any(), anyInt(), any(), anyInt(), any(), anyInt(), in noDoubleCallbackRegistration() 303 manager.requestNetwork(request, callback, handler); in noDoubleCallbackRegistration() 307 expectThrowable(() -> manager.requestNetwork(request, callback), wantException); in noDoubleCallbackRegistration() 313 manager.requestNetwork(request, callback); in noDoubleCallbackRegistration() [all …]
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/ |
D | ImsPdnNetworkFetcher.java | 51 return requestNetwork(); in getImsPdnNetwork() 66 private ListenableFuture<Network> requestNetwork() { in requestNetwork() method in ImsPdnNetworkFetcher 81 cm.requestNetwork(createNetworkRequest(), cb); in requestNetwork()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 209 verify(mConnectivityManager).requestNetwork(any(NetworkRequest.class), in verifyNetworkCallbackInvokedWhenConnected() 239 verify(mConnectivityManager).requestNetwork(any(NetworkRequest.class), in verifyNetworkCallbackWithoutOnAvailable() 262 verify(mConnectivityManager).requestNetwork(any(NetworkRequest.class), in verifyNetworkConnectionTimeout() 315 verify(mConnectivityManager, times(1)).requestNetwork(networkRequestCaptor.capture(), in verifyWifiConfigurationForOsuNetwork() 348 verify(mConnectivityManager, times(1)).requestNetwork(networkRequestCaptor.capture(), in verifyWifiConfigurationForOsenOsuNetwork()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkProviderTest.kt | 148 mCm.requestNetwork(nr, cb) in <lambda>() 265 mCm.requestNetwork(nrNoNotVcn, cb1) in <lambda>() 286 mCm.requestNetwork(nrNotVcn, cb2) in <lambda>() 393 mCm.requestNetwork(nr, cb) in <lambda>()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VvmNetworkRequestCallback.java | 135 public void requestNetwork() { in requestNetwork() method in VvmNetworkRequestCallback 141 getConnectivityManager().requestNetwork(getNetworkRequest(), this); in requestNetwork()
|
D | VvmNetworkRequest.java | 78 callback.requestNetwork(); in getNetwork()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TestConnectivityManager.java | 200 public void requestNetwork(NetworkRequest req, NetworkCallback cb, Handler h) { in requestNetwork() method in TestConnectivityManager 223 public void requestNetwork(NetworkRequest req, NetworkCallback cb) { in requestNetwork() method in TestConnectivityManager 228 public void requestNetwork(NetworkRequest req, in requestNetwork() method in TestConnectivityManager
|
D | UpstreamNetworkMonitorTest.java | 180 verify(mCM).requestNetwork( in testCallbacksRegistered() 232 verify(mCM, times(1)).requestNetwork( in testDuplicateMobileRequestsIgnored()
|
D | TetheringTest.java | 781 verify(mCm, times(1)).requestNetwork(reqCaptor.capture(), in verifyDefaultNetworkRequestFiled() 1269 inOrder.verify(mCm).requestNetwork(any(), eq(0), eq(TYPE_MOBILE_DUN), any(), any()); in testChooseDunUpstreamByAutomaticMode() 1308 inOrder.verify(mCm, never()).requestNetwork(any(), eq(0), eq(TYPE_MOBILE_DUN), any(), in testChooseDunUpstreamByLegacyMode() 1325 inOrder.verify(mCm, never()).requestNetwork(any(), eq(0), eq(TYPE_MOBILE_DUN), any(), in testChooseDunUpstreamByLegacyMode() 1344 inOrder.verify(mCm).requestNetwork(any(), eq(0), eq(TYPE_MOBILE_DUN), any(), in chooseDunUpstreamTestCommon()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkAgentTest.kt | 362 private fun requestNetwork(request: NetworkRequest, callback: TestableNetworkCallback) { in requestNetwork() method 363 mCM.requestNetwork(request, callback) in requestNetwork() 435 requestNetwork(makeTestNetworkRequest(specifier = specifier), callback) in createConnectedNetworkAgent() 620 requestNetwork(makeTestNetworkRequest(), callback) in testSendScore() 849 requestNetwork(makeTestNetworkRequest(), commonCallback) in testSetLingerDuration() 1027 requestNetwork(request, callback) in setupForQosCallbackTesting()
|
D | ConnectivityDiagnosticsManagerTest.java | 165 mConnectivityManager.requestNetwork(TEST_NETWORK_REQUEST, mTestNetworkCallback); in setUp() 269 () -> mConnectivityManager.requestNetwork( in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable()
|
D | ConnectivityManagerTest.java | 895 mCm.requestNetwork(firstRequest, firstIntent); in runIdenticalPendingIntentsRequestTest() 909 mCm.requestNetwork(secondRequest, secondIntent); in runIdenticalPendingIntentsRequestTest() 984 mCm.requestNetwork(new NetworkRequest.Builder() in testRequestNetworkCallback() 1013 mCm.requestNetwork(new NetworkRequest.Builder() in testRequestNetworkCallback_onUnavailable() 1060 mCm.requestNetwork(request, callback); in testRestrictedNetworks() 1066 mCm.requestNetwork(request, callback); in testRestrictedNetworks() 2533 mCm.requestNetwork(makeWifiNetworkRequest(), cb);
|
D | CaptivePortalTest.kt | 174 cm.requestNetwork(NetworkRequest.Builder().addTransportType(TRANSPORT_WIFI).build(), wifiCb) in testCaptivePortalIsNotDefaultNetwork()
|
D | NetworkValidationTest.kt | 118 cm.requestNetwork(ethRequest, ethRequestCb) in setUp()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 2061 mCm.requestNetwork(legacyRequest, callback); in testNetworkFeature() 2143 mCm.requestNetwork(wifiRequest, wifiCallback); in testNewNetworkInactive() 2156 mCm.requestNetwork(wifiRequest, wifiCallback); in testNewNetworkInactive() 2884 mCm.requestNetwork(cellRequest, noopCallback); in testMultipleLingering() 2900 mCm.requestNetwork(cellRequest, noopCallback); in testMultipleLingering() 2990 mCm.requestNetwork(cellRequest, noopCallback); in testNetworkGoesIntoBackgroundAfterLinger() 3079 mCm.requestNetwork(request, callback); in testNetworkAgentCallbacks() 3236 mCm.requestNetwork(request, networkCallback); in tryNetworkFactoryRequests() 3259 mCm.requestNetwork(new NetworkRequest.Builder().addCapability(capability).build(), cb); in tryNetworkFactoryRequests() 3292 mCm.requestNetwork(builder.build(), networkCallbacks[i]); in tryNetworkFactoryRequests() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 3948 request = mService.requestNetwork( in sendRequestForNetwork() 3991 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 4081 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 4083 requestNetwork(request, networkCallback, getDefaultHandler()); in requestNetwork() 4101 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 4135 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 4162 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 4244 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager
|
D | IConnectivityManager.aidl | 146 NetworkRequest requestNetwork(int uid, in NetworkCapabilities networkCapabilities, int reqType, in requestNetwork() method
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | TestNetworkUtils.java | 79 connMgr.requestNetwork(nr, cb); in setupAndGetTestNetwork()
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | ConnectivityManagerShimImpl.java | 89 mCm.requestNetwork(defaultNetworkRequest, networkCallback, handler); in registerSystemDefaultNetworkCallback()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 101 …method public void requestNetwork(@NonNull android.net.NetworkRequest, @NonNull android.net.Connec… 102 …method public void requestNetwork(@NonNull android.net.NetworkRequest, @NonNull android.net.Connec… 103 …method public void requestNetwork(@NonNull android.net.NetworkRequest, @NonNull android.net.Connec… 104 …method public void requestNetwork(@NonNull android.net.NetworkRequest, @NonNull android.net.Connec… 105 …method public void requestNetwork(@NonNull android.net.NetworkRequest, @NonNull android.app.Pendin…
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiShellCommandTest.java | 582 verify(mConnectivityManager).requestNetwork(argThat(nR -> { in testAddSuggestionWithUntrusted() 617 verify(mConnectivityManager).requestNetwork(argThat(nR -> { in testAddSuggestionWithOemPaid() 652 verify(mConnectivityManager).requestNetwork(argThat(nR -> { in testAddSuggestionWithOemPrivate()
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsNetUtils.java | 152 mCm.requestNetwork(nr, cb); in setupAndGetTestNetwork() 461 mCm.requestNetwork(cellRequest, mCellNetworkCallback); in connectToCell()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 315 connectivityManager.requestNetwork( in startNewNetworkRequestLocked()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/ |
D | FetchVoicemailReceiver.java | 143 networkCallback.requestNetwork(); in onReceive()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 216 mConnectivityManager.requestNetwork(networkRequest, mConnectivityCallbacks, mHandler, in connect()
|