Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiQualifiedNetworkSelector.java217 private boolean isNetworkQualified(WifiConfiguration currentNetwork) { in isNetworkQualified() argument
219 if (currentNetwork == null) { in isNetworkQualified()
223 localLog("Current network is: " + currentNetwork.SSID + " ,ID is: " in isNetworkQualified()
224 + currentNetwork.networkId); in isNetworkQualified()
229 if (currentNetwork.ephemeral) { in isNetworkQualified()
235 if (mWifiConfigManager.isOpenNetwork(currentNetwork)) { in isNetworkQualified()
308 WifiConfiguration currentNetwork = in needQualifiedNetworkSelection() local
310 if (currentNetwork == null) { in needQualifiedNetworkSelection()
341 WifiConfiguration currentNetwork, boolean sameBssid, boolean sameSelect, in calculateBssidScore() argument
370 if (network == currentNetwork || network.isLinked(currentNetwork)) { in calculateBssidScore()
/frameworks/base/core/java/android/net/
DConnectivityManager.java1109 if (l.currentNetwork != null) { in startUsingNetworkFeature()
1311 Network currentNetwork; field in ConnectivityManager.LegacyRequest
1315 if (currentNetwork != null) { in clearDnsBinding()
1316 currentNetwork = null; in clearDnsBinding()
1324 currentNetwork = network;
1330 if (network.equals(currentNetwork)) clearDnsBinding();
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2282 NetworkAgentInfo currentNetwork = mNetworkForRequestId.get(request.requestId); in handleAsyncChannelDisconnected() local
2283 if (currentNetwork != null && currentNetwork.network.netId == nai.network.netId) { in handleAsyncChannelDisconnected()
4621 final NetworkAgentInfo currentNetwork = mNetworkForRequestId.get(nri.request.requestId); in rematchNetworkAndRequests() local
4623 if (newNetwork == currentNetwork && satisfies) { in rematchNetworkAndRequests()
4646 (currentNetwork != null ? currentNetwork.getCurrentScore() : 0) + in rematchNetworkAndRequests()
4649 if (currentNetwork == null || in rematchNetworkAndRequests()
4650 currentNetwork.getCurrentScore() < newNetwork.getCurrentScore()) { in rematchNetworkAndRequests()
4652 if (currentNetwork != null) { in rematchNetworkAndRequests()
4653 if (VDBG) log(" accepting network in place of " + currentNetwork.name()); in rematchNetworkAndRequests()
4654 currentNetwork.networkRequests.remove(nri.request.requestId); in rematchNetworkAndRequests()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java4235 String currentNetwork = mSS.getOperatorNumeric(); in powerOffRadioSafely() local
4236 if ((networkNotClearData != null) && (currentNetwork != null)) { in powerOffRadioSafely()
4238 if (currentNetwork.equals(networkNotClearData[i])) { in powerOffRadioSafely()
4241 log("Not disconnecting data for " + currentNetwork); in powerOffRadioSafely()