Home
last modified time | relevance | path

Searched refs:currentNetwork (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/net/
DConnectivityManager.java917 if (l.currentNetwork != null) { in startUsingNetworkFeature()
1094 Network currentNetwork; field in ConnectivityManager.LegacyRequest
1098 if (currentNetwork != null) { in clearDnsBinding()
1099 currentNetwork = null; in clearDnsBinding()
1107 currentNetwork = network;
1113 if (network.equals(currentNetwork)) clearDnsBinding();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiAutoJoinController.java362 WifiConfiguration currentNetwork = mWifiStateMachine.getCurrentWifiConfiguration(); in compareNetwork()
363 if (currentNetwork == null) { in compareNetwork()
369 if (candidate.configKey(true).equals(currentNetwork.configKey(true))) { in compareNetwork()
375 + " with current " + currentNetwork.configKey()); in compareNetwork()
377 int order = compareWifiConfigurations(currentNetwork, candidate); in compareNetwork()
385 && currentNetwork.configKey().equals(lastSelectedConfiguration)) { in compareNetwork()
392 logDbg(" ...and prefers -100 " + currentNetwork.configKey() in compareNetwork()
406 + " over " + currentNetwork.configKey() in compareNetwork()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java779 String currentNetwork = mSS.getOperatorNumeric(); in powerOffRadioSafely() local
780 if ((networkNotClearData != null) && (currentNetwork != null)) { in powerOffRadioSafely()
782 if (currentNetwork.equals(networkNotClearData[i])) { in powerOffRadioSafely()
785 log("Not disconnecting data for " + currentNetwork); in powerOffRadioSafely()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2162 NetworkAgentInfo currentNetwork = mNetworkForRequestId.get(request.requestId); in handleAsyncChannelDisconnected() local
2163 if (currentNetwork != null && currentNetwork.network.netId == nai.network.netId) { in handleAsyncChannelDisconnected()
4213 final NetworkAgentInfo currentNetwork = mNetworkForRequestId.get(nri.request.requestId); in rematchNetworkAndRequests() local
4215 if (newNetwork == currentNetwork && satisfies) { in rematchNetworkAndRequests()
4238 (currentNetwork != null ? currentNetwork.getCurrentScore() : 0) + in rematchNetworkAndRequests()
4241 if (currentNetwork == null || in rematchNetworkAndRequests()
4242 currentNetwork.getCurrentScore() < newNetwork.getCurrentScore()) { in rematchNetworkAndRequests()
4243 if (currentNetwork != null) { in rematchNetworkAndRequests()
4244 if (DBG) log(" accepting network in place of " + currentNetwork.name()); in rematchNetworkAndRequests()
4245 currentNetwork.networkRequests.remove(nri.request.requestId); in rematchNetworkAndRequests()
[all …]