Home
last modified time | relevance | path

Searched refs:bestResult (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java942 ScanResult bestResult = null; in updateBestRssiInfo() local
948 bestResult = result; in updateBestRssiInfo()
960 if (bestResult != null) { in updateBestRssiInfo()
961 ssid = bestResult.SSID; in updateBestRssiInfo()
962 bssid = bestResult.BSSID; in updateBestRssiInfo()
963 security = getSecurity(mContext, bestResult); in updateBestRssiInfo()
965 pskType = getPskType(bestResult); in updateBestRssiInfo()
968 mEapType = getEapType(bestResult); in updateBestRssiInfo()
971 mIsPskSaeTransitionMode = AccessPoint.isPskSaeTransitionMode(bestResult); in updateBestRssiInfo()
972 mIsOweTransitionMode = AccessPoint.isOweTransitionMode(bestResult); in updateBestRssiInfo()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java231 final ScanResult bestResult = buildScanResult("ssid", "bssid", 0, -50); in testGetBestScanResult_returnsBestRssiScan() local
235 assertThat(getBestScanResultByLevel(Arrays.asList(bestResult, okayResult, badResult))) in testGetBestScanResult_returnsBestRssiScan()
236 .isEqualTo(bestResult); in testGetBestScanResult_returnsBestRssiScan()