Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiSettingsStoreTest.java137 assertTrue(mWifiSettingsStore.handleWifiToggled(true)); in testApmEnhancementWifiToggled()
150 assertTrue(mWifiSettingsStore.handleWifiToggled(false)); in testApmEnhancementWifiToggled()
245 assertTrue(mWifiSettingsStore.handleWifiToggled(false)); in testApmSessionMetrics()
270 assertTrue(mWifiSettingsStore.handleWifiToggled(true)); in testApmSessionMetrics()
DWakeupControllerTest.java142 when(mWifiSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in setUp()
242 verify(mWifiSettingsStore, never()).handleWifiToggled(true /* wifiEnabled */); in verifyDoesNotEnableWifi()
799 verify(mWifiSettingsStore).handleWifiToggled(true /* wifiEnabled */); in onResultsEnablesWifi()
DWifiServiceImplTest.java889 when(mSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in testSetWifiEnabledMetricsPrivilegedApp()
919 when(mSettingsStore.handleWifiToggled(anyBoolean())).thenReturn(true); in testSetWifiEnabledMetricsNormalAppBelowQSdk()
941 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledMetricsNormalAppTargetingQSdkNoIncrement()
958 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessWithNetworkSettingsPermission()
973 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessWithNetworkManagedProvisioningPermission()
992 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForDOAppsTargetingQSdk()
1011 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForSystemAppsTargetingQSdk()
1029 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledSuccessForAppsTargetingBelowQSdk()
1047 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnabledFailureForAppsTargetingQSdk()
1063 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true); in testSetWifiEnableAppOpsRejected()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWakeupController.java476 if (mWifiInjector.getWifiSettingsStore().handleWifiToggled(true /* wifiEnabled */)) { in enableWifi()
DWifiSettingsStore.java253 public synchronized boolean handleWifiToggled(boolean wifiEnabled) { in handleWifiToggled() method in WifiSettingsStore
DWifiServiceImpl.java1345 if (!mSettingsStore.handleWifiToggled(enable)) { in setWifiEnabledInternal()