Home
last modified time | relevance | path

Searched refs:is5GHz (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java609 public static boolean is5GHz(int freqMhz) { in is5GHz() method in ScanResult
673 } else if (is5GHz(freqMhz)) { in convertFrequencyMhzToChannel()
692 public boolean is5GHz() { in is5GHz() method in ScanResult
693 return ScanResult.is5GHz(frequency); in is5GHz()
DWifiInfo.java645 public boolean is5GHz() { in is5GHz() method in WifiInfo
646 return ScanResult.is5GHz(mFrequency); in is5GHz()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCompatibilityScorer.java85 } else if (ScanResult.is5GHz(candidate.getFrequency())) { in scoreCandidate()
DScoreCardBasedScorer.java94 } else if (ScanResult.is5GHz(candidate.getFrequency())) { in scoreCandidate()
DWifiChannelUtilization.java134 if (ScanResult.is5GHz(frequency)) { in getUtilizationRatio()
DScoringParams.java491 } else if (ScanResult.is5GHz(frequency)) { in getRssiArray()
DWifiDataStall.java511 } else if (ScanResult.is5GHz(frequency)) { in getBand()
DWifiNetworkSelector.java406 } else if (scanResult.is5GHz()) { in filterScanResults()
DSoftApManager.java867 || (ScanResult.is5GHz(mCurrentSoftApInfo.getFrequency()) in updateUserBandPreferenceViolationMetricsIfNeeded()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java298 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() argument
1024 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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DKnownBandsChannelHelper.java174 } else if (ScanResult.is5GHz(frequency)) { in getBandFromChannel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java131 } else if (ScanResult.is5GHz(frequency)) { in convertFrequencyToBand()