Searched refs:mNetworkCallback (Results 1 - 12 of 12) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/
H A DNetworkStateTracker.java55 private NetworkStateCallback mNetworkCallback; field in class:NetworkStateTracker
67 mNetworkCallback = new NetworkStateCallback();
82 mConnectivityManager.registerDefaultNetworkCallback(mNetworkCallback);
94 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierSignalAgent.java117 private ConnectivityManager.NetworkCallback mNetworkCallback; field in class:CarrierSignalAgent
143 mNetworkCallback = new ConnectivityManager.NetworkCallback() {
168 connectivityMgr.registerDefaultNetworkCallback(mNetworkCallback, mPhone);
171 } else if (mNetworkCallback != null) {
172 connectivityMgr.unregisterNetworkCallback(mNetworkCallback);
173 mNetworkCallback = null;
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCaptivePortalLoginActivity.java80 private NetworkCallback mNetworkCallback; field in class:CaptivePortalLoginActivity
299 mNetworkCallback = new ConnectivityManager.NetworkCallback() {
332 mCm.requestNetwork(request, mNetworkCallback, NETWORK_REQUEST_TIMEOUT_MS);
337 if (mNetworkCallback != null) {
338 mCm.unregisterNetworkCallback(mNetworkCallback);
339 mNetworkCallback = null;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiStatusTracker.java57 private final ConnectivityManager.NetworkCallback mNetworkCallback = new ConnectivityManager field in class:WifiStatusTracker
94 mNetworkRequest, mNetworkCallback, mHandler);
99 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback);
H A DWifiTracker.java117 private WifiTrackerNetworkCallback mNetworkCallback; field in class:WifiTracker
315 mNetworkCallback = new WifiTrackerNetworkCallback();
317 mNetworkRequest, mNetworkCallback, mWorkHandler);
370 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback);
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java96 private NetworkCallback mNetworkCallback; field in class:CaptivePortalLoginActivity
149 mNetworkCallback = new NetworkCallback() {
159 mCm.registerNetworkCallback(builder.build(), mNetworkCallback);
282 if (mNetworkCallback != null) {
283 // mNetworkCallback is not null if mUrl is not null.
284 mCm.unregisterNetworkCallback(mNetworkCallback);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerBaseTest.java98 private ConnectivityManager.NetworkCallback mNetworkCallback; field in class:NetworkControllerBaseTest
168 mNetworkCallback = callbackArg.getValue();
169 assertNotNull(mNetworkCallback);
225 mNetworkCallback.onCapabilitiesChanged(
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSecurityControllerImpl.java118 mConnectivityManager.registerNetworkCallback(REQUEST, mNetworkCallback);
371 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in class:SecurityControllerImpl
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DConnectivityController.java80 mConnManager.registerNetworkCallback(request, mNetworkCallback);
304 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in class:ConnectivityController
/frameworks/base/services/usage/java/com/android/server/usage/
H A DAppStandbyController.java782 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback);
1705 private final ConnectivityManager.NetworkCallback mNetworkCallback field in class:AppStandbyController
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java257 private ConnectivityManager.NetworkCallback mNetworkCallback = field in class:ImsPhoneCallTracker
3742 cm.registerNetworkCallback(builder.build(), mNetworkCallback);
3759 cm.unregisterNetworkCallback(mNetworkCallback);
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java852 new NetworkRequest.Builder().build(), mNetworkCallback);
1075 private final NetworkCallback mNetworkCallback = new NetworkCallback() { field in class:NetworkPolicyManagerService

Completed in 60 milliseconds