Home
last modified time | relevance | path

Searched refs:scanResults (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
H A DWifiUtilsTest.java88 ArrayList<ScanResult> scanResults = buildScanResultCache(); in testVerboseSummaryString_showsScanResultSpeedLabel() local
90 scanResults.toArray(new Parcelable[0])); in testVerboseSummaryString_showsScanResultSpeedLabel()
99 String summary = WifiUtils.verboseScanResultSummary(ap, scanResults.get(0), null, 0); in testVerboseSummaryString_showsScanResultSpeedLabel()
239 ArrayList<ScanResult> scanResults = new ArrayList<>(); in buildScanResultCache() local
242 scanResults.add(scanResult); in buildScanResultCache()
244 return scanResults; in buildScanResultCache()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
H A DWifiInteractor.kt109 ) { currentNetwork, scanResults ->
112 if (scanResults.isEmpty()) {
117 anyNonMatchingNetworkExists(currentNetwork, scanResults)
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DApexManagerTest.java200 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testGetApexSystemServices() local
201 mApexManager.notifyScanResult(scanResults); in testGetApexSystemServices()
325 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testReportErrorWithApkInApex() local
326 mApexManager.notifyScanResult(scanResults); in testReportErrorWithApkInApex()
352 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testRegisterApkInApexDoesNotRegisterSimilarPrefix() local
353 mApexManager.notifyScanResult(scanResults); in testRegisterApkInApexDoesNotRegisterSimilarPrefix()
434 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testGetActivePackageNameForApexModuleName() local
435 mApexManager.notifyScanResult(scanResults); in testGetActivePackageNameForApexModuleName()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiTracker.java729 List<ScanResult> scanResults, in getCachedOrCreate() argument
732 AccessPoint.getKey(mContext, scanResults.get(0))); in getCachedOrCreate()
734 accessPoint = new AccessPoint(mContext, scanResults); in getCachedOrCreate()
736 accessPoint.setScanResults(scanResults); in getCachedOrCreate()
758 List<ScanResult> scanResults, in getCachedOrCreateOsu() argument
762 accessPoint = new AccessPoint(mContext, provider, scanResults); in getCachedOrCreateOsu()
764 accessPoint.setScanResults(scanResults); in getCachedOrCreateOsu()
1111 private List<ScanResult> filterScanResultsByCapabilities(List<ScanResult> scanResults) { in filterScanResultsByCapabilities() argument
1112 if (scanResults == null) { in filterScanResultsByCapabilities()
1125 for (ScanResult scanResult : scanResults) { in filterScanResultsByCapabilities()
H A DTestAccessPointBuilder.java236 public TestAccessPointBuilder setScanResults(ArrayList<ScanResult> scanResults) { in setScanResults() argument
237 mScanResults = scanResults; in setScanResults()
H A DAccessPoint.java320 Parcelable[] scanResults = savedState.getParcelableArray(KEY_SCANRESULTS); in AccessPoint() local
322 for (Parcelable result : scanResults) { in AccessPoint()
1439 void setScanResults(Collection<ScanResult> scanResults) { in setScanResults() argument
1440 if (CollectionUtils.isEmpty(scanResults)) { in setScanResults()
1448 for (ScanResult result : scanResults) { in setScanResults()
1461 mScanResults.addAll(scanResults); in setScanResults()
/aosp14/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DCompanionDeviceDiscoveryService.java470 final List<android.net.wifi.ScanResult> scanResults = mWifiManager.getScanResults(); in onReceive() local
473 + TextUtils.join("\n ", scanResults)); in onReceive()
476 for (int i = 0; i < scanResults.size(); i++) { in onReceive()
477 final android.net.wifi.ScanResult scanResult = scanResults.get(i); in onReceive()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
H A DWifiRepositoryImplTest.kt1215 val scanResults = regex
1223 whenever(wifiManager.scanResults).thenReturn(scanResults)
1243 var scanResults = regex
1251 whenever(wifiManager.scanResults).thenReturn(scanResults)
1255 scanResults = emptyList()
1256 whenever(wifiManager.scanResults).thenReturn(scanResults)
H A DWifiRepositoryViaTrackerLibTest.kt1148 val scanResults = regex
1156 whenever(wifiManager.scanResults).thenReturn(scanResults)
1176 var scanResults = regex
1184 whenever(wifiManager.scanResults).thenReturn(scanResults)
1188 scanResults = listOf()
1189 whenever(wifiManager.scanResults).thenReturn(scanResults)
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DApexManager.java154 abstract void notifyScanResult(List<ScanResult> scanResults); in notifyScanResult() argument
473 void notifyScanResult(List<ScanResult> scanResults) { in notifyScanResult() argument
475 notifyScanResultLocked(scanResults); in notifyScanResult()
480 private void notifyScanResultLocked(List<ScanResult> scanResults) { in notifyScanResultLocked() argument
483 for (ScanResult scanResult : scanResults) { in notifyScanResultLocked()
1007 void notifyScanResult(List<ScanResult> scanResults) { in notifyScanResult() argument
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
H A DWifiRepositoryHelper.kt88 trySend(wifiManager.scanResults.toModel())
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
H A DAccessPointTest.java577 ArrayList<ScanResult> scanResults = new ArrayList<>();
580 scanResults.add(scanResult);
582 return scanResults;
1031 ArrayList<ScanResult> scanResults = new ArrayList<>(); in testSpeedLabelFallbackScoreIgnoresNullCurves() local
1034 scanResults.add(scanResultUnconnected); in testSpeedLabelFallbackScoreIgnoresNullCurves()
1038 scanResults.add(scanResultConnected); in testSpeedLabelFallbackScoreIgnoresNullCurves()
1045 .setScanResults(scanResults) in testSpeedLabelFallbackScoreIgnoresNullCurves()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DNetworkScoreService.java666 List<ScanResult> scanResults = resultsSupplier.get(); in ScanResultsScoreCacheFilter() local
667 final int size = scanResults.size(); in ScanResultsScoreCacheFilter()
670 ScanResult scanResult = scanResults.get(i); in ScanResultsScoreCacheFilter()