Searched refs:getBestScanResultByLevel (Results 1 – 5 of 5) sorted by relevance
21 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;164 final ScanResult bestScanResult = getBestScanResultByLevel(scanResults); in updateScanResultInfo()298 bestScan = getBestScanResultByLevel(homeScans); in onProvisioningComplete()300 bestScan = getBestScanResultByLevel(roamingScans); in onProvisioningComplete()
28 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;536 ScanResult bestScanResult = getBestScanResultByLevel(currentScanResults); in updateScanResultInfo()
38 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;696 final ScanResult bestScanResult = getBestScanResultByLevel(mTargetScanResults); in updateTargetScanResultInfo()
88 public static ScanResult getBestScanResultByLevel(@NonNull List<ScanResult> scanResults) { in getBestScanResultByLevel() method in Utils
22 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;226 assertThat(getBestScanResultByLevel(new ArrayList<>())).isNull(); in testGetBestScanResult_emptyList_returnsNull()235 assertThat(getBestScanResultByLevel(Arrays.asList(bestResult, okayResult, badResult))) in testGetBestScanResult_returnsBestRssiScan()243 assertThat(getBestScanResultByLevel(Arrays.asList(scan))).isEqualTo(scan); in testGetBestScanResult_singleScan_returnsScan()