/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 217 ArgumentCaptor<ConnectivityManager.NetworkCallback> networkCallbackCaptor = in verifyNetworkCallbackInvokedWhenConnected() 218 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class); in verifyNetworkCallbackInvokedWhenConnected() 221 ConnectivityManager.NetworkCallback callback = networkCallbackCaptor.getValue(); in verifyNetworkCallbackInvokedWhenConnected() 232 .NetworkCallback.class)); in verifyNetworkCallbackInvokedWhenConnected() 247 ArgumentCaptor<ConnectivityManager.NetworkCallback> networkCallbackCaptor = in verifyNetworkCallbackWithoutOnAvailable() 248 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class); in verifyNetworkCallbackWithoutOnAvailable() 251 ConnectivityManager.NetworkCallback callback = networkCallbackCaptor.getValue(); in verifyNetworkCallbackWithoutOnAvailable() 270 ArgumentCaptor<ConnectivityManager.NetworkCallback> networkCallbackCaptor = in verifyNetworkConnectionTimeout() 271 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class); in verifyNetworkConnectionTimeout() 274 ConnectivityManager.NetworkCallback callback = networkCallbackCaptor.getValue(); in verifyNetworkConnectionTimeout() [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitorTest.java | 45 import android.net.ConnectivityManager.NetworkCallback; 169 eq(mDefaultRequest), any(NetworkCallback.class), any(Handler.class)); in testCallbacksRegistered() 172 any(NetworkRequest.class), any(NetworkCallback.class), any(Handler.class)); in testCallbacksRegistered() 175 verify(mCM, times(1)).unregisterNetworkCallback(any(NetworkCallback.class)); in testCallbacksRegistered() 208 any(NetworkRequest.class), any(NetworkCallback.class), any(Handler.class)); in testDuplicateMobileRequestsIgnored() 215 any(NetworkRequest.class), any(NetworkCallback.class), anyInt(), anyInt(), in testDuplicateMobileRequestsIgnored() 232 verify(mCM, times(2)).unregisterNetworkCallback(any(NetworkCallback.class)); in testDuplicateMobileRequestsIgnored() 560 public Map<NetworkCallback, Handler> allCallbacks = new HashMap<>(); 561 public Set<NetworkCallback> trackingDefault = new HashSet<>(); 563 public Map<NetworkCallback, NetworkRequest> listening = new HashMap<>(); [all …]
|
/frameworks/base/tests/net/java/android/net/ |
D | ConnectivityManagerTest.java | 52 import android.net.ConnectivityManager.NetworkCallback; 210 NetworkCallback callback = mock(ConnectivityManager.NetworkCallback.class); in testCallbackRelease() 238 NetworkCallback callback = mock(ConnectivityManager.NetworkCallback.class); in testCallbackRecycling() 279 NetworkCallback callback = new ConnectivityManager.NetworkCallback(); in noDoubleCallbackRegistration() 306 NetworkCallback callback = mock(NetworkCallback.class); in testArgumentValidation() 308 NetworkCallback nullCallback = null; in testArgumentValidation()
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetworkPinner.java | 21 import android.net.ConnectivityManager.NetworkCallback; 60 public class NetworkPinner extends NetworkCallback { 88 private static class Callback extends NetworkCallback {
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssNetworkConnectivityHandler.java | 151 private ConnectivityManager.NetworkCallback mNetworkConnectivityCallback; 158 private ConnectivityManager.NetworkCallback mSuplConnectivityCallback; 226 private ConnectivityManager.NetworkCallback createNetworkConnectivityCallback() { in createNetworkConnectivityCallback() 227 return new ConnectivityManager.NetworkCallback() { in createNetworkConnectivityCallback() 278 private ConnectivityManager.NetworkCallback createSuplConnectivityCallback() { in createSuplConnectivityCallback() 279 return new ConnectivityManager.NetworkCallback() { in createSuplConnectivityCallback()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitor.java | 29 import android.net.ConnectivityManager.NetworkCallback; 97 private NetworkCallback mListenAllCallback; 98 private NetworkCallback mDefaultNetworkCallback; 99 private NetworkCallback mMobileNetworkCallback; 404 private class UpstreamNetworkCallback extends NetworkCallback { 477 private void releaseCallback(NetworkCallback cb) { in releaseCallback()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 39 public class WifiStatusTracker extends ConnectivityManager.NetworkCallback { 58 private final ConnectivityManager.NetworkCallback mNetworkCallback = new ConnectivityManager 59 .NetworkCallback() {
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 1617 NetworkCallback networkCallback = new NetworkCallback() { 3221 public static class NetworkCallback { class in ConnectivityManager 3449 final NetworkCallback callback; in handleMessage() 3528 private static final HashMap<NetworkRequest, NetworkCallback> sCallbacks = new HashMap<>(); 3534 private NetworkRequest sendRequestForNetwork(NetworkCapabilities need, NetworkCallback callback, in sendRequestForNetwork() 3581 @NonNull NetworkCallback networkCallback, int timeoutMs, int legacyType, in requestNetwork() 3621 @NonNull NetworkCallback networkCallback) { in requestNetwork() 3658 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) { in requestNetwork() 3696 @NonNull NetworkCallback networkCallback, int timeoutMs) { in requestNetwork() 3733 @NonNull NetworkCallback networkCallback, @NonNull Handler handler, int timeoutMs) { in requestNetwork() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 37 import android.net.ConnectivityManager.NetworkCallback; 194 ), any(NetworkCallback.class)); in testNetworkRequest()
|
D | NetworkControllerBaseTest.java | 102 private ConnectivityManager.NetworkCallback mNetworkCallback; 173 ArgumentCaptor<ConnectivityManager.NetworkCallback> callbackArg = in setupNetworkController() 174 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class); in setupNetworkController()
|
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/ |
D | OsuLoginActivity.java | 61 private ConnectivityManager.NetworkCallback mNetworkCallback; 139 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in onCreate()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 28 import android.net.ConnectivityManager.NetworkCallback; 80 private NetworkCallback mNetworkCallback; 288 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in requestNetworkForCaptivePortal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 31 import android.net.ConnectivityManager.NetworkCallback; 385 private final NetworkCallback mNetworkCallback = new NetworkCallback() {
|
/frameworks/base/services/core/java/com/android/server/ |
D | OldNetworkTimeUpdateService.java | 28 import android.net.ConnectivityManager.NetworkCallback; 275 private class NetworkTimeUpdateCallback extends NetworkCallback {
|
D | NewNetworkTimeUpdateService.java | 28 import android.net.ConnectivityManager.NetworkCallback; 275 private class NetworkTimeUpdateCallback extends NetworkCallback {
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 120 import android.net.ConnectivityManager.NetworkCallback; 723 NetworkCallback callback = null; in connect() 731 callback = new NetworkCallback() { in connect() 1755 private class TestNetworkCallback extends NetworkCallback { 2274 NetworkCallback noopCallback = new NetworkCallback(); in testMultipleLingering() 2290 noopCallback = new NetworkCallback(); // Can't reuse NetworkCallbacks. http://b/20701525 in testMultipleLingering() 2375 NetworkCallback noopCallback = new NetworkCallback(); in testNetworkGoesIntoBackgroundAfterLinger() 2496 NetworkCallback networkCallback = null; in tryNetworkFactoryRequests() 2502 networkCallback = new NetworkCallback(); in tryNetworkFactoryRequests() 2533 ConnectivityManager.NetworkCallback[] networkCallbacks = in tryNetworkFactoryRequests() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 42 import android.net.ConnectivityManager.NetworkCallback; 112 private NetworkCallback mMobileNetworkCallback; 452 mMobileNetworkCallback = new ConnectivityManager.NetworkCallback() { in registerTrackMobileCallback()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSignalAgent.java | 119 private ConnectivityManager.NetworkCallback mNetworkCallback; 145 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in handleMessage()
|
D | CellularNetworkValidator.java | 201 class ConnectivityNetworkCallback extends ConnectivityManager.NetworkCallback {
|
D | DeviceStateMonitor.java | 96 private final ConnectivityManager.NetworkCallback mNetworkCallback = 97 new ConnectivityManager.NetworkCallback() {
|
D | PhoneSwitcher.java | 33 import android.net.ConnectivityManager.NetworkCallback; 258 private final ConnectivityManager.NetworkCallback mDefaultNetworkCallback = 259 new NetworkCallback() {
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 25 import android.net.ConnectivityManager.NetworkCallback; 526 private final NetworkCallback mNetworkCallback = new NetworkCallback() {
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 226 ArgumentCaptor<ConnectivityManager.NetworkCallback> networkCallback = in testGetMultipathPreference() 227 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class); in testGetMultipathPreference()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 238 private class ConnectivityCallbacks extends ConnectivityManager.NetworkCallback {
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 48 import android.net.ConnectivityManager.NetworkCallback; 216 final ArgumentCaptor<NetworkCallback> callback = ArgumentCaptor in testUpdates() 217 .forClass(NetworkCallback.class); in testUpdates()
|