Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java77 WifiConfiguration currentNetwork, String currentBssid, in evaluateNetworks() argument
112 findBestNetwork(candidateList, currentNetwork == null ? null : currentNetwork.SSID); in evaluateNetworks()
115 if (currentNetwork != null && TextUtils.equals(currentNetwork.SSID, in evaluateNetworks()
117 localLog("Staying with current Passpoint network " + currentNetwork.SSID); in evaluateNetworks()
120 mWifiConfigManager.setNetworkCandidateScanResult(currentNetwork.networkId, in evaluateNetworks()
122 mWifiConfigManager.updateScanDetailForNetwork(currentNetwork.networkId, in evaluateNetworks()
125 connectableNetworks.add(Pair.create(bestNetwork.mScanDetail, currentNetwork)); in evaluateNetworks()
126 return currentNetwork; in evaluateNetworks()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java326 WifiConfiguration currentNetwork = new WifiConfiguration(); in evaluateScansWithActiveNetworkMatchingHomeProvider() local
327 currentNetwork.networkId = TEST_NETWORK_ID; in evaluateScansWithActiveNetworkMatchingHomeProvider()
328 currentNetwork.SSID = ScanResultUtil.createQuotedSSID(TEST_SSID2); in evaluateScansWithActiveNetworkMatchingHomeProvider()
335 WifiConfiguration config = mEvaluator.evaluateNetworks(scanDetails, currentNetwork, in evaluateScansWithActiveNetworkMatchingHomeProvider()
388 WifiConfiguration currentNetwork = new WifiConfiguration(); in evaluateScansMatchingActiveNetworkWithDifferentBSS() local
389 currentNetwork.networkId = TEST_NETWORK_ID; in evaluateScansMatchingActiveNetworkWithDifferentBSS()
390 currentNetwork.SSID = ScanResultUtil.createQuotedSSID(TEST_SSID1); in evaluateScansMatchingActiveNetworkWithDifferentBSS()
396 WifiConfiguration config = mEvaluator.evaluateNetworks(scanDetails, currentNetwork, in evaluateScansMatchingActiveNetworkWithDifferentBSS()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSavedNetworkEvaluator.java159 WifiConfiguration currentNetwork, String currentBssid, in calculateBssidScore() argument
194 if (currentNetwork != null in calculateBssidScore()
195 && (network.networkId == currentNetwork.networkId in calculateBssidScore()
235 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument
292 int score = calculateBssidScore(scanResult, network, currentNetwork, currentBssid, in evaluateNetworks()
DScoredNetworkEvaluator.java109 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument
155 boolean isCurrentNetwork = currentNetwork != null in evaluateNetworks()
156 && currentNetwork.networkId == configuredNetwork.networkId in evaluateNetworks()
DWifiNetworkSelector.java125 WifiConfiguration currentNetwork, String currentBssid, in evaluateNetworks() argument
494 WifiConfiguration currentNetwork = in selectNetwork() local
527 new ArrayList<>(mFilteredNetworks), currentNetwork, currentBssid, connected, in selectNetwork()
DWifiStateMachine.java4826 WifiConfiguration currentNetwork = getCurrentWifiConfiguration(); in registerConnected() local
4827 if (currentNetwork != null && currentNetwork.isPasspoint()) { in registerConnected()
4828 mPasspointManager.onPasspointNetworkConnected(currentNetwork.FQDN); in registerConnected()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java1554 WifiConfiguration currentNetwork = generateWifiConfig(
1556 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(currentNetwork);
1582 WifiConfiguration currentNetwork = generateWifiConfig(
1584 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(currentNetwork);
1645 WifiConfiguration currentNetwork = generateWifiConfig(
1647 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(currentNetwork);
DWifiNetworkSelectorTest.java115 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument
/frameworks/base/core/java/android/net/
DConnectivityManager.java1176 if (l.currentNetwork != null) { in startUsingNetworkFeature()
1371 Network currentNetwork; field in ConnectivityManager.LegacyRequest
1375 if (currentNetwork != null) { in clearDnsBinding()
1376 currentNetwork = null; in clearDnsBinding()
1384 currentNetwork = network;
1390 if (network.equals(currentNetwork)) clearDnsBinding();
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2305 NetworkAgentInfo currentNetwork = getNetworkForRequest(request.requestId); in handleAsyncChannelDisconnected() local
2306 if (currentNetwork != null && currentNetwork.network.netId == nai.network.netId) { in handleAsyncChannelDisconnected()
4944 final NetworkAgentInfo currentNetwork = getNetworkForRequest(nri.request.requestId); in rematchNetworkAndRequests() local
4946 if (newNetwork == currentNetwork && satisfies) { in rematchNetworkAndRequests()
4962 (currentNetwork != null ? currentNetwork.getCurrentScore() : 0) + in rematchNetworkAndRequests()
4965 if (currentNetwork == null || currentNetwork.getCurrentScore() < score) { in rematchNetworkAndRequests()
4967 if (currentNetwork != null) { in rematchNetworkAndRequests()
4968 if (VDBG) log(" accepting network in place of " + currentNetwork.name()); in rematchNetworkAndRequests()
4969 currentNetwork.removeRequest(nri.request.requestId); in rematchNetworkAndRequests()
4970 currentNetwork.lingerRequest(nri.request, now, mLingerDelayMs); in rematchNetworkAndRequests()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java4241 String currentNetwork = mSS.getOperatorNumeric(); in powerOffRadioSafely() local
4242 if ((networkNotClearData != null) && (currentNetwork != null)) { in powerOffRadioSafely()
4244 if (currentNetwork.equals(networkNotClearData[i])) { in powerOffRadioSafely()
4247 log("Not disconnecting data for " + currentNetwork); in powerOffRadioSafely()