Searched refs:is5GHz (Results 1 – 12 of 12) sorted by relevance
609 public static boolean is5GHz(int freqMhz) { in is5GHz() method in ScanResult673 } else if (is5GHz(freqMhz)) { in convertFrequencyMhzToChannel()692 public boolean is5GHz() { in is5GHz() method in ScanResult693 return ScanResult.is5GHz(frequency); in is5GHz()
645 public boolean is5GHz() { in is5GHz() method in WifiInfo646 return ScanResult.is5GHz(mFrequency); in is5GHz()
85 } else if (ScanResult.is5GHz(candidate.getFrequency())) { in scoreCandidate()
94 } else if (ScanResult.is5GHz(candidate.getFrequency())) { in scoreCandidate()
134 if (ScanResult.is5GHz(frequency)) { in getUtilizationRatio()
491 } else if (ScanResult.is5GHz(frequency)) { in getRssiArray()
511 } else if (ScanResult.is5GHz(frequency)) { in getBand()
406 } else if (scanResult.is5GHz()) { in filterScanResults()
867 || (ScanResult.is5GHz(mCurrentSoftApInfo.getFrequency()) in updateUserBandPreferenceViolationMetricsIfNeeded()
298 when(mWifiInfo.is5GHz()).thenReturn(false); in setupWifiInfo()496 when(mWifiInfo.is5GHz()).thenReturn(true); in lowRssi5GNetworkIsNotSufficient()547 when(mWifiInfo.is5GHz()).thenReturn(true); in noInternetAccessNetworkIsNotSufficient()671 when(mWifiInfo.is5GHz()).thenReturn(false); in noSelectionWhenCurrentNetworkNotInScanResults()1020 int rssi, boolean is5GHz, boolean isOpenNetwork, in testStayOrTryToSwitch() argument1024 int[] freqs = {is5GHz ? 5180 : 2437}; in testStayOrTryToSwitch()1053 when(mWifiInfo.is24GHz()).thenReturn(!ScanResult.is5GHz(freqs[0])); in testStayOrTryToSwitchImpl()1054 when(mWifiInfo.is5GHz()).thenReturn(ScanResult.is5GHz(freqs[0])); in testStayOrTryToSwitchImpl()
174 } else if (ScanResult.is5GHz(frequency)) { in getBandFromChannel()
131 } else if (ScanResult.is5GHz(frequency)) { in convertFrequencyToBand()