/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellularNetworkValidatorTest.java | 112 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testValidateSuccess() 138 mValidatorUT.mNetworkCallback.onUnavailable(); in testValidateFailure() 150 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testNetworkAvailableNotValidated() 179 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testSkipRecentlyValidatedNetwork() 201 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testDoNotSkipIfValidationFailed() 228 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testDoNotSkipIfCacheExpires() 249 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testNetworkCachingOfMultipleSub() 256 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testNetworkCachingOfMultipleSub() 260 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testNetworkCachingOfMultipleSub() 270 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testNetworkCachingOfMultipleSub() [all …]
|
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/ |
D | OsuLoginActivity.java | 61 private ConnectivityManager.NetworkCallback mNetworkCallback; field in OsuLoginActivity 139 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in onCreate() 159 mNetworkCallback); in onCreate() 207 if (mNetworkCallback != null) { in onDestroy() 208 mCm.unregisterNetworkCallback(mNetworkCallback); in onDestroy() 209 mNetworkCallback = null; in onDestroy()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSignalAgent.java | 120 private ConnectivityManager.NetworkCallback mNetworkCallback; field in CarrierSignalAgent 146 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in handleMessage() 171 connectivityMgr.registerDefaultNetworkCallback(mNetworkCallback, mPhone); in handleMessage() 174 } else if (mNetworkCallback != null) { in handleMessage() 175 connectivityMgr.unregisterNetworkCallback(mNetworkCallback); in handleMessage() 176 mNetworkCallback = null; in handleMessage()
|
D | CellularNetworkValidator.java | 87 public ConnectivityNetworkCallback mNetworkCallback; field in CellularNetworkValidator 282 mNetworkCallback = new ConnectivityNetworkCallback(subId); 284 mConnectivityManager.requestNetwork(mNetworkRequest, mNetworkCallback, mHandler); 303 if (mNetworkCallback != null) { 304 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback);
|
D | DeviceStateMonitor.java | 106 private final ConnectivityManager.NetworkCallback mNetworkCallback = field in DeviceStateMonitor 311 cm.registerNetworkCallback(mWifiNetworkRequest, mNetworkCallback); in DeviceStateMonitor()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 78 private NetworkCallback mNetworkCallback; field in CaptivePortalLoginActivity 287 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in requestNetworkForCaptivePortal() 320 mCm.requestNetwork(request, mNetworkCallback, NETWORK_REQUEST_TIMEOUT_MS); in requestNetworkForCaptivePortal() 325 if (mNetworkCallback != null) { in releaseNetworkRequest() 326 mCm.unregisterNetworkCallback(mNetworkCallback); in releaseNetworkRequest() 327 mNetworkCallback = null; in releaseNetworkRequest()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 59 private final ConnectivityManager.NetworkCallback mNetworkCallback = new ConnectivityManager field in WifiStatusTracker 96 mNetworkRequest, mNetworkCallback, mHandler); in setListening() 101 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in setListening()
|
D | WifiTracker.java | 123 private WifiTrackerNetworkCallback mNetworkCallback; field in WifiTracker 338 mNetworkCallback = new WifiTrackerNetworkCallback(); in onStart() 340 mNetworkRequest, mNetworkCallback, mWorkHandler); in onStart() 394 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onStop()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 112 private ConnectivityManager.NetworkCallback mNetworkCallback; field in NetworkControllerBaseTest 189 mNetworkCallback = callbackArg.getValue(); in setupNetworkController() 190 assertNotNull(mNetworkCallback); in setupNetworkController() 248 mNetworkCallback.onCapabilitiesChanged( in setConnectivityViaCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 132 mConnectivityManager.registerNetworkCallback(REQUEST, mNetworkCallback); in SecurityControllerImpl() 385 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in SecurityControllerImpl
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 107 mConnManager.registerNetworkCallback(request, mNetworkCallback); in ConnectivityController() 526 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in ConnectivityController
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 2203 @NonNull private final ConnectivityManager.NetworkCallback mNetworkCallback; 2225 mNetworkCallback = new VpnIkev2Utils.Ikev2VpnNetworkCallback(TAG, this); 2250 cm.requestNetwork(req, mNetworkCallback); 2502 cm.unregisterNetworkCallback(mNetworkCallback);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 825 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback); in checkParoleTimeout() 1807 private final ConnectivityManager.NetworkCallback mNetworkCallback field in AppStandbyController
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 338 private ConnectivityManager.NetworkCallback mNetworkCallback = field in ImsPhoneCallTracker 4684 cm.registerNetworkCallback(builder.build(), mNetworkCallback); in registerForConnectivityChanges() local 4701 cm.unregisterNetworkCallback(mNetworkCallback); in unregisterForConnectivityChanges()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 874 new NetworkRequest.Builder().build(), mNetworkCallback); in initService() 1100 private final NetworkCallback mNetworkCallback = new NetworkCallback() {
|