Home
last modified time | relevance | path

Searched refs:getSavedNetworks (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupEvaluatorTest.java85 private Set<ScanResultMatchInfo> getSavedNetworks() { in getSavedNetworks() method in WakeupEvaluatorTest
163 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsNotInSavedNetworks()
176 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsBelowThreshold()
188 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResult()
201 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResultWithHighestRssi()
DWakeupControllerTest.java149 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(Arrays.asList(openNetwork)); in setUp()
347 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(Collections.emptyList()); in startDoesNotSetWakeupLockWhenNoSavedNetworksOrSuggestions()
437 when(mWifiConfigManager.getSavedNetworks(anyInt())) in startInitializesWakeupLockWithSavedScanResults()
513 when(mWifiConfigManager.getSavedNetworks(anyInt())) in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
556 when(mWifiConfigManager.getSavedNetworks(anyInt())) in getGoodSavedNetworksAndSuggestionsIgnoreInvalidatedCaptivePortal()
577 when(mWifiConfigManager.getSavedNetworks(anyInt())) in getGoodSavedNetworksAndSuggestionsIncludeValidatedCaptivePortal()
603 when(mWifiConfigManager.getSavedNetworks(anyInt())) in startFiltersOutDfsScanResults()
633 when(mWifiConfigManager.getSavedNetworks(anyInt())) in onResultsUpdatesWakeupLockForSavedNetworks()
DWifiConnectivityManagerTest.java614 when(wifiConfigManager.getSavedNetworks(anyInt())).thenReturn(networkList); in mockWifiConfigManager()
3207 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(wifiConfigurationList); in checkPeriodicScanIntervalWhenConnectedAndOnlySingleNetwork()
3251 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(wifiConfigurationList); in checkScanScheduleForMultipleSavedNetwork()
3294 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(wifiConfigurationList); in checkScanScheduleForSingleSavedNetworkConnected()
3340 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(wifiConfigurationList); in checkScanScheduleForSingleSavedNetwork()
3386 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(new ArrayList<>()); in checkScanScheduleForSinglePasspointNetworkConnected()
3436 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(new ArrayList<>()); in checkScanScheduleForSingleSuggestionsNetworkConnected()
3536 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(wifiConfigurationList); in checkScanScheduleForCurrentConnectedNetworkIsNull()
3604 when(mWifiConfigManager.getSavedNetworks(anyInt())) in checkNoScanWhenNoPotentialNetwork()
5633 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(Collections.EMPTY_LIST); in testExternalPnoScanRequest_gatedBylocationMode()
[all …]
DWifiConfigManagerTest.java1077 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testCanUpdateMacRandomizationSettingWithPasspointCreatorUid()
1142 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSingleEphemeralNetwork()
1158 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in addSinglePasspointNetwork()
1235 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSingleSuggestionNetwork()
1266 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSingleSpecifierNetwork()
1363 List<WifiConfiguration> retrievedSavedNetworks = mWifiConfigManager.getSavedNetworks( in testAddSinglePskNetwork()
1389 List<WifiConfiguration> retrievedSavedNetworks = mWifiConfigManager.getSavedNetworks( in testAddSingleWepNetwork()
2559 List<WifiConfiguration> configs = mWifiConfigManager.getSavedNetworks(Process.INVALID_UID); in testGetConfiguredNetworksMasksRandomizedMac()
2565 configs = mWifiConfigManager.getSavedNetworks(Process.WIFI_UID); in testGetConfiguredNetworksMasksRandomizedMac()
2572 configs = mWifiConfigManager.getSavedNetworks(targetUidConfigNonCreator); in testGetConfiguredNetworksMasksRandomizedMac()
[all …]
DWifiPulledAtomLoggerTest.java250 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testWifiConfiguredNetworkInfoPull()
DWifiServiceImplTest.java3199 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testConfiguredNetworkListAreEmptyFromAppWithoutPermission()
3218 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testConfiguredNetworkListAreEmptyOnSecurityException()
3237 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testConfiguredNetworkListAreVisibleFromPermittedApp()
3248 verify(mWifiConfigManager).getSavedNetworks(eq(WIFI_UID)); in testConfiguredNetworkListAreVisibleFromPermittedApp()
3274 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(Arrays.asList( in testGetCallerConfiguredNetworks_ReturnsCallerNetworks()
3307 when(mWifiConfigManager.getSavedNetworks(callerUid)).thenReturn(Arrays.asList( in testGetConfiguredNetworksAdmin_ReturnsNetworksWithDefaultMac()
6755 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testFactoryReset()
6800 verify(mWifiConfigManager, never()).getSavedNetworks(anyInt()); in testFactoryResetWithoutNetworkSettingsPermission()
10210 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testGetConfiguredNetworksForMultiTypeConfigs()
10242 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testGetConfiguredNetworksForMultiTypeConfigsWithoutAutoUpgradeEnabled()
[all …]
DClientModeImplTest.java989 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(Arrays.asList(config)); in initializeMocksForAddedNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiPulledAtomLogger.java236 mWifiInjector.getWifiConfigManager().getSavedNetworks(Process.WIFI_UID); in handleWifiConfiguredNetworkInfoPull()
DWakeupController.java384 List<WifiConfiguration> savedNetworks = mWifiConfigManager.getSavedNetworks( in getGoodSavedNetworksAndSuggestions()
DWifiConnectivityManager.java2532 List<WifiConfiguration> networks = mConfigManager.getSavedNetworks(-1); in getAllScanOptimizationNetworks()
2896 mConfigManager.getSavedNetworks(Process.WIFI_UID); in useSingleSavedNetworkSchedule()
2946 mConfigManager.getSavedNetworks(Process.WIFI_UID); in hasNoPotentialNetworkAvailable()
DWifiConfigManager.java809 public List<WifiConfiguration> getSavedNetworks(int targetUid) { in getSavedNetworks() method in WifiConfigManager
1862 List<WifiConfiguration> networkList = getSavedNetworks(Process.WIFI_UID); in removeExcessNetworks()
DWifiServiceImpl.java3316 () -> mWifiConfigManager.getSavedNetworks(finalTargetConfigUid), in getConfiguredNetworks()
5485 mWifiMetrics.updateSavedNetworks(mWifiConfigManager.getSavedNetworks(WIFI_UID));
5841 .getSavedNetworks(WIFI_UID);