Home
last modified time | relevance | path

Searched refs:mMobileNetworkCallback (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java116 private NetworkCallback mMobileNetworkCallback; field in UpstreamNetworkMonitor
205 return (mMobileNetworkCallback != null); in mobileNetworkRequested()
215 if (mMobileNetworkCallback != null) { in registerMobileNetworkRequest()
234 mMobileNetworkCallback = new UpstreamNetworkCallback(CALLBACK_MOBILE_REQUEST); in registerMobileNetworkRequest()
247 mMobileNetworkCallback); in registerMobileNetworkRequest()
252 if (mMobileNetworkCallback == null) return; in releaseMobileNetworkRequest()
254 cm().unregisterNetworkCallback(mMobileNetworkCallback); in releaseMobileNetworkRequest()
255 mMobileNetworkCallback = null; in releaseMobileNetworkRequest()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java112 private NetworkCallback mMobileNetworkCallback; field in MultipathPolicyTracker
452 mMobileNetworkCallback = new ConnectivityManager.NetworkCallback() { in registerTrackMobileCallback()
481 mCM.registerNetworkCallback(request, mMobileNetworkCallback, mHandler); in registerTrackMobileCallback()
494 if (mMobileNetworkCallback != null) { in maybeUnregisterTrackMobileCallback()
495 mCM.unregisterNetworkCallback(mMobileNetworkCallback); in maybeUnregisterTrackMobileCallback()
497 mMobileNetworkCallback = null; in maybeUnregisterTrackMobileCallback()