/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | BatchedScanResult.java | 41 public final List<ScanResult> scanResults = new ArrayList<ScanResult>(); field in BatchedScanResult 49 for (ScanResult s : source.scanResults) scanResults.add(new ScanResult(s)); in BatchedScanResult() 59 for (ScanResult s : scanResults) { in toString() 74 dest.writeInt(scanResults.size()); in writeToParcel() 75 for (ScanResult s : scanResults) { in writeToParcel() 88 result.scanResults.add(ScanResult.CREATOR.createFromParcel(in));
|
D | IPnoScanResultsCallback.aidl | 28 void onScanResultsAvailable(in List<ScanResult> scanResults); in onScanResultsAvailable() argument
|
D | BaseWifiService.java | 121 List<ScanResult> scanResults) { in getAllMatchingFqdnsForScanResults() argument 137 List<ScanResult> scanResults) { in getMatchingOsuProviders() argument 879 List<ScanResult> scanResults) { in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser() argument 915 List<ScanResult> scanResults, in getMatchingScanResults() argument 932 getAllMatchingPasspointProfilesForScanResults(List<ScanResult> scanResults) { in getAllMatchingPasspointProfilesForScanResults() argument
|
D | INetworkRequestMatchCallback.aidl | 34 void onMatch(in List<ScanResult> scanResults); in onMatch() argument
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupEvaluatorTest.java | 160 Set<ScanResult> scanResults = Collections.singleton( in findViableNetwork_returnsNullWhenScanResultIsNotInSavedNetworks() local 163 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsNotInSavedNetworks() 173 Set<ScanResult> scanResults = Collections.singleton( in findViableNetwork_returnsNullWhenScanResultIsBelowThreshold() local 176 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsBelowThreshold() 186 Set<ScanResult> scanResults = Collections.singleton(savedScanResult); in findViableNetwork_returnsConnectableScanResult() local 188 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResult() 199 Set<ScanResult> scanResults = Sets.newArraySet(savedScanResultLow, savedScanResultHigh); in findViableNetwork_returnsConnectableScanResultWithHighestRssi() local 201 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResultWithHighestRssi()
|
D | OpenNetworkNotifierTest.java | 415 List<ScanDetail> scanResults = mOpenNetworks; in userDismissedNotification_shouldBlacklistNetwork() local 416 mNotificationController.handleScanResults(scanResults); in userDismissedNotification_shouldBlacklistNetwork() 441 List<ScanDetail> scanResults = mOpenNetworks; in userConnectedNotification_shouldBlacklistNetwork() local 442 mNotificationController.handleScanResults(scanResults); in userConnectedNotification_shouldBlacklistNetwork() 801 List<ScanDetail> scanResults = new ArrayList<>(); in createOpenScanResults() local 807 scanResults.add(new ScanDetail(scanResult)); in createOpenScanResults() 809 return scanResults; in createOpenScanResults() 815 List<ScanDetail> scanResults = createOpenScanResults(TEST_SSID_1); in onlyNetworkIsRecommended() local 816 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL; in onlyNetworkIsRecommended() 818 ScanResult actual = mNotificationController.recommendNetwork(scanResults); in onlyNetworkIsRecommended() [all …]
|
D | ScanRequestProxyTest.java | 1153 ScanResult[] scanResults = mTestHiddenNetworkScanDatas[0].getResults(); in setupScanDataWithHiddenNetwork() local 1154 assertEquals(2, scanResults.length); in setupScanDataWithHiddenNetwork() 1155 scanResults[0].BSSID = TEST_HIDDEN_NETWORK_MAC; in setupScanDataWithHiddenNetwork() 1156 scanResults[1].BSSID = TEST_HIDDEN_NETWORK_MAC; in setupScanDataWithHiddenNetwork() 1158 scanResults[0].SSID = ""; in setupScanDataWithHiddenNetwork() 1159 scanResults[1].SSID = TEST_HIDDEN_NETWORK_SSID; in setupScanDataWithHiddenNetwork() 1161 scanResults[0].SSID = TEST_HIDDEN_NETWORK_SSID; in setupScanDataWithHiddenNetwork() 1162 scanResults[1].SSID = ""; in setupScanDataWithHiddenNetwork() 1237 List<ScanResult> scanResults = mScanRequestProxy.getScanResults(); in testGetScanResults_modifyReturnedList_doesNotChangeOriginal() local 1238 int scanResultsOriginalSize = scanResults.size(); in testGetScanResults_modifyReturnedList_doesNotChangeOriginal() [all …]
|
D | WifiNetworkFactoryTest.java | 3983 ScanResult[] scanResults = testScanDatas[0].getResults(); in setupScanData() local 3984 assertEquals(4, scanResults.length); in setupScanData() 3989 scanResults[0].SSID = ssid1; in setupScanData() 3990 scanResults[0].setWifiSsid(WifiSsid.fromUtf8Text(ssid1)); in setupScanData() 3991 scanResults[0].BSSID = TEST_BSSID_1; in setupScanData() 3992 scanResults[0].capabilities = caps; in setupScanData() 3993 scanResults[0].level = -45; in setupScanData() 3994 scanResults[1].SSID = ssid2; in setupScanData() 3995 scanResults[1].setWifiSsid(WifiSsid.fromUtf8Text(ssid2)); in setupScanData() 3996 scanResults[1].BSSID = TEST_BSSID_2; in setupScanData() [all …]
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | ConnectUtil.kt | 161 val scanResults = getWifiScanResults() in getOrCreateWifiConfiguration() constant 162 val virtualConfig = maybeConfigureVirtualNetwork(scanResults) in getOrCreateWifiConfiguration() 179 val scanResults = scanResultsList.map { "\"${it.SSID}\"" }.toSet() in getOrCreateWifiConfiguration() constant 180 return configs.firstOrNull { scanResults.contains(it.SSID) } ?: configs[0] in getOrCreateWifiConfiguration() 190 scanResultsFuture.complete(wifiManager.scanResults) in getWifiScanResults() 208 private fun maybeConfigureVirtualNetwork(scanResults: List<ScanResult>): WifiConfiguration? { in maybeConfigureVirtualNetwork() 211 Log.d(TAG, "Wifi scan results: $scanResults") in maybeConfigureVirtualNetwork() 212 val virtualScanResult = scanResults.firstOrNull { virtualSsids.contains(it.SSID) } in maybeConfigureVirtualNetwork()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 101 ScanResults scanResults = createDummyScanResults(); in startHwDisconnectedPnoScan() local 106 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in startHwDisconnectedPnoScan() 158 ScanResults scanResults = createDummyScanResults(); in ignoreHwDisconnectedPnoScanStopFailure() local 159 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in ignoreHwDisconnectedPnoScanStopFailure() 239 ScanResults scanResults) { in expectSuccessfulHwDisconnectedPnoScan() argument 244 .thenReturn(scanResults.getScanDetailArrayList()); in expectSuccessfulHwDisconnectedPnoScan() 246 .thenReturn(scanResults.getScanDetailArrayList()); in expectSuccessfulHwDisconnectedPnoScan() 252 order.verify(eventHandler).onPnoNetworkFound(scanResults.getRawScanResults()); in expectSuccessfulHwDisconnectedPnoScan()
|
D | WifiScanningServiceTest.java | 2082 ScanResults scanResults = in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() local 2089 scanResults.getRawScanResults()[0].timestamp = (currentTimeInMillis - 1) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 2090 scanResults.getRawScanResults()[1].timestamp = (currentTimeInMillis - 2) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 2091 scanResults.getRawScanResults()[2].timestamp = in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 2094 scanResults.getRawScanResults()[0], in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 2095 scanResults.getRawScanResults()[1]); in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 2098 computeSingleScanNativeSettings(requestSettings), scanResults); in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 2549 ScanResults scanResults = createScanResultsForPno(); in testSuccessfulSwPnoScan() local 2553 createPnoSettings(scanResults); in testSuccessfulSwPnoScan() 2556 .thenReturn(scanResults.getScanData()); in testSuccessfulSwPnoScan() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WakeupController.java | 306 List<ScanResult> scanResults = filterDfsScanResults( in start() local 309 Set<ScanResultMatchInfo> matchInfos = toMatchInfos(scanResults); in start() 366 private List<ScanResult> filterDfsScanResults(Collection<ScanResult> scanResults) { in filterDfsScanResults() argument 376 return scanResults.stream() in filterDfsScanResults() 425 private void handleScanResults(Collection<ScanResult> scanResults) { in handleScanResults() argument 442 Set<ScanResultMatchInfo> matchInfos = toMatchInfos(scanResults); in handleScanResults() 450 ScanResult network = mWakeupEvaluator.findViableNetwork(scanResults, goodNetworks); in handleScanResults() 461 private static Set<ScanResultMatchInfo> toMatchInfos(Collection<ScanResult> scanResults) { in toMatchInfos() argument 462 return scanResults.stream() in toMatchInfos()
|
D | WakeupEvaluator.java | 46 public ScanResult findViableNetwork(Collection<ScanResult> scanResults, in findViableNetwork() argument 50 for (ScanResult scanResult : scanResults) { in findViableNetwork()
|
/packages/modules/Wifi/framework/java/android/net/wifi/util/ |
D | ScanResultUtil.java | 438 @Nullable List<ScanResult> scanResults, long nowMs) { in dumpScanResults() argument 439 if (scanResults != null && scanResults.size() != 0) { in dumpScanResults() 442 for (ScanResult r : scanResults) { in dumpScanResults() 485 public static boolean validateScanResultList(@Nullable List<ScanResult> scanResults) { in validateScanResultList() argument 486 if (scanResults == null || scanResults.isEmpty()) { in validateScanResultList() 490 for (ScanResult scanResult : scanResults) { in validateScanResultList()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/networkrequest/ |
D | NetworkRequestDialogFragment.java | 430 public void onMatch(List<ScanResult> scanResults) { in onMatch() argument 432 if (scanResults != null && scanResults.size() > 0) { in onMatch() 434 renewWifiEntryList(scanResults); in onMatch() 442 private void renewWifiEntryList(@Nullable List<ScanResult> scanResults) { in renewWifiEntryList() argument 449 if (scanResults != null) { in renewWifiEntryList() 450 mFilterWifiTracker.updateKeys(scanResults); in renewWifiEntryList() 494 void updateKeys(List<ScanResult> scanResults) { in updateKeys() argument 495 mMatchedScanResults = scanResults; in updateKeys()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkRequestDialogFragment.java | 411 public void onMatch(List<ScanResult> scanResults) { in onMatch() argument 413 if (scanResults != null && scanResults.size() > 0) { in onMatch() 415 renewAccessPointList(scanResults); in onMatch() 423 private void renewAccessPointList(List<ScanResult> scanResults) { in renewAccessPointList() argument 430 if (scanResults != null) { in renewAccessPointList() 431 mFilterWifiTracker.updateKeys(scanResults); in renewAccessPointList() 480 public void updateKeys(List<ScanResult> scanResults) { in updateKeys() argument 481 for (ScanResult scanResult : scanResults) { in updateKeys()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | NetworkRequestDialogFragmentTest.java | 259 final List<ScanResult> scanResults = new ArrayList<>(); in onMatchManyResult_showNeutralButton() local 264 scanResults.add(scanResult); in onMatchManyResult_showNeutralButton() 266 networkRequestDialogFragment.onMatch(scanResults); in onMatchManyResult_showNeutralButton() 280 final List<ScanResult> scanResults = new ArrayList<>(); in clickNeutralButton_hideNeutralButton() local 285 scanResults.add(scanResult); in clickNeutralButton_hideNeutralButton() 287 networkRequestDialogFragment.onMatch(scanResults); in clickNeutralButton_hideNeutralButton()
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | LeScanningTest.java | 345 List<ScanResult> scanResults = new ArrayList<>(); in startScanning() local 370 if (scanResults.size() < 2) { in startScanning() 371 scanResults.add(result); in startScanning() 373 future.complete(scanResults); in startScanning() 376 scanResults.add(result); in startScanning() 377 future.complete(scanResults); in startScanning()
|
D | PendingIntentScanReceiver.java | 106 List<ScanResult> scanResults = in onReceive() local 112 sNextScanResultFuture.get().complete(scanResults); in onReceive()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/ |
D | ScanResultUtilTest.java | 728 List<ScanResult> scanResults = new ArrayList<>(); in testValidateScanResultList() local 730 assertFalse(ScanResultUtil.validateScanResultList(scanResults)); in testValidateScanResultList() 731 scanResults.add(null); in testValidateScanResultList() 732 assertFalse(ScanResultUtil.validateScanResultList(scanResults)); in testValidateScanResultList() 734 scanResults.clear(); in testValidateScanResultList() 735 scanResults.add(scanResult); in testValidateScanResultList() 736 assertFalse(ScanResultUtil.validateScanResultList(scanResults)); in testValidateScanResultList() 740 assertTrue(ScanResultUtil.validateScanResultList(scanResults)); in testValidateScanResultList()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | NetworkRequestDialogActivity.java | 200 public void onMatch(List<ScanResult> scanResults) { in onMatch() argument 211 mMatchedConfig = WifiUtils.getWifiConfig(null /* wifiEntry */, scanResults.get(0)); in onMatch() 219 mDialogFragment.onMatch(scanResults); in onMatch()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiStaIfaceAidlImplTest.java | 353 ScanResult[] scanResults = scanData.getResults(); in testGetCachedScanData() local 354 assertEquals(1, scanResults.length); in testGetCachedScanData() 355 assertEquals(10_000_000, scanResults[0].timestamp); in testGetCachedScanData() 356 assertEquals(-80, scanResults[0].level); in testGetCachedScanData() 357 assertEquals(5260, scanResults[0].frequency); in testGetCachedScanData() 358 assertEquals(ScanResult.CHANNEL_WIDTH_80MHZ, scanResults[0].channelWidth); in testGetCachedScanData() 359 assertEquals(ScanResult.WIFI_STANDARD_11AX, scanResults[0].getWifiStandard()); in testGetCachedScanData() 360 assertEquals("61:52:43:34:25:16", scanResults[0].BSSID); in testGetCachedScanData()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioner.java | 260 List<ScanResult> scanResults = mWifiManager.getScanResults(); in startProvisioning() local 261 mOsuProvider = getBestMatchingOsuProvider(scanResults, mOsuProvider); in startProvisioning() 1009 List<ScanResult> scanResults, in getBestMatchingOsuProvider() argument 1011 if (scanResults == null) { in getBestMatchingOsuProvider() 1026 scanResults.removeIf((scanResult) -> !scanResult.isPasspointNetwork()); in getBestMatchingOsuProvider() 1027 scanResults.sort((sr1, sr2) -> sr2.level - sr1.level); in getBestMatchingOsuProvider() 1029 for (ScanResult scanResult : scanResults) { in getBestMatchingOsuProvider()
|
D | PasspointManager.java | 1070 getAllMatchingPasspointProfilesForScanResults(List<ScanResult> scanResults) { in getAllMatchingPasspointProfilesForScanResults() argument 1071 if (scanResults == null) { in getAllMatchingPasspointProfilesForScanResults() 1077 for (ScanResult scanResult : scanResults) { in getAllMatchingPasspointProfilesForScanResults() 1109 List<ScanResult> scanResults) { in getMatchingOsuProviders() argument 1110 if (scanResults == null) { in getMatchingOsuProviders() 1116 for (ScanResult scanResult : scanResults) { in getMatchingOsuProviders() 1439 @NonNull List<ScanResult> scanResults) { in getMatchingScanResults() argument 1443 for (ScanResult scanResult : scanResults) { in getMatchingScanResults()
|
/packages/modules/Wifi/framework/api/ |
D | system-removed.txt | 9 field public final java.util.List<android.net.wifi.ScanResult> scanResults;
|