Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java109 boolean isBadLinkspeed = (wifiInfo.is24GHz() in calculateScore()
113 boolean isGoodLinkspeed = (wifiInfo.is24GHz() in calculateScore()
174 boolean is24GHz = use24Thresholds || wifiInfo.is24GHz(); in calculateScore()
176 boolean isBadRSSI = (is24GHz && rssi < wifiConfigManager.mThresholdMinimumRssi24.get()) in calculateScore()
177 || (!is24GHz && rssi < wifiConfigManager.mThresholdMinimumRssi5.get()); in calculateScore()
178 boolean isLowRSSI = (is24GHz && rssi < wifiConfigManager.mThresholdQualifiedRssi24.get()) in calculateScore()
179 || (!is24GHz in calculateScore()
181 boolean isHighRSSI = (is24GHz && rssi >= wifiConfigManager.mThresholdSaturatedRssi24.get()) in calculateScore()
182 || (!is24GHz in calculateScore()
DScanDetailCache.java190 } else if (result.is24GHz()) { in getVisibilityByRssi()
214 } else if (result.is24GHz()) { in getVisibilityByRssi()
251 } else if (result.is24GHz()) { in getVisibilityByPasspointMatch()
DWifiQualifiedNetworkSelector.java241 if (mWifiInfo.is24GHz() && (mUserPreferedBand != WifiManager.WIFI_FREQUENCY_BAND_2GHZ)) { in isNetworkQualified()
243 + " Selection Current band = " + (mWifiInfo.is24GHz() ? "2.4GHz band" in isNetworkQualified()
249 if ((mWifiInfo.is24GHz() in isNetworkQualified()
253 localLog("Current band = " + (mWifiInfo.is24GHz() ? "2.4GHz band" : "5GHz band") in isNetworkQualified()
678 if ((scanResult.is24GHz() && scanResult.level in selectQualifiedNetwork()
683 lowSignalScan.append(scanId + "(" + (scanResult.is24GHz() ? "2.4GHz" : "5GHz") in selectQualifiedNetwork()
DWifiStateMachine.java3169 if (ScanResult.is24GHz(newFrequency)) { in fetchRssiLinkSpeedAndFrequencyNative()
5214 boolean is24GHz = mWifiInfo.is24GHz(); in noteWifiDisabledWhileAssociated()
5215 boolean isBadRSSI = (is24GHz && rssi < mWifiConfigManager.mThresholdMinimumRssi24.get()) in noteWifiDisabledWhileAssociated()
5216 || (!is24GHz && rssi < mWifiConfigManager.mThresholdMinimumRssi5.get()); in noteWifiDisabledWhileAssociated()
5218 (is24GHz && rssi < mWifiConfigManager.mThresholdQualifiedRssi24.get()) in noteWifiDisabledWhileAssociated()
5219 || (!is24GHz && mWifiInfo.getRssi() < in noteWifiDisabledWhileAssociated()
5221 boolean isHighRSSI = (is24GHz && rssi in noteWifiDisabledWhileAssociated()
5223 || (!is24GHz && mWifiInfo.getRssi() in noteWifiDisabledWhileAssociated()
7137 && ((ScanResult.is24GHz(mWifiInfo.getFrequency()) in processMessage()
DWifiConfigManager.java3251 if ((info.is24GHz() && info.getRssi()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java273 public boolean is24GHz() { in is24GHz() method in ScanResult
274 return ScanResult.is24GHz(frequency); in is24GHz()
281 public static boolean is24GHz(int freq) { in is24GHz() method in ScanResult
DWifiInfo.java403 public boolean is24GHz() { in is24GHz() method in WifiInfo
404 return ScanResult.is24GHz(mFrequency); in is24GHz()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiQualifiedNetworkSelectorTest.java156 when(wifiInfo.is24GHz()).thenReturn(true); in getWifiInfo()
1147 when(mWifiInfo.is24GHz()).thenReturn(false); in noNewQNSCurrentNetworkQualified()
1191 when(mWifiInfo.is24GHz()).thenReturn(false); in noNewQNSLinkBouncing()
1227 when(mWifiInfo.is24GHz()).thenReturn(true); in currentNetworkNotQualifiedDueToBandMismatch()
1273 when(mWifiInfo.is24GHz()).thenReturn(false); in currentNetworkNotQualifiedDueToOpenNetwork()
1321 when(mWifiInfo.is24GHz()).thenReturn(false); in currentNetworkNotQualifiedDueToEphemeral()
1367 when(mWifiInfo.is24GHz()).thenReturn(false); in currentNetworkNotQualifiedDueToLow5GRssi()
1414 when(mWifiInfo.is24GHz()).thenReturn(false); in currentNetworkNotQualifiedDueToLow2GRssi()
1461 when(mWifiInfo.is24GHz()).thenReturn(true); in currentNetworkStayDueToSameNetworkBonus()
1507 when(mWifiInfo.is24GHz()).thenReturn(true); in switchNetworkStayDueToCurrentNetworkRssiLow()
[all …]