/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 57 private ConnectivityManager.NetworkCallback mNetworkCallback; field in MmsNetworkManager 110 mNetworkCallback = null; in MmsNetworkManager() 128 releaseRequestLocked(mNetworkCallback); in MmsNetworkManager() 152 if (mNetworkCallback == null) { in acquireNetwork() 168 if (mNetworkCallback != null) { in acquireNetwork() 172 releaseRequestLocked(mNetworkCallback); in acquireNetwork() 201 releaseRequestLocked(mNetworkCallback); in releaseNetwork() 213 mNetworkCallback = new NetworkRequestCallback(); in startNewNetworkRequestLocked() 215 mNetworkRequest, mNetworkCallback, NETWORK_REQUEST_TIMEOUT_MILLIS); in startNewNetworkRequestLocked() 246 mNetworkCallback = null; in resetLocked()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiScanWorker.java | 61 WifiNetworkCallback mNetworkCallback; field in WifiScanWorker 173 if (mNetworkCallback != null && mNetworkCallback.isSameNetwork(wifiNetwork)) { in registerNetworkCallback() 179 mNetworkCallback = new WifiNetworkCallback(wifiNetwork); in registerNetworkCallback() 185 mNetworkCallback, in registerNetworkCallback() 190 if (mNetworkCallback != null) { in unregisterNetworkCallback() 192 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in unregisterNetworkCallback() 196 mNetworkCallback = null; in unregisterNetworkCallback()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiNoInternetDialog.java | 52 private ConnectivityManager.NetworkCallback mNetworkCallback; field in WifiNoInternetDialog 90 mNetworkCallback = new NetworkCallback() { in onCreate() 110 mCM.registerNetworkCallback(request, mNetworkCallback); in onCreate() 168 if (mNetworkCallback != null) { in onDestroy() 169 mCM.unregisterNetworkCallback(mNetworkCallback); in onDestroy() 170 mNetworkCallback = null; in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiNoInternetDialog.java | 52 private ConnectivityManager.NetworkCallback mNetworkCallback; field in WifiNoInternetDialog 91 mNetworkCallback = new NetworkCallback() { in onCreate() 111 mCM.registerNetworkCallback(request, mNetworkCallback); in onCreate() 169 if (mNetworkCallback != null) { in onDestroy() 170 mCM.unregisterNetworkCallback(mNetworkCallback); in onDestroy() 171 mNetworkCallback = null; in onDestroy()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiScanWorkerTest.java | 138 mWifiScanWorker.mNetworkCallback.onCapabilitiesChanged(network, in NetworkCallback_onCapabilitiesChanged_shouldNotifyChange() 152 mWifiScanWorker.mNetworkCallback.onCapabilitiesChanged(network, in NetworkCallback_onCapabilitiesChanged_isClickedWifi_shouldSendBroadcast() 166 mWifiScanWorker.mNetworkCallback.onCapabilitiesChanged(network, in NetworkCallback_onCapabilitiesChanged_isNotClickedWifi_shouldNotSendBroadcast() 178 mWifiScanWorker.mNetworkCallback.onCapabilitiesChanged(network, in NetworkCallback_onCapabilitiesChanged_neverClickWifi_shouldNotSendBroadcast() 190 final NetworkCallback callback = mWifiScanWorker.mNetworkCallback; in NetworkCallback_onCapabilitiesChanged_sliceIsUnpinned_shouldNotSendBroadcast()
|
D | ContextualWifiScanWorkerTest.java | 80 final NetworkCallback callback = mWifiScanWorker.mNetworkCallback; in NetworkCallback_onCapabilitiesChanged_sliceIsUnpinned_shouldSendBroadcast() 100 mWifiScanWorker.mNetworkCallback.onCapabilitiesChanged(network, in NetworkCallback_onCapabilitiesChanged_newSession_shouldNotSendBroadcast()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | PrivateDnsPreferenceController.java | 108 mConnectivityManager.registerDefaultNetworkCallback(mNetworkCallback, mHandler); in onStart() 114 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onStop() 168 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in PrivateDnsPreferenceController
|
D | VpnPreferenceController.java | 107 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause() 114 mConnectivityManager.registerNetworkCallback(REQUEST, mNetworkCallback); in onResume() 183 mNetworkCallback = new ConnectivityManager.NetworkCallback() { field in VpnPreferenceController
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | PrivateDnsPreferenceController.java | 108 mConnectivityManager.registerDefaultNetworkCallback(mNetworkCallback, mHandler); in onStart() 114 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onStop() 168 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in PrivateDnsPreferenceController
|
D | VpnPreferenceController.java | 107 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause() 114 mConnectivityManager.registerNetworkCallback(REQUEST, mNetworkCallback); in onResume() 183 mNetworkCallback = new ConnectivityManager.NetworkCallback() { field in VpnPreferenceController
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderImpl.java | 108 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in WifiInfoProviderImpl 192 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback, in onStart() 207 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onStop()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 99 private NetworkCallback mNetworkCallback; field in CaptivePortalLoginActivity 139 mNetworkCallback = new NetworkCallback() { in onCreate() 146 mCm.registerNetworkCallback(new NetworkRequest.Builder().build(), mNetworkCallback); in onCreate() 295 if (mNetworkCallback != null) { in onDestroy() 297 mCm.unregisterNetworkCallback(mNetworkCallback); in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 189 mConnectivityManager.registerNetworkCallback(VPN_REQUEST, mNetworkCallback); in onResume() 206 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause() 423 private NetworkCallback mNetworkCallback = new NetworkCallback() { field in VpnSettings
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | VpnSettings.java | 189 mConnectivityManager.registerNetworkCallback(VPN_REQUEST, mNetworkCallback); in onResume() 206 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause() 423 private NetworkCallback mNetworkCallback = new NetworkCallback() { field in VpnSettings
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/ |
D | WifiDetailPreferenceController.java | 222 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in WifiDetailPreferenceController 482 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback, in onResume() 494 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 221 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in WifiDetailPreferenceController 464 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback, in onResume() 476 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RadioInfo.java | 246 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in RadioInfo 581 mDefaultNetworkRequest, mNetworkCallback, mHandler); in onResume() 594 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RadioInfo.java | 259 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in RadioInfo 619 mDefaultNetworkRequest, mNetworkCallback, mHandler); in updateAllFields() 632 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause()
|