/frameworks/base/tests/net/java/android/net/ |
D | ConnectivityManagerTest.java | 216 when(mService.requestNetwork( in testCallbackRelease() 219 manager.requestNetwork(request, callback, handler); in testCallbackRelease() 245 when(mService.requestNetwork( in testCallbackRecycling() 248 manager.requestNetwork(req1, callback, handler); in testCallbackRecycling() 264 when(mService.requestNetwork( in testCallbackRecycling() 267 manager.requestNetwork(req2, callback, handler); in testCallbackRecycling() 289 when(mService.requestNetwork(any(), any(), anyInt(), any(), anyInt(), any(), in noDoubleCallbackRegistration() 293 manager.requestNetwork(request, callback, handler); in noDoubleCallbackRegistration() 297 expectThrowable(() -> manager.requestNetwork(request, callback), wantException); in noDoubleCallbackRegistration() 303 manager.requestNetwork(request, callback); in noDoubleCallbackRegistration() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnContextTest.java | 119 mApnContext.requestNetwork(nr1, DcTracker.REQUEST_TYPE_NORMAL, null); in testNetworkRequestNormal() 130 mApnContext.requestNetwork(nr2, DcTracker.REQUEST_TYPE_NORMAL, null); in testNetworkRequestNormal() 147 mApnContext.requestNetwork(nr1, DcTracker.REQUEST_TYPE_NORMAL, null); in testNetworkRequestDetach() 157 mApnContext.requestNetwork(nr2, DcTracker.REQUEST_TYPE_NORMAL, null); in testNetworkRequestDetach() 174 mApnContext.requestNetwork(nr1, DcTracker.REQUEST_TYPE_HANDOVER, null); in testNetworkRequestHandover()
|
D | TelephonyNetworkFactoryTest.java | 155 }).when(mDcTracker).requestNetwork(any(), anyInt(), any()); in setUp()
|
D | DcTrackerTest.java | 1165 mDct.requestNetwork(nr, DcTracker.REQUEST_TYPE_NORMAL, null); in testTrySetupRestrictedDataDisabled() 1193 mDct.requestNetwork(nr, DcTracker.REQUEST_TYPE_NORMAL, null); in testTrySetupRestrictedRoamingDisabled()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 219 verify(mConnectivityManager).requestNetwork(any(NetworkRequest.class), in verifyNetworkCallbackInvokedWhenConnected() 249 verify(mConnectivityManager).requestNetwork(any(NetworkRequest.class), in verifyNetworkCallbackWithoutOnAvailable() 272 verify(mConnectivityManager).requestNetwork(any(NetworkRequest.class), in verifyNetworkConnectionTimeout() 325 verify(mConnectivityManager, times(1)).requestNetwork(networkRequestCaptor.capture(), in verifyWifiConfigurationForOsuNetwork()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkProviderTest.kt | 107 mCm.requestNetwork(nr, cb) in <lambda>() 182 mCm.requestNetwork(nr, cb) in <lambda>()
|
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | TestNetworkTracker.kt | 78 cm.requestNetwork(networkRequest, networkCallback)
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitorTest.java | 168 verify(mCM, times(1)).requestNetwork( in testCallbacksRegistered() 214 verify(mCM, times(1)).requestNetwork( in testDuplicateMobileRequestsIgnored() 634 public void requestNetwork(NetworkRequest req, NetworkCallback cb, Handler h) { in requestNetwork() method in UpstreamNetworkMonitorTest.TestConnectivityManager 647 public void requestNetwork(NetworkRequest req, NetworkCallback cb) { in requestNetwork() method in UpstreamNetworkMonitorTest.TestConnectivityManager 652 public void requestNetwork(NetworkRequest req, in requestNetwork() method in UpstreamNetworkMonitorTest.TestConnectivityManager
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1451 mCm.requestNetwork(legacyRequest, callback); in testNetworkFeature() 2114 mCm.requestNetwork(cellRequest, noopCallback); in testMultipleLingering() 2130 mCm.requestNetwork(cellRequest, noopCallback); in testMultipleLingering() 2215 mCm.requestNetwork(cellRequest, noopCallback); in testNetworkGoesIntoBackgroundAfterLinger() 2365 mCm.requestNetwork(request, networkCallback); in tryNetworkFactoryRequests() 2400 mCm.requestNetwork(builder.build(), networkCallbacks[i]); in tryNetworkFactoryRequests() 2491 assertThrows(expected, () -> mCm.requestNetwork(request1, new NetworkCallback())); in testNoMutableNetworkRequests() 2492 assertThrows(expected, () -> mCm.requestNetwork(request1, pendingIntent)); in testNoMutableNetworkRequests() 2493 assertThrows(expected, () -> mCm.requestNetwork(request2, new NetworkCallback())); in testNoMutableNetworkRequests() 2494 assertThrows(expected, () -> mCm.requestNetwork(request2, pendingIntent)); in testNoMutableNetworkRequests() [all …]
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitor.java | 159 cm().requestNetwork(defaultNetworkRequest, mDefaultNetworkCallback, mHandler); in startTrackDefaultNetwork() 246 cm().requestNetwork(mobileUpstreamRequest, 0, legacyType, mHandler, in registerMobileNetworkRequest()
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 3727 request = mService.requestNetwork( in sendRequestForNetwork() 3764 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 3854 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 3856 requestNetwork(request, networkCallback, getDefaultHandler()); in requestNetwork() 3874 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 3908 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 3935 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager 4017 public void requestNetwork(@NonNull NetworkRequest request, in requestNetwork() method in ConnectivityManager
|
D | IConnectivityManager.aidl | 172 NetworkRequest requestNetwork(in NetworkCapabilities networkCapabilities, in requestNetwork() method
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 213 mConnectivityManager.requestNetwork(networkRequest, mConnectivityCallbacks, mHandler, in connect()
|
/frameworks/base/core/proto/android/net/ |
D | networkrequest.proto | 37 // (requestNetwork, registerNetworkCallback, etc.).
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellularNetworkValidator.java | 284 mConnectivityManager.requestNetwork(mNetworkRequest, mNetworkCallback, mHandler);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactory.java | 219 mPhone.getDcTracker(transport).requestNetwork(networkRequest, requestType, in requestNetworkInternal()
|
D | ApnContext.java | 415 public void requestNetwork(NetworkRequest networkRequest, @RequestNetworkType int type, in requestNetwork() method in ApnContext
|
D | DcTracker.java | 893 public void requestNetwork(NetworkRequest networkRequest, @RequestNetworkType int type, in requestNetwork() method in DcTracker 898 apnContext.requestNetwork(networkRequest, type, onCompleteMsg); in requestNetwork()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 320 mCm.requestNetwork(request, mNetworkCallback, NETWORK_REQUEST_TIMEOUT_MS); in requestNetworkForCaptivePortal()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssNetworkConnectivityHandler.java | 471 mConnMgr.requestNetwork(
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellularNetworkValidatorTest.java | 473 verify(mConnectivityManager).requestNetwork( in assertInValidation()
|
/frameworks/base/api/ |
D | lint-baseline.txt | 811 RequiresPermission: android.net.ConnectivityManager#requestNetwork(android.net.NetworkRequest, andr… 813 RequiresPermission: android.net.ConnectivityManager#requestNetwork(android.net.NetworkRequest, andr…
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 5279 void requestNetwork(NetworkRequest request, int score, int servingProviderId) { in requestNetwork() method in ConnectivityService.NetworkProviderInfo 5491 public NetworkRequest requestNetwork(NetworkCapabilities networkCapabilities, in requestNetwork() method in ConnectivityService 6512 npi.requestNetwork(networkRequest, score, serial); in sendUpdatedScoreToFactories() 6531 npi.requestNetwork(nri.request, score, serial); in sendAllRequestsToProvider()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 2250 cm.requestNetwork(req, mNetworkCallback);
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 9964 HSPLandroid/net/ConnectivityManager;->requestNetwork(Landroid/net/NetworkRequest;Landroid/net/Conne… 9965 HSPLandroid/net/ConnectivityManager;->requestNetwork(Landroid/net/NetworkRequest;Landroid/net/Conne… 9966 HSPLandroid/net/ConnectivityManager;->requestNetwork(Landroid/net/NetworkRequest;Landroid/net/Conne… 9967 HSPLandroid/net/ConnectivityManager;->requestNetwork(Landroid/net/NetworkRequest;Landroid/net/Conne… 10009 HSPLandroid/net/IConnectivityManager$Stub$Proxy;->requestNetwork(Landroid/net/NetworkCapabilities;L… 23114 HSPLcom/android/internal/telephony/dataconnection/ApnContext;->requestNetwork(Landroid/net/NetworkR… 23333 HSPLcom/android/internal/telephony/dataconnection/DcTracker;->requestNetwork(Landroid/net/NetworkRe… 42930 HSPLcom/android/internal/telephony/dataconnection/ApnContext;->requestNetwork(Landroid/net/NetworkR… 42961 HSPLcom/android/internal/telephony/dataconnection/DcTracker;->requestNetwork(Landroid/net/NetworkRe…
|