Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSavedNetworkEvaluator.java116 boolean is5GHz = scanResult.is5GHz(); in calculateBssidScore()
127 if (is5GHz) { in calculateBssidScore()
DSoftApManager.java561 && ScanResult.is5GHz(mReportedFrequency)) { in updateUserBandPreferenceViolationMetricsIfNeeded()
DWifiNetworkSelector.java298 if (result.is5GHz()) return true; in is5GHzNetworkAvailable()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java245 when(mWifiInfo.is5GHz()).thenReturn(false); in setupWifiInfo()
433 when(mWifiInfo.is5GHz()).thenReturn(true); in openNetworkIsNotSufficient()
481 when(mWifiInfo.is5GHz()).thenReturn(true); in lowRssi5GNetworkIsNotSufficient()
529 when(mWifiInfo.is5GHz()).thenReturn(true); in noInternetAccessNetworkIsNotSufficient()
642 when(mWifiInfo.is5GHz()).thenReturn(false); in noSelectionWhenCurrentNetworkNotInScanResults()
1136 int rssi, boolean is5GHz, boolean isOpenNetwork, in testStayOrTryToSwitch() argument
1140 int[] freqs = {is5GHz ? 5180 : 2437}; in testStayOrTryToSwitch()
1168 when(mWifiInfo.is24GHz()).thenReturn(!ScanResult.is5GHz(freqs[0])); in testStayOrTryToSwitchImpl()
1169 when(mWifiInfo.is5GHz()).thenReturn(ScanResult.is5GHz(freqs[0])); in testStayOrTryToSwitchImpl()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java417 public boolean is5GHz() { in is5GHz() method in ScanResult
418 return ScanResult.is5GHz(frequency); in is5GHz()
425 public static boolean is5GHz(int freq) { in is5GHz() method in ScanResult
DWifiInfo.java455 public boolean is5GHz() { in is5GHz() method in WifiInfo
456 return ScanResult.is5GHz(mFrequency); in is5GHz()