Home
last modified time | relevance | path

Searched refs:requestNetwork (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/tests/net/java/android/net/
DConnectivityManagerTest.java216 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/
DApnContextTest.java119 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()
DTelephonyNetworkFactoryTest.java155 }).when(mDcTracker).requestNetwork(any(), anyInt(), any()); in setUp()
DDcTrackerTest.java1165 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/
DOsuNetworkConnectionTest.java219 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/
DNetworkProviderTest.kt107 mCm.requestNetwork(nr, cb) in <lambda>()
182 mCm.requestNetwork(nr, cb) in <lambda>()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestNetworkTracker.kt78 cm.requestNetwork(networkRequest, networkCallback)
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java168 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/
DConnectivityServiceTest.java1451 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/
DUpstreamNetworkMonitor.java159 cm().requestNetwork(defaultNetworkRequest, mDefaultNetworkCallback, mHandler); in startTrackDefaultNetwork()
246 cm().requestNetwork(mobileUpstreamRequest, 0, legacyType, mHandler, in registerMobileNetworkRequest()
/frameworks/base/core/java/android/net/
DConnectivityManager.java3727 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
DIConnectivityManager.aidl172 NetworkRequest requestNetwork(in NetworkCapabilities networkCapabilities, in requestNetwork() method
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java213 mConnectivityManager.requestNetwork(networkRequest, mConnectivityCallbacks, mHandler, in connect()
/frameworks/base/core/proto/android/net/
Dnetworkrequest.proto37 // (requestNetwork, registerNetworkCallback, etc.).
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java284 mConnectivityManager.requestNetwork(mNetworkRequest, mNetworkCallback, mHandler);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java219 mPhone.getDcTracker(transport).requestNetwork(networkRequest, requestType, in requestNetworkInternal()
DApnContext.java415 public void requestNetwork(NetworkRequest networkRequest, @RequestNetworkType int type, in requestNetwork() method in ApnContext
DDcTracker.java893 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/
DCaptivePortalLoginActivity.java320 mCm.requestNetwork(request, mNetworkCallback, NETWORK_REQUEST_TIMEOUT_MS); in requestNetworkForCaptivePortal()
/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java471 mConnMgr.requestNetwork(
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellularNetworkValidatorTest.java473 verify(mConnectivityManager).requestNetwork( in assertInValidation()
/frameworks/base/api/
Dlint-baseline.txt811 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/
DConnectivityService.java5279 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/
DVpn.java2250 cm.requestNetwork(req, mNetworkCallback);
/frameworks/base/config/
Dboot-image-profile.txt9964 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…

12