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.java529 when(mSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in testSetWifiEnabledMetricsPrivilegedApp()
548 when(mSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in testSetWifiEnabledMetricsNormalAppBelowQSDK()
567 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement()
582 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
596 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
612 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK()
629 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledFailureForAppsTargetingQSDK()
645 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnableAppOpsRejected()
665 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnableAppOpsIgnored()
677 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledFromNetworkSettingsHolderWhenInAirplaneMode()
[all …]
DWakeupControllerTest.java102 when(mWifiSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in setUp()
175 verify(mWifiSettingsStore, never()).handleWifiToggled(true /* wifiEnabled */); in verifyDoesNotEnableWifi()
647 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.java900 if (!mSettingsStore.handleWifiToggled(enable)) { in setWifiEnabled()