Home
last modified time | relevance | path

Searched refs:isScanAlwaysAvailable (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiWakeupPreferenceControllerTest.java70 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in setUp()
92 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in getAvailabilityStatus_fragmentIsNullAndWifiScanDisabled_returnDisabled()
101 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in setChecked_mFragmentIsNullLocationEnable_wifiWakeupEnable()
112 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in setChecked_scanEnableLocationEnable_wifiWakeupEnable()
124 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in updateState_wifiWakeupEnableScanningDisable_wifiWakeupDisabled()
138 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in updateState_preferenceSetCheckedWhenWakeupSettingEnabled()
164 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in updateState_preferenceSetUncheckedWhenWifiScanningDisabled()
201 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in updateState_preferenceSetUncheckedWhenWifiScanningDisabledLocationEnabled()
DWifiScanningRequiredFragmentTest.java77 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in setUp()
DWifiSettingsTest.java179 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in setAdditionalSettingsSummaries_wifiWakeupEnabled_displayOn()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/preferences/
DWifiWakeupTogglePreferenceControllerTest.java133 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in handlePreferenceClicked_wifiScanningDisabled_showsDialog()
147 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in handlePreferenceClicked_wifiScanningEnabled_wifiWakeupDisabled_enablesWifiWakeup()
162 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in onCreate_wifiWakeupEnabled_wifiScanningEnabled_locationEnabled_isChecked()
174 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in onCreate_wifiWakeupDisabled_wifiScanningEnabled_locationEnabled_isNotChecked()
186 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in onCreate_wifiWakeupEnabled_wifiScanningDisabled_locationEnabled_isNotChecked()
198 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in onCreate_wifiWakeupEnabled_wifiScanningEnabled_locationDisabled_isNotChecked()
213 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in onConfirmWifiScanning_setsWifiScanningOn()
230 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in onConfirmWifiScanning_showsToast()
245 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in onConfirmWifiScanning_enablesWifiWakeup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DWifiScanningPreferenceControllerTest.java61 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in updateState_wifiScanningEnabled_shouldCheckedPreference()
70 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in updateState_wifiScanningDisabled_shouldUncheckedPreference()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java216 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(false); in setUp()
367 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(true); in enterScanOnlyModeActiveState()
444 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(false); in enterStaDisabledMode()
625 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(true); in testScanOnlyModeScanHiddenNetworks()
665 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(false); in testDisableWifiFromScanOnlyModeActiveState()
753 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(true); in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs()
1317 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(true); in enableScanMode()
1343 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(true); in ignoreEnableScanModeWhenWifiEnabled()
1356 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(true); in testEnterScanModeAtStartWhenSet()
1391 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(false); in testDoesNotEnterScanModeWhenLocationModeDisabled()
[all …]
DWifiShellCommandTest.java734 verify(mWifiService).isScanAlwaysAvailable(); in testStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkProviderSettingsTest.java251 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in setAdditionalSettingsSummaries_wifiWakeupEnabled_displayOn()
597 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in setWifiScanMessage_wifiOnScanOn_footerIsInvisible()
606 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in setWifiScanMessage_wifiOffLocationOnScanOn_footerIsVisible()
618 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in setWifiScanMessage_wifiOffLocationOnScanOff_footerIsInvisible()
628 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true); in setWifiScanMessage_wifiOffLocationOffScanOn_footerIsInvisible()
638 when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false); in setWifiScanMessage_wifiOffLocationOffScanOff_footerIsInvisible()
/packages/apps/Settings/src/com/android/settings/location/
DWifiScanningPreferenceController.java48 ((SwitchPreference) preference).setChecked(mWifiManager.isScanAlwaysAvailable()); in updateState()
DLocationServicesWifiScanningPreferenceController.java49 final boolean wifiScanOn = mWifiManager.isScanAlwaysAvailable(); in getSummary()
DWifiScanningMainSwitchPreferenceController.java66 return mWifiManager.isScanAlwaysAvailable(); in isChecked()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiSettingsConfigStore.java238 mCachedMigrationData.isScanAlwaysAvailable()); in migrateFromSettingsIfNeeded()
328 pw.println(mCachedMigrationData.isScanAlwaysAvailable()); in dump()
DWifiSettingsStore.java69 public synchronized boolean isScanAlwaysAvailable() { in isScanAlwaysAvailable() method in WifiSettingsStore
DActiveModeWarden.java1659 boolean isScanningAlwaysAvailable = mSettingsStore.isScanAlwaysAvailable(); in start()
1901 && mSettingsStore.isScanAlwaysAvailable()) in shouldEnableScanOnlyMode()
DWifiShellCommand.java2143 + (mWifiService.isScanAlwaysAvailable() in printStatus()
DWifiServiceImpl.java2778 public boolean isScanAlwaysAvailable() { in isScanAlwaysAvailable() method in WifiServiceImpl
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiWakeupPreferenceController.java171 return mWifiManager.isScanAlwaysAvailable(); in getWifiScanningEnabled()
DWifiSettings.java937 && mWifiManager.isScanAlwaysAvailable() in isWifiWakeupEnabled()
949 final boolean wifiScanningMode = mWifiManager.isScanAlwaysAvailable(); in setOffMessage()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/preferences/
DWifiWakeupTogglePreferenceController.java137 return mWifiManager.isScanAlwaysAvailable(); in getWifiScanningEnabled()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java862 || !mWifiManager.isScanAlwaysAvailable()) { in setWifiScanMessage()
1155 && mWifiManager.isScanAlwaysAvailable() in isWifiWakeupEnabled()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl175 boolean isScanAlwaysAvailable(); in isScanAlwaysAvailable() method
DBaseWifiService.java351 public boolean isScanAlwaysAvailable() { in isScanAlwaysAvailable() method in BaseWifiService
DWifiManager.java3787 public boolean isScanAlwaysAvailable() { in isScanAlwaysAvailable() method in WifiManager
3789 return mService.isScanAlwaysAvailable(); in isScanAlwaysAvailable()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java3363 when(mWifiService.isScanAlwaysAvailable()).thenReturn(false); in testScanAvailable()
3364 assertFalse(mWifiManager.isScanAlwaysAvailable()); in testScanAvailable()
3365 verify(mWifiService).isScanAlwaysAvailable(); in testScanAvailable()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt880 Landroid/net/wifi/IWifiManager$Stub$Proxy;->isScanAlwaysAvailable()Z
1008 Landroid/net/wifi/IWifiManager;->isScanAlwaysAvailable()Z

12