Home
last modified time | relevance | path

Searched refs:is24GHz (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java598 public static boolean is24GHz(int freqMhz) { in is24GHz() method in ScanResult
671 } else if (is24GHz(freqMhz)) { in convertFrequencyMhzToChannel()
685 public boolean is24GHz() { in is24GHz() method in ScanResult
686 return ScanResult.is24GHz(frequency); in is24GHz()
DWifiInfo.java637 public boolean is24GHz() { in is24GHz() method in WifiInfo
638 return ScanResult.is24GHz(mFrequency); in is24GHz()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DBubbleFunScorer.java78 if (ScanResult.is24GHz(candidate.getFrequency())) { in scoreCandidate()
DWifiDataStall.java294 ccaLevel = wifiInfo.is24GHz() ? DEFAULT_CCA_LEVEL_2G : DEFAULT_CCA_LEVEL_ABOVE_2G; in checkDataStallAndThroughputSufficiency()
509 if (ScanResult.is24GHz(frequency)) { in getBand()
DWifiChannelUtilization.java130 if (ScanResult.is24GHz(frequency)) { in getUtilizationRatio()
DThroughputPredictor.java384 boolean is2G = ScanResult.is24GHz(frequency); in getValidChannelUtilization()
DScoringParams.java489 if (ScanResult.is24GHz(frequency)) { in getRssiArray()
DWifiHealthMonitor.java257 if (scanResult.is24GHz()) { in handleScanResults()
DWifiNetworkSelector.java404 if (scanResult.is24GHz()) { in filterScanResults()
DSoftApManager.java864 (ScanResult.is24GHz(mCurrentSoftApInfo.getFrequency()) in updateUserBandPreferenceViolationMetricsIfNeeded()
DWifiMetrics.java2168 if (ScanResult.is24GHz(frequency)) { in incrementTxLinkSpeedBandCount()
2199 if (ScanResult.is24GHz(frequency)) { in incrementRxLinkSpeedBandCount()
2229 if (ScanResult.is24GHz(frequency)) { in incrementChannelUtilizationCount()
2247 if (ScanResult.is24GHz(frequency)) { in incrementThroughputKbpsCount()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java297 when(mWifiInfo.is24GHz()).thenReturn(true); in setupWifiInfo()
495 when(mWifiInfo.is24GHz()).thenReturn(false); in lowRssi5GNetworkIsNotSufficient()
546 when(mWifiInfo.is24GHz()).thenReturn(false); in noInternetAccessNetworkIsNotSufficient()
669 when(mWifiInfo.is24GHz()).thenReturn(true); in noSelectionWhenCurrentNetworkNotInScanResults()
1053 when(mWifiInfo.is24GHz()).thenReturn(!ScanResult.is5GHz(freqs[0])); in testStayOrTryToSwitchImpl()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DKnownBandsChannelHelper.java172 if (ScanResult.is24GHz(frequency)) { in getBandFromChannel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java129 if (ScanResult.is24GHz(frequency)) { in convertFrequencyToBand()
DInformationElementUtil.java1501 } else if (!ScanResult.is24GHz(frequency) && foundVht) { in determineMode()
1509 } else if (ScanResult.is24GHz(frequency)) { in determineMode()