Searched refs:bestResult (Results 1 – 2 of 2) sorted by relevance
931 ScanResult bestResult = null; in updateBestRssiInfo() local937 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()
132 final ScanResult bestResult = buildScanResult("ssid", "bssid", 0, -50); in testGetBestScanResult_returnsBestRssiScan() local136 assertThat(getBestScanResultByLevel(Arrays.asList(bestResult, okayResult, badResult))) in testGetBestScanResult_returnsBestRssiScan()137 .isEqualTo(bestResult); in testGetBestScanResult_returnsBestRssiScan()