/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 77 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/ |
D | PasspointNetworkEvaluatorTest.java | 326 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/ |
D | SavedNetworkEvaluator.java | 159 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()
|
D | ScoredNetworkEvaluator.java | 109 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument 155 boolean isCurrentNetwork = currentNetwork != null in evaluateNetworks() 156 && currentNetwork.networkId == configuredNetwork.networkId in evaluateNetworks()
|
D | WifiNetworkSelector.java | 125 WifiConfiguration currentNetwork, String currentBssid, in evaluateNetworks() argument 494 WifiConfiguration currentNetwork = in selectNetwork() local 527 new ArrayList<>(mFilteredNetworks), currentNetwork, currentBssid, connected, in selectNetwork()
|
D | WifiStateMachine.java | 4826 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/ |
D | WifiConnectivityManagerTest.java | 1554 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);
|
D | WifiNetworkSelectorTest.java | 115 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 1176 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/ |
D | ConnectivityService.java | 2305 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/ |
D | ServiceStateTracker.java | 4241 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()
|