/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/ |
D | ConnectivityManagerShimImpl.java | 63 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) { in requestBackgroundNetwork() argument 64 mCm.requestBackgroundNetwork(request, networkCallback, handler); in requestBackgroundNetwork() 72 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) { in registerSystemDefaultNetworkCallback() 73 mCm.registerSystemDefaultNetworkCallback(networkCallback, handler); in registerSystemDefaultNetworkCallback() 81 int uid, @NonNull NetworkCallback networkCallback, @NonNull Handler handler) { in registerDefaultNetworkCallbackForUid() argument 82 mCm.registerDefaultNetworkCallbackForUid(uid, networkCallback, handler); in registerDefaultNetworkCallbackForUid()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 1763 NetworkCallback networkCallback = new NetworkCallback() { field in ConnectivityManager.LegacyRequest 1821 netCap, l.networkCallback, 0, REQUEST, type, getDefaultHandler()); in requestNetworkForFeatureLocked() 1844 unregisterNetworkCallback(l.networkCallback); in removeRequestForFeature() 3993 @NonNull NetworkCallback networkCallback) { in requestNetwork() argument 3999 sendRequestForNetwork(nc, networkCallback, timeoutMs, REQUEST, legacyType, cbHandler); in requestNetwork() 4082 @NonNull NetworkCallback networkCallback) { in requestNetwork() argument 4083 requestNetwork(request, networkCallback, getDefaultHandler()); in requestNetwork() 4102 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) { in requestNetwork() argument 4105 sendRequestForNetwork(nc, networkCallback, 0, REQUEST, TYPE_NONE, cbHandler); in requestNetwork() 4136 @NonNull NetworkCallback networkCallback, int timeoutMs) { in requestNetwork() argument [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/ |
D | FetchVoicemailReceiver.java | 69 private VvmNetworkRequestCallback networkCallback; field in FetchVoicemailReceiver 142 networkCallback = new fetchVoicemailNetworkRequestCallback(context, phoneAccount); in onReceive() 143 networkCallback.requestNetwork(); in onReceive() 225 if (networkCallback != null) { in fetchVoicemail() 226 networkCallback.releaseNetwork(); in fetchVoicemail()
|
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/ |
D | ConnectivityManagerShim.java | 40 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in requestBackgroundNetwork() argument 45 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in registerSystemDefaultNetworkCallback() 50 int uid, @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in registerDefaultNetworkCallbackForUid() argument
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | ConnectivityManagerShimImpl.java | 62 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in requestBackgroundNetwork() argument 74 public void registerSystemDefaultNetworkCallback(@NonNull NetworkCallback networkCallback, in registerSystemDefaultNetworkCallback() argument 89 mCm.requestNetwork(defaultNetworkRequest, networkCallback, handler); in registerSystemDefaultNetworkCallback()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 3228 final NetworkCallback networkCallback; in tryNetworkFactoryRequests() local 3235 networkCallback = new NetworkCallback(); in tryNetworkFactoryRequests() 3236 mCm.requestNetwork(request, networkCallback); in tryNetworkFactoryRequests() 3238 networkCallback = null; in tryNetworkFactoryRequests() 3320 if (networkCallback != null) mCm.unregisterNetworkCallback(networkCallback); in tryNetworkFactoryRequests() 3455 final TestNetworkCallback networkCallback = new TestNetworkCallback(); in testMMSonWiFi() local 3456 mCm.requestNetwork(builder.build(), networkCallback); in testMMSonWiFi() local 3462 networkCallback.expectAvailableCallbacksUnvalidated(mCellNetworkAgent); in testMMSonWiFi() 3466 mCm.unregisterNetworkCallback(networkCallback); in testMMSonWiFi() 3483 final TestNetworkCallback networkCallback = new TestNetworkCallback(); in testMMSonCell() local [all …]
|
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | ConnectivityManagerShimImpl.java | 47 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in requestBackgroundNetwork() argument 58 public void registerSystemDefaultNetworkCallback(@NonNull NetworkCallback networkCallback, in registerSystemDefaultNetworkCallback() argument
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 241 ArgumentCaptor<ConnectivityManager.NetworkCallback> networkCallback = in testGetMultipathPreference() local 244 verify(mCM).registerNetworkCallback(any(), networkCallback.capture(), any()); in testGetMultipathPreference() 254 networkCallback.getValue().onCapabilitiesChanged( in testGetMultipathPreference() 267 networkCallback.getValue().onCapabilitiesChanged( in testGetMultipathPreference()
|
D | IpConnectivityMetricsTest.java | 591 final ArgumentCaptor<ConnectivityManager.NetworkCallback> networkCallback = in setCapabilities() local 593 verify(mCm).registerNetworkCallback(any(), networkCallback.capture()); in setCapabilities() 594 networkCallback.getValue().onCapabilitiesChanged(new Network(netId), in setCapabilities()
|
D | NetdEventListenerServiceTest.java | 476 final ArgumentCaptor<ConnectivityManager.NetworkCallback> networkCallback = in setCapabilities() local 478 verify(mCm).registerNetworkCallback(any(), networkCallback.capture()); in setCapabilities() 479 networkCallback.getValue().onCapabilitiesChanged(new Network(netId), in setCapabilities()
|
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 430 final TestNetworkCallback networkCallback = new TestNetworkCallback(); in testTetheringUpstream() local 433 mCm.registerDefaultNetworkCallback(networkCallback); in testTetheringUpstream() 434 activeNetwork = networkCallback.waitForAvailable(); in testTetheringUpstream() 436 mCm.unregisterNetworkCallback(networkCallback); in testTetheringUpstream()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | IpSecManagerTunnelTest.java | 173 public final TestNetworkCallback networkCallback; field in IpSecManagerTunnelTest.TunNetworkWrapper 192 networkCallback = mCtsNetUtils.setupAndGetTestNetwork(testIface.getInterfaceName()); in TunNetworkWrapper() 193 networkCallback.waitForAvailable(); in TunNetworkWrapper() 194 network = networkCallback.currentNetwork; in TunNetworkWrapper() 204 if (networkCallback != null) { in tearDown() 205 sCM.unregisterNetworkCallback(networkCallback); in tearDown()
|
D | ConnectivityManagerTest.java | 1109 final NetworkCallback networkCallback = new NetworkCallback() { in waitForActiveNetworkMetered() local 1127 mCmShim.registerSystemDefaultNetworkCallback(networkCallback, in waitForActiveNetworkMetered() 1131 mCm.registerDefaultNetworkCallback(networkCallback); in waitForActiveNetworkMetered() 1141 mCm.unregisterNetworkCallback(networkCallback); in waitForActiveNetworkMetered()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | NetworkPolicyTestUtils.java | 300 final NetworkCallback networkCallback = new NetworkCallback() { 312 getConnectivityManager().registerDefaultNetworkCallback(networkCallback); 326 getConnectivityManager().unregisterNetworkCallback(networkCallback);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 728 ConnectivityManager.NetworkCallback networkCallback = in onCommand() local 731 mConnectivityManager.requestNetwork(networkRequest, networkCallback); in onCommand() 733 suggestion.getSsid(), Pair.create(networkRequest, networkCallback)); in onCommand() 791 ConnectivityManager.NetworkCallback networkCallback = in onCommand() local 794 mConnectivityManager.requestNetwork(networkRequest, networkCallback); in onCommand() 796 sActiveRequests.put(ssid, Pair.create(networkRequest, networkCallback)); in onCommand()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 5828 IkeNetworkCallbackBase networkCallback = networkCallbackCaptor.getValue(); in verifyMobikeEnabled() local 5833 assertTrue(expectedCallbackType.isInstance(networkCallback)); in verifyMobikeEnabled() 5837 return networkCallback; in verifyMobikeEnabled() 6000 IkeNetworkCallbackBase networkCallback) in verifyNetworkAndLocalAddressUpdated() argument 6014 assertEquals(underlyingNetwork, networkCallback.getNetwork()); in verifyNetworkAndLocalAddressUpdated() 6015 assertEquals(localAddress, networkCallback.getAddress()); in verifyNetworkAndLocalAddressUpdated()
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 16 Landroid/net/ConnectivityManager$LegacyRequest;->networkCallback:Landroid/net/ConnectivityManager$N…
|