Home
last modified time | relevance | path

Searched refs:mScanRequestProxy (Results 1 – 14 of 14) sorted by relevance

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DScanRequestProxyTest.java113 private ScanRequestProxy mScanRequestProxy; field in ScanRequestProxyTest
157 mScanRequestProxy = in setUp()
173 mScanRequestProxy.enableScanning(true, false); in enableScanning()
202 mScanRequestProxy.enableScanning(true, false); in testEnableScanning()
213 mScanRequestProxy.enableScanning(false, false); in testDisableScanning()
286 mScanRequestProxy.enableScanning(true, false); in testStartScanWithHiddenNetworkScanningDisabled()
308 mScanRequestProxy.enableScanning(true, true); in testStartScanWithHiddenNetworkScanningEnabled()
553 mScanRequestProxy.enableScanning(true, false); in testToggleScanStateClearsScanResults()
572 mScanRequestProxy.enableScanning(true, false); in testToggleScanStateClearsScanResults()
583 mScanRequestProxy.enableScanning(false, false); in testToggleScanStateClearsScanResults()
[all …]
H A DActiveModeWardenTest.java145 @Mock ScanRequestProxy mScanRequestProxy; field in ActiveModeWardenTest
332 verify(mScanRequestProxy).enableScanning(true, true); in enterClientModeActiveState()
374 verify(mScanRequestProxy).enableScanning(true, false); in enterScanOnlyModeActiveState()
443 verify(mScanRequestProxy).enableScanning(false, false); in enterStaDisabledMode()
619 verify(mScanRequestProxy).enableScanning(true, true); in testScanOnlyModeScanHiddenNetworks()
638 reset(mBatteryStats, mScanRequestProxy); in testEnterSoftApModeFromDifferentState()
681 reset(mBatteryStats, mScanRequestProxy); in testSwitchModeWhenScanOnlyModeActiveState()
695 reset(mBatteryStats, mScanRequestProxy); in testSwitchModeWhenConnectModeActiveState()
3706 verify(mScanRequestProxy).enableScanning(true, false); in indicateStartOfEmergencyScan()
3728 verify(mScanRequestProxy).enableScanning(false, false); in indicateEndOfEmergencyScan()
[all …]
H A DWifiNetworkSelectorTest.java113 mScanRequestProxy); in setUp()
283 @Mock private ScanRequestProxy mScanRequestProxy; field in WifiNetworkSelectorTest
2108 when(mScanRequestProxy.isWpa2PersonalOnlyNetworkInRange(eq(TEST_AUTO_UPGRADE_SSID))) in testSaeAutoUpgradeWithPskNetworkWhenAutoUpgradeEnabled()
2138 when(mScanRequestProxy.isWpa2PersonalOnlyNetworkInRange(eq(networkSelectorChoice.SSID))) in testSaeAutoUpgradeWithPskNetworkWhenAutoUpgradeEnabled()
2158 when(mScanRequestProxy.isWpa2PersonalOnlyNetworkInRange(eq(TEST_AUTO_UPGRADE_SSID))) in testSaeNoAutoUpgradeWithPskNetworkWhenAutoUpgradeDisabled()
2190 when(mScanRequestProxy.isWpa2PersonalOnlyNetworkInRange(eq(TEST_AUTO_UPGRADE_SSID))) in testSaeNoAutoUpgradeWithPskNetworkWhenSaeNotSupported()
2224 when(mScanRequestProxy.isOpenOnlyNetworkInRange(eq(TEST_AUTO_UPGRADE_SSID))) in testOweAutoUpgradeWithOpenNetworkWhenAutoUpgradeEnabled()
2246 when(mScanRequestProxy.isOpenOnlyNetworkInRange(eq(networkSelectorChoice.SSID))) in testOweAutoUpgradeWithOpenNetworkWhenAutoUpgradeEnabled()
2263 when(mScanRequestProxy.isOpenOnlyNetworkInRange(eq(TEST_AUTO_UPGRADE_SSID))) in testOweNoAutoUpgradeWithOpenNetworkWhenAutoUpgradeDisabled()
2294 when(mScanRequestProxy.isOpenOnlyNetworkInRange(eq(TEST_AUTO_UPGRADE_SSID))) in testOweNoAutoUpgradeWithOweNetworkWhenOweNotSupported()
[all …]
H A DWifiShellCommandTest.java95 @Mock ScanRequestProxy mScanRequestProxy; field in WifiShellCommandTest
118 when(mWifiInjector.getScanRequestProxy()).thenReturn(mScanRequestProxy); in setUp()
840 verify(mScanRequestProxy).enableScanning(true, false); in testEnableScanning()
849 verify(mScanRequestProxy).enableScanning(true, true); in testEnableScanningWithHiddenNetworkOption()
H A DWifiServiceImplTest.java336 @Mock ScanRequestProxy mScanRequestProxy; field in WifiServiceImplTest
2653 when(mScanRequestProxy.getScanResults()).thenReturn(scanResultList); in testGetScanResults()
2661 verify(mScanRequestProxy).getScanResults(); in testGetScanResults()
2679 when(mScanRequestProxy.getScanResults()).thenReturn(scanResultList); in testGetScanResultsFailureInRunWithScissors()
2687 verify(mScanRequestProxy, never()).getScanResults(); in testGetScanResultsFailureInRunWithScissors()
2703 when(mScanRequestProxy.getScanResults()).thenReturn(scanResultList); in testGetMatchingScanResultsWithoutSpecifiedScanResults()
7492 verify(mScanRequestProxy).setScanThrottleEnabled(true); in testSetScanThrottleEnabledWithNetworkSettingsPermission()
7496 verify(mScanRequestProxy).setScanThrottleEnabled(false); in testSetScanThrottleEnabledWithNetworkSettingsPermission()
7507 verify(mScanRequestProxy, never()).setScanThrottleEnabled(true); in testSetScanThrottleEnabledWithNoNetworkSettingsPermission()
7512 when(mScanRequestProxy.isScanThrottleEnabled()).thenReturn(true); in testIsScanThrottleEnabled()
[all …]
H A DDppManagerTest.java139 ScanRequestProxy mScanRequestProxy; field in DppManagerTest
184 mWifiConfigManager, mContext, mDppMetrics, mScanRequestProxy, mWifiPermissionsUtil); in createDppManager()
831 when(mScanRequestProxy.getScanResults()).thenReturn(scanResults); in addTestNetworkInScanResult()
H A DClientModeImplTest.java456 @Mock ScanRequestProxy mScanRequestProxy; field in ClientModeImplTest
673 mDeviceConfigFacade, mScanRequestProxy, mWifiInfo, mWifiConnectivityManager, in initializeCmi()
944 when(mScanRequestProxy.getScanResult(eq(TEST_BSSID_STR))).thenReturn(scanResult); in connect()
5097 when(mScanRequestProxy.getScanResults()).thenReturn(Arrays.asList(scanResult)); in setupFilsEnabledApInScanResult()
5098 when(mScanRequestProxy.getScanResult(eq(TEST_BSSID_STR))).thenReturn(scanResult); in setupFilsEnabledApInScanResult()
5896 when(mScanRequestProxy.getScanResult(TEST_BSSID_STR)).thenReturn( in setupPasspointConnection()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiNetworkSelector.java110 private final ScanRequestProxy mScanRequestProxy; field in WifiNetworkSelector
956 mScanRequestProxy.isWpa2PersonalOnlyNetworkInRange(config.SSID), in removeSecurityParamsIfNecessary()
957 mScanRequestProxy.isWpa3PersonalOnlyNetworkInRange(config.SSID), in removeSecurityParamsIfNecessary()
963 mScanRequestProxy.isOpenOnlyNetworkInRange(config.SSID), in removeSecurityParamsIfNecessary()
964 mScanRequestProxy.isOweOnlyNetworkInRange(config.SSID), in removeSecurityParamsIfNecessary()
969 mScanRequestProxy.isWpa2EnterpriseOnlyNetworkInRange(config.SSID), in removeSecurityParamsIfNecessary()
970 mScanRequestProxy.isWpa3EnterpriseOnlyNetworkInRange(config.SSID), in removeSecurityParamsIfNecessary()
1285 mScanRequestProxy = scanRequestProxy; in WifiNetworkSelector()
H A DWifiInjector.java193 private final ScanRequestProxy mScanRequestProxy; field in WifiInjector
383 mScanRequestProxy = new ScanRequestProxy(mContext, in WifiInjector()
393 mScanRequestProxy); in WifiInjector()
435 mWifiConfigManager, mContext, mDppMetrics, mScanRequestProxy, mWifiPermissionsUtil); in WifiInjector()
544 mScanRequestProxy.enableVerboseLogging(verbose); in enableVerboseLogging()
733 mDeviceConfigFacade, mScanRequestProxy, wifiInfo, mWifiConnectivityManager, in makeClientModeImpl()
923 return mScanRequestProxy; in getScanRequestProxy()
H A DDppManager.java78 private final ScanRequestProxy mScanRequestProxy; field in DppManager
121 mScanRequestProxy = scanRequestProxy; in DppManager()
775 for (ScanResult scanResult : mScanRequestProxy.getScanResults()) { in isEnrolleeCompatibleWithNetwork()
H A DWifiServiceImpl.java188 private final ScanRequestProxy mScanRequestProxy; field in WifiServiceImpl
331 mScanRequestProxy = mWifiInjector.getScanRequestProxy(); in WifiServiceImpl()
616 mScanRequestProxy.startScan(callingUid, packageName), null); in startScan()
3220 mScanRequestProxy::getScanResults, Collections.emptyList()); in getScanResults()
3254 networkSuggestions, mScanRequestProxy.getScanResults()); in getMatchingScanResults()
3714 mScanRequestProxy.clearScanRequestTimestampsForApp(pkgName, uid);
3877 fd, pw, args, mScanRequestProxy.getScanResults());
5159 mWifiThreadRunner.post(()-> mScanRequestProxy.setScanThrottleEnabled(enable));
5171 return mWifiThreadRunner.call(()-> mScanRequestProxy.isScanThrottleEnabled(), true);
H A DActiveModeWarden.java110 private final ScanRequestProxy mScanRequestProxy; field in ActiveModeWarden
270 mScanRequestProxy = wifiInjector.getScanRequestProxy(); in ActiveModeWarden()
1363 mScanRequestProxy.enableScanning(scanEnabled, scanningForHiddenNetworksEnabled); in updateClientScanMode()
H A DWifiShellCommand.java161 private final ScanRequestProxy mScanRequestProxy; field in WifiShellCommand
221 mScanRequestProxy = wifiInjector.getScanRequestProxy(); in WifiShellCommand()
996 mScanRequestProxy.enableScanning(enabled, hiddenEnabled); in onCommand()
H A DClientModeImpl.java236 private final ScanRequestProxy mScanRequestProxy; field in ClientModeImpl
732 mScanRequestProxy = scanRequestProxy; in ClientModeImpl()
2461 ScanResult matchingScanResult = mScanRequestProxy.getScanResult(bssid);
4398 scanResult = mScanRequestProxy.getScanResult(mLastBssid);
6220 List<ScanResult> scanResults = mScanRequestProxy.getScanResults();
6340 scanResult = mScanRequestProxy.getScanResult(mLastBssid);
6518 ScanResult scanResult = mScanRequestProxy.getScanResult(mLastBssid);
6655 ScanResult scanResult = mScanRequestProxy.getScanResult(associatedBssid);