Home
last modified time | relevance | path

Searched refs:handleWifiToggled (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java536 when(mSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in testSetWifiEnabledMetricsPrivilegedApp()
555 when(mSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in testSetWifiEnabledMetricsNormalAppBelowQSDK()
574 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement()
589 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
603 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
622 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForDOAppsTargetingQSDK()
640 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForSystemAppsTargetingQSDK()
657 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK()
672 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledFailureWhenInCryptDebounce()
688 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledFailureForAppsTargetingQSDK()
[all …]
DWakeupControllerTest.java104 when(mWifiSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in setUp()
179 verify(mWifiSettingsStore, never()).handleWifiToggled(true /* wifiEnabled */); in verifyDoesNotEnableWifi()
651 verify(mWifiSettingsStore).handleWifiToggled(true /* wifiEnabled */); in onResultsEnablesWifi()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiSettingsStore.java83 public synchronized boolean handleWifiToggled(boolean wifiEnabled) { in handleWifiToggled() method in WifiSettingsStore
DWakeupController.java413 if (mWifiInjector.getWifiSettingsStore().handleWifiToggled(true /* wifiEnabled */)) { in enableWifi()
DWifiServiceImpl.java934 if (!mSettingsStore.handleWifiToggled(enable)) { in setWifiEnabled()