Searched refs:networkCallback (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 1584 NetworkCallback networkCallback = new NetworkCallback() { field in ConnectivityManager.LegacyRequest 1642 netCap, l.networkCallback, 0, REQUEST, type, getDefaultHandler()); in requestNetworkForFeatureLocked() 1665 unregisterNetworkCallback(l.networkCallback); in removeRequestForFeature() 3726 @NonNull NetworkCallback networkCallback) { in requestNetwork() argument 3732 sendRequestForNetwork(nc, networkCallback, timeoutMs, REQUEST, legacyType, cbHandler); in requestNetwork() 3815 @NonNull NetworkCallback networkCallback) { in requestNetwork() argument 3816 requestNetwork(request, networkCallback, getDefaultHandler()); in requestNetwork() 3835 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) { in requestNetwork() argument 3838 sendRequestForNetwork(nc, networkCallback, 0, REQUEST, TYPE_NONE, cbHandler); in requestNetwork() 3869 @NonNull NetworkCallback networkCallback, int timeoutMs) { in requestNetwork() argument [all …]
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 2357 NetworkCallback networkCallback = null; in tryNetworkFactoryRequests() local 2363 networkCallback = new NetworkCallback(); in tryNetworkFactoryRequests() 2365 mCm.requestNetwork(request, networkCallback); in tryNetworkFactoryRequests() 2424 if (networkCallback != null) mCm.unregisterNetworkCallback(networkCallback); in tryNetworkFactoryRequests() 2518 final TestNetworkCallback networkCallback = new TestNetworkCallback(); in testMMSonWiFi() local 2519 mCm.requestNetwork(builder.build(), networkCallback); in testMMSonWiFi() local 2525 networkCallback.expectAvailableCallbacksUnvalidated(mCellNetworkAgent); in testMMSonWiFi() 2529 mCm.unregisterNetworkCallback(networkCallback); in testMMSonWiFi() 2546 final TestNetworkCallback networkCallback = new TestNetworkCallback(); in testMMSonCell() local 2547 mCm.requestNetwork(builder.build(), networkCallback); in testMMSonCell() local [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 227 ArgumentCaptor<ConnectivityManager.NetworkCallback> networkCallback = in testGetMultipathPreference() local 230 verify(mCM).registerNetworkCallback(any(), networkCallback.capture(), any()); in testGetMultipathPreference() 240 networkCallback.getValue().onCapabilitiesChanged( in testGetMultipathPreference() 253 networkCallback.getValue().onCapabilitiesChanged( in testGetMultipathPreference()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 555 ConnectivityManager.NetworkCallback networkCallback = in onCommand() local 558 mConnectivityManager.requestNetwork(networkRequest, networkCallback); in onCommand() 560 sActiveRequests.put(ssid, Pair.create(networkRequest, networkCallback)); in onCommand()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |