Home
last modified time | relevance | path

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

/packages/modules/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.java135 if (ScanResult.is5GHz(frequency)) { in getUtilizationRatio()
DScoringParams.java674 } else if (ScanResult.is5GHz(frequency)) { in getRssiArray()
DWifiNetworkSelector.java532 } else if (scanResult.is5GHz()) { in filterScanResults()
DSoftApManager.java1934 || (ScanResult.is5GHz(apInfo.getFrequency()) in updateUserBandPreferenceViolationMetricsIfNeeded()
DWifiNative.java4017 } else if (ScanResult.is5GHz(frequency)) {
DClientModeImpl.java8837 if ((secondaryWifiInfo.is5GHz() && mWifiInfo.is5GHz()) in checkIfNeedDisconnectSecondaryWifi()
DWifiMetrics.java9409 if (ScanResult.is5GHz(staFreqMhz)) {
9514 if (ScanResult.is5GHz(staFreqMhz)) {
/packages/modules/Wifi/framework/java/android/net/wifi/
DScanResult.java942 public static boolean is5GHz(int freqMhz) { in is5GHz() method in ScanResult
1113 } else if (is5GHz(freqMhz)) { in convertFrequencyMhzToChannelIfSupported()
1134 } else if (ScanResult.is5GHz(frequency)) { in toBand()
1163 public boolean is5GHz() { in is5GHz() method in ScanResult
1164 return ScanResult.is5GHz(frequency); in is5GHz()
DWifiNetworkSpecifier.java76 } else if (ScanResult.is5GHz(freqMHz)) { in getBand()
DWifiInfo.java1157 public boolean is5GHz() { in is5GHz() method in WifiInfo
1158 return ScanResult.is5GHz(mFrequency); in is5GHz()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java380 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() argument
2006 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 …]
DClientModeImplTest.java8220 when(secondaryWifiInfo.is5GHz()).thenReturn(true); in testFirmwareRoamDisconnectSecondaryInternetOnSameBand()
8239 when(secondaryWifiInfo.is5GHz()).thenReturn(false); in testFirmwareRoamDisconnectSecondaryInternetOnSameBand()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DKnownBandsChannelHelper.java192 } else if (ScanResult.is5GHz(frequency)) { in getBandFromChannel()
261 } else if (ScanResult.is5GHz(frequency)) { in getBand()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java207 } else if (ScanResult.is5GHz(frequency)) { in convertFrequencyToBand()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1458 Landroid/net/wifi/ScanResult;->is5GHz()Z
1459 Landroid/net/wifi/ScanResult;->is5GHz(I)Z
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java7585 } else if (ScanResult.is5GHz(freq)) { in selectGroupOwnerIntentIfNecessary()