Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java451 mCm.registerNetworkCallback(request, callback); in connect()
1408 mCm.registerNetworkCallback(genericRequest, genericNetworkCallback); in testStateChangeNetworkCallbacks()
1409 mCm.registerNetworkCallback(wifiRequest, wifiNetworkCallback); in testStateChangeNetworkCallbacks()
1410 mCm.registerNetworkCallback(cellRequest, cellNetworkCallback); in testStateChangeNetworkCallbacks()
1493 mCm.registerNetworkCallback(request, callback); in testMultipleLingering()
1581 mCm.registerNetworkCallback(request, callback); in testMultipleLingering()
1721 mCm.registerNetworkCallback(request, callback); in testExplicitlySelected()
1992 mCm.registerNetworkCallback(captivePortalRequest, captivePortalCallback); in testCaptivePortal()
1997 mCm.registerNetworkCallback(validatedRequest, validatedCallback); in testCaptivePortal()
2043 mCm.registerNetworkCallback(captivePortalRequest, captivePortalCallback); in testCaptivePortalApp()
[all …]
/frameworks/base/tests/net/java/android/net/
DConnectivityManagerTest.java314 mustFail(() -> { manager.registerNetworkCallback(null, callback, handler); }); in testArgumentValidation()
315 mustFail(() -> { manager.registerNetworkCallback(request, null, handler); }); in testArgumentValidation()
316 mustFail(() -> { manager.registerNetworkCallback(request, callback, null); }); in testArgumentValidation()
317 mustFail(() -> { manager.registerNetworkCallback(request, nullIntent); }); in testArgumentValidation()
/frameworks/base/core/java/com/android/server/net/
DNetworkPinner.java123 sCM.registerNetworkCallback(request, sCallback); in pin()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java178 verify(mCM, Mockito.times(1)).registerNetworkCallback( in testDuplicateMobileRequestsIgnored()
503 public void registerNetworkCallback(NetworkRequest req, NetworkCallback cb, Handler h) { in registerNetworkCallback() method in UpstreamNetworkMonitorTest.TestConnectivityManager
511 public void registerNetworkCallback(NetworkRequest req, NetworkCallback cb) { in registerNetworkCallback() method in UpstreamNetworkMonitorTest.TestConnectivityManager
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java364 verify(mConnectivityManager, times(1)).registerNetworkCallback( in workingLocalOnlyHotspotEnrichedApBroadcast()
463 verify(mConnectivityManager, times(1)).registerNetworkCallback( in workingWifiTetheringEnrichedApBroadcast()
/frameworks/base/core/java/android/net/
DConnectivityManager.java3232 public void registerNetworkCallback(NetworkRequest request, NetworkCallback networkCallback) { in registerNetworkCallback() method in ConnectivityManager
3233 registerNetworkCallback(request, networkCallback, getDefaultHandler()); in registerNetworkCallback()
3247 public void registerNetworkCallback( in registerNetworkCallback() method in ConnectivityManager
3284 public void registerNetworkCallback(NetworkRequest request, PendingIntent operation) { in registerNetworkCallback() method in ConnectivityManager
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitor.java125 cm().registerNetworkCallback(listenAllRequest, mListenAllCallback, mHandler); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java117 mConnectivityManager.registerNetworkCallback(REQUEST, mNetworkCallback); in SecurityControllerImpl()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java137 mCm.registerNetworkCallback(builder.build(), mNetworkCallback); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java329 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback); in startTracking()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java2332 mConnMgr.registerNetworkCallback(networkRequest, mNetworkConnectivityCallback);
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java793 mContext.getSystemService(ConnectivityManager.class).registerNetworkCallback( in initService()
/frameworks/base/api/
Dcurrent.txt25486 …method public void registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityMan…
25487 …method public void registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityMan…
25488 … method public void registerNetworkCallback(android.net.NetworkRequest, android.app.PendingIntent);
Dtest-current.txt25642 …method public void registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityMan…
25643 …method public void registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityMan…
25644 … method public void registerNetworkCallback(android.net.NetworkRequest, android.app.PendingIntent);
Dsystem-current.txt27705 …method public void registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityMan…
27706 …method public void registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityMan…
27707 … method public void registerNetworkCallback(android.net.NetworkRequest, android.app.PendingIntent);
/frameworks/base/config/
Dboot-image-profile.txt27086 HSPLandroid/net/ConnectivityManager;->registerNetworkCallback(Landroid/net/NetworkRequest;Landroid/…
27087 HSPLandroid/net/ConnectivityManager;->registerNetworkCallback(Landroid/net/NetworkRequest;Landroid/…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16926 …method public void registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityMan…