Searched refs:is5GHz (Results 1 – 18 of 18) sorted by relevance
85 } else if (ScanResult.is5GHz(candidate.getFrequency())) { in scoreCandidate()
94 } else if (ScanResult.is5GHz(candidate.getFrequency())) { in scoreCandidate()
135 if (ScanResult.is5GHz(frequency)) { in getUtilizationRatio()
674 } else if (ScanResult.is5GHz(frequency)) { in getRssiArray()
532 } else if (scanResult.is5GHz()) { in filterScanResults()
1934 || (ScanResult.is5GHz(apInfo.getFrequency()) in updateUserBandPreferenceViolationMetricsIfNeeded()
4017 } else if (ScanResult.is5GHz(frequency)) {
8837 if ((secondaryWifiInfo.is5GHz() && mWifiInfo.is5GHz()) in checkIfNeedDisconnectSecondaryWifi()
9409 if (ScanResult.is5GHz(staFreqMhz)) {9514 if (ScanResult.is5GHz(staFreqMhz)) {
942 public static boolean is5GHz(int freqMhz) { in is5GHz() method in ScanResult1113 } else if (is5GHz(freqMhz)) { in convertFrequencyMhzToChannelIfSupported()1134 } else if (ScanResult.is5GHz(frequency)) { in toBand()1163 public boolean is5GHz() { in is5GHz() method in ScanResult1164 return ScanResult.is5GHz(frequency); in is5GHz()
76 } else if (ScanResult.is5GHz(freqMHz)) { in getBand()
1157 public boolean is5GHz() { in is5GHz() method in WifiInfo1158 return ScanResult.is5GHz(mFrequency); in is5GHz()
380 when(mWifiInfo.is5GHz()).thenReturn(false); in setupWifiInfo()741 when(mWifiInfo.is5GHz()).thenReturn(true); in lowRssi5GNetworkIsNotSufficient()801 when(mWifiInfo.is5GHz()).thenReturn(true); in noInternetAccessNetworkIsNotSufficient()1254 when(mWifiInfo.is5GHz()).thenReturn(false); in noSelectionWhenCurrentNetworkNotInScanResults()1322 when(mWifiInfo.is5GHz()).thenReturn(false); in includeCurrentNetworkWhenCurrentNetworkNotNominated()2003 int rssi, boolean is5GHz, boolean isOpenNetwork, boolean shouldSelect) { in testStayOrTryToSwitch() argument2006 int[] freqs = {is5GHz ? 5180 : 2437}; in testStayOrTryToSwitch()2038 when(mWifiInfo.is24GHz()).thenReturn(!ScanResult.is5GHz(freqs[0])); in testStayOrTryToSwitchImpl()2039 when(mWifiInfo.is5GHz()).thenReturn(ScanResult.is5GHz(freqs[0])); in testStayOrTryToSwitchImpl()2652 when(mWifiInfo.is5GHz()).thenReturn(true); in networkSelectionPerformedWhenAnyCmmIsNotSufficient()[all …]
8220 when(secondaryWifiInfo.is5GHz()).thenReturn(true); in testFirmwareRoamDisconnectSecondaryInternetOnSameBand()8239 when(secondaryWifiInfo.is5GHz()).thenReturn(false); in testFirmwareRoamDisconnectSecondaryInternetOnSameBand()
192 } else if (ScanResult.is5GHz(frequency)) { in getBandFromChannel()261 } else if (ScanResult.is5GHz(frequency)) { in getBand()
207 } else if (ScanResult.is5GHz(frequency)) { in convertFrequencyToBand()
1458 Landroid/net/wifi/ScanResult;->is5GHz()Z1459 Landroid/net/wifi/ScanResult;->is5GHz(I)Z
7585 } else if (ScanResult.is5GHz(freq)) { in selectGroupOwnerIntentIfNecessary()