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.java931 ScanResult bestResult = null; in updateBestRssiInfo() local
937 bestResult = result; in updateBestRssiInfo()
949 if (bestResult != null) { in updateBestRssiInfo()
950 ssid = bestResult.SSID; in updateBestRssiInfo()
951 bssid = bestResult.BSSID; in updateBestRssiInfo()
952 security = getSecurity(mContext, bestResult); in updateBestRssiInfo()
954 pskType = getPskType(bestResult); in updateBestRssiInfo()
957 mEapType = getEapType(bestResult); in updateBestRssiInfo()
960 mIsPskSaeTransitionMode = AccessPoint.isPskSaeTransitionMode(bestResult); in updateBestRssiInfo()
961 mIsOweTransitionMode = AccessPoint.isOweTransitionMode(bestResult); in updateBestRssiInfo()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java132 final ScanResult bestResult = buildScanResult("ssid", "bssid", 0, -50); in testGetBestScanResult_returnsBestRssiScan() local
136 assertThat(getBestScanResultByLevel(Arrays.asList(bestResult, okayResult, badResult))) in testGetBestScanResult_returnsBestRssiScan()
137 .isEqualTo(bestResult); in testGetBestScanResult_returnsBestRssiScan()