Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java115 private NetworkCallback mDefaultNetworkCallback; field in UpstreamNetworkMonitor
157 if (mDefaultNetworkCallback == null) { in startTrackDefaultNetwork()
158 mDefaultNetworkCallback = new UpstreamNetworkCallback(CALLBACK_DEFAULT_INTERNET); in startTrackDefaultNetwork()
159 cm().requestNetwork(defaultNetworkRequest, mDefaultNetworkCallback, mHandler); in startTrackDefaultNetwork()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java300 private final DefaultNetworkCallback mDefaultNetworkCallback = new DefaultNetworkCallback(); field in PhoneSwitcher
728 mDefaultNetworkCallback.mExpectedSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in removeDefaultNetworkChangeCallback()
729 mDefaultNetworkCallback.mSwitchReason = in removeDefaultNetworkChangeCallback()
731 mConnectivityManager.unregisterNetworkCallback(mDefaultNetworkCallback); in removeDefaultNetworkChangeCallback()
735 mDefaultNetworkCallback.mExpectedSubId = expectedSubId; in registerDefaultNetworkChangeCallback()
736 mDefaultNetworkCallback.mSwitchReason = reason; in registerDefaultNetworkChangeCallback()
737 mConnectivityManager.registerDefaultNetworkCallback(mDefaultNetworkCallback, this); in registerDefaultNetworkChangeCallback()