Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiSettingsStore.java72 public synchronized boolean handleWifiToggled(boolean wifiEnabled) { in handleWifiToggled() method in WifiSettingsStore
DWakeupController.java429 if (mWifiInjector.getWifiSettingsStore().handleWifiToggled(true /* wifiEnabled */)) { in enableWifi()
DWifiServiceImpl.java797 if (!mSettingsStore.handleWifiToggled(enable)) { in setWifiEnabled()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java566 when(mSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in testSetWifiEnabledMetricsPrivilegedApp()
587 when(mSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in testSetWifiEnabledMetricsNormalAppBelowQSdk()
606 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledMetricsNormalAppTargetingQSdkNoIncrement()
621 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
635 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
653 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForDOAppsTargetingQSdk()
671 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForSystemAppsTargetingQSdk()
688 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForAppsTargetingBelowQSdk()
705 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledFailureForAppsTargetingQSdk()
721 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnableAppOpsRejected()
[all …]
DWakeupControllerTest.java105 when(mWifiSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in setUp()
185 verify(mWifiSettingsStore, never()).handleWifiToggled(true /* wifiEnabled */); in verifyDoesNotEnableWifi()
669 verify(mWifiSettingsStore).handleWifiToggled(true /* wifiEnabled */); in onResultsEnablesWifi()