Home
last modified time | relevance | path

Searched refs:getBestScanResultByLevel (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
H A DOsuWifiEntry.java21 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()
H A DPasspointWifiEntry.java29 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;
505 bestScanResult = getBestScanResultByLevel(currentScanResults); in updateScanResultInfo()
H A DStandardWifiEntry.java37 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;
697 final ScanResult bestScanResult = getBestScanResultByLevel(mTargetScanResults); in updateTargetScanResultInfo()
H A DUtils.java75 public static ScanResult getBestScanResultByLevel(@NonNull List<ScanResult> scanResults) { in getBestScanResultByLevel() method in Utils
/aosp12/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
H A DUtilsTest.java22 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()