Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java183 when(mWifiInfo.is5GHz()).thenReturn(false); in setupWifiInfo()
366 when(mWifiInfo.is5GHz()).thenReturn(true); in openNetworkIsNotSufficient()
413 when(mWifiInfo.is5GHz()).thenReturn(true); in lowRssi5GNetworkIsNotSufficient()
460 when(mWifiInfo.is5GHz()).thenReturn(true); in noInternetAccessNetworkIsNotSufficient()
540 when(mWifiInfo.is5GHz()).thenReturn(false); in noSelectionWhenCurrentNetworkNotInScanResults()
936 int rssi, boolean is5GHz, boolean isOpenNetwork, in testStayOrTryToSwitch() argument
940 int[] freqs = {is5GHz ? 5180 : 2437}; in testStayOrTryToSwitch()
967 when(mWifiInfo.is24GHz()).thenReturn(!ScanResult.is5GHz(freqs[0])); in testStayOrTryToSwitchImpl()
968 when(mWifiInfo.is5GHz()).thenReturn(ScanResult.is5GHz(freqs[0])); in testStayOrTryToSwitchImpl()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSavedNetworkEvaluator.java157 boolean is5GHz = scanResult.is5GHz(); in calculateBssidScore()
169 if (is5GHz) { in calculateBssidScore()
DWakeupEvaluator.java84 || (scanResult.is5GHz() && scanResult.level < mThresholdMinimumRssi5)); in isBelowThreshold()
DWifiNetworkSelector.java195 if (result.is5GHz()) return true; in is5GHzNetworkAvailable()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java378 public boolean is5GHz() { in is5GHz() method in ScanResult
379 return ScanResult.is5GHz(frequency); in is5GHz()
386 public static boolean is5GHz(int freq) { in is5GHz() method in ScanResult
DWifiInfo.java331 public boolean is5GHz() { in is5GHz() method in WifiInfo
332 return ScanResult.is5GHz(mFrequency); in is5GHz()
/frameworks/base/config/
Dhiddenapi-vendor-list.txt310 Landroid/net/wifi/WifiInfo;->is5GHz()Z
Dboot-image-profile.txt3945 HPLandroid/net/wifi/ScanResult;->is5GHz()Z
26635 HSPLandroid/net/wifi/WifiInfo;->is5GHz()Z