Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitor.java99 private NetworkCallback mMobileNetworkCallback; field in UpstreamNetworkMonitor
178 return (mMobileNetworkCallback != null); in mobileNetworkRequested()
187 if (mMobileNetworkCallback != null) { in registerMobileNetworkRequest()
202 mMobileNetworkCallback = new UpstreamNetworkCallback(CALLBACK_MOBILE_REQUEST); in registerMobileNetworkRequest()
209 cm().requestNetwork(mobileUpstreamRequest, mMobileNetworkCallback, 0, legacyType, mHandler); in registerMobileNetworkRequest()
213 if (mMobileNetworkCallback == null) return; in releaseMobileNetworkRequest()
215 cm().unregisterNetworkCallback(mMobileNetworkCallback); in releaseMobileNetworkRequest()
216 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()