Searched refs:getBestScanResultByLevel (Results 1 – 5 of 5) sorted by relevance
21 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;150 final ScanResult bestScanResult = getBestScanResultByLevel(scanResults); in updateScanResultInfo()277 bestScan = getBestScanResultByLevel(homeScans); in onProvisioningComplete()279 bestScan = getBestScanResultByLevel(roamingScans); in onProvisioningComplete()
29 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;505 bestScanResult = getBestScanResultByLevel(currentScanResults); in updateScanResultInfo()
37 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;697 final ScanResult bestScanResult = getBestScanResultByLevel(mTargetScanResults); in updateTargetScanResultInfo()
75 public static ScanResult getBestScanResultByLevel(@NonNull List<ScanResult> scanResults) { in getBestScanResultByLevel() method in Utils
22 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;147 assertThat(getBestScanResultByLevel(new ArrayList<>())).isNull(); in testGetBestScanResult_emptyList_returnsNull()156 assertThat(getBestScanResultByLevel(Arrays.asList(bestResult, okayResult, badResult))) in testGetBestScanResult_returnsBestRssiScan()164 assertThat(getBestScanResultByLevel(Arrays.asList(scan))).isEqualTo(scan); in testGetBestScanResult_singleScan_returnsScan()