Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DOsuWifiEntry.java21 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()
DPasspointWifiEntry.java28 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;
536 ScanResult bestScanResult = getBestScanResultByLevel(currentScanResults); in updateScanResultInfo()
DStandardWifiEntry.java38 import static com.android.wifitrackerlib.Utils.getBestScanResultByLevel;
696 final ScanResult bestScanResult = getBestScanResultByLevel(mTargetScanResults); in updateTargetScanResultInfo()
DUtils.java88 public static ScanResult getBestScanResultByLevel(@NonNull List<ScanResult> scanResults) { in getBestScanResultByLevel() method in Utils
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java22 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()