/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 64 private ConnectivityManager.NetworkCallback mNetworkCallback; field in MmsNetworkManager 117 mNetworkCallback = null; in MmsNetworkManager() 136 releaseRequestLocked(mNetworkCallback); in MmsNetworkManager() 162 if (mNetworkCallback == null) { in acquireNetwork() 182 if (mNetworkCallback != null) { in acquireNetwork() 186 releaseRequestLocked(mNetworkCallback); in acquireNetwork() 224 releaseRequestLocked(mNetworkCallback); in releaseNetwork() 236 mNetworkCallback = new NetworkRequestCallback(); in startNewNetworkRequestLocked() 238 mNetworkRequest, mNetworkCallback, networkRequestTimeoutMillis); in startNewNetworkRequestLocked() 269 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() 164 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 | 122 private NetworkCallback mNetworkCallback; field in CaptivePortalLoginActivity 179 mNetworkCallback = new NetworkCallback() { in onCreate() 191 mCm.registerNetworkCallback(new NetworkRequest.Builder().build(), mNetworkCallback); in onCreate() 364 if (mNetworkCallback != null) { in onDestroy() 366 mCm.unregisterNetworkCallback(mNetworkCallback); in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 188 mConnectivityManager.registerNetworkCallback(VPN_REQUEST, mNetworkCallback); in onResume() 205 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause() 422 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/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 221 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in WifiDetailPreferenceController 478 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback, in onResume() 490 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RadioInfo.java | 247 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in RadioInfo 584 mDefaultNetworkRequest, mNetworkCallback, mHandler); in onResume() 597 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 298 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in RadioInfo 695 mDefaultNetworkRequest, mNetworkCallback, mHandler); in updateAllFields() 708 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause()
|