Searched refs:setBatterySaverEnabled (Results 1 – 18 of 18) sorted by relevance
109 LOCATION_MODE_NO_CHANGE).setBatterySaverEnabled(false).build()); in testListener()114 LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF).setBatterySaverEnabled(false).build()); in testListener()119 LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF).setBatterySaverEnabled(false).build()); in testListener()124 LOCATION_MODE_FOREGROUND_ONLY).setBatterySaverEnabled(false).build()); in testListener()129 LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF).setBatterySaverEnabled( in testListener()136 LOCATION_MODE_NO_CHANGE).setBatterySaverEnabled(true).build()); in testListener()141 LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF).setBatterySaverEnabled(true).build()); in testListener()147 LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF).setBatterySaverEnabled(true).build()); in testListener()153 LOCATION_MODE_FOREGROUND_ONLY).setBatterySaverEnabled(true).build()); in testListener()158 LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF).setBatterySaverEnabled( in testListener()[all …]
949 return builder.setBatterySaverEnabled(isEnabled) in getBatterySaverPolicy()953 return builder.setBatterySaverEnabled(currPolicy.disableAnimation) in getBatterySaverPolicy()956 return builder.setBatterySaverEnabled(currPolicy.deferFullBackup) in getBatterySaverPolicy()959 return builder.setBatterySaverEnabled(currPolicy.deferKeyValueBackup) in getBatterySaverPolicy()962 return builder.setBatterySaverEnabled(currPolicy.enableFirewall) in getBatterySaverPolicy()965 return builder.setBatterySaverEnabled(currPolicy.enableAdjustBrightness) in getBatterySaverPolicy()969 return builder.setBatterySaverEnabled(currPolicy.enableDataSaver) in getBatterySaverPolicy()975 return builder.setBatterySaverEnabled(soundTriggerBatterySaverEnabled) in getBatterySaverPolicy()979 return builder.setBatterySaverEnabled(currPolicy.disableVibration) in getBatterySaverPolicy()982 return builder.setBatterySaverEnabled(currPolicy.forceAllAppsStandby) in getBatterySaverPolicy()[all …]
255 .setBatterySaverEnabled(batterySaverEnabled) in testUpdateWhileAwake_UpdatesDisplayPowerRequest()292 .setBatterySaverEnabled(batterySaverEnabled) in testUpdateWhileDozing_UpdatesDisplayPowerRequest()332 .setBatterySaverEnabled(batterySaverEnabled) in testUpdateWhileDozing_DozeAfterScreenOff()371 .setBatterySaverEnabled(batterySaverEnabled) in testUpdateQuiescent()409 .setBatterySaverEnabled(batterySaverEnabled) in testUpdateWhileAsleep_UpdatesDisplayPowerRequest()447 .setBatterySaverEnabled(batterySaverEnabled) in testUpdateWhileDreamingWithScreenBrightWakelock_UpdatesDisplayPowerRequest()486 .setBatterySaverEnabled(batterySaverEnabled) in testUpdateWhileAwakeBootNotComplete_UpdatesDisplayPowerRequest()523 .setBatterySaverEnabled(batterySaverEnabled) in testUpdateWhileAwakeUserActivityScreenBright_UpdatesDisplayPowerRequest()561 .setBatterySaverEnabled(batterySaverEnabled) in testUpdateWhileAwakeScreenBrightnessBoostInProgress_UpdatesDisplayPowerRequest()
227 .setBatterySaverEnabled(BATTERY_SAVER_ENABLED) in setUp()
81 public Builder setBatterySaverEnabled(boolean enabled) { in setBatterySaverEnabled() method in PowerSaveState.Builder
116 .setBatterySaverEnabled(true) in testIndependentAODBatterySaver_true()131 .setBatterySaverEnabled(false) in testIndependentAODBatterySaver_false()
199 .thenReturn(new PowerSaveState.Builder().setBatterySaverEnabled(false).build()); in setUp()505 new PowerSaveState.Builder().setBatterySaverEnabled(true).build()); in autoNightModeSwitch_batterySaverOn()517 new PowerSaveState.Builder().setBatterySaverEnabled(true).build()); in nightModeCustomBedtime_batterySaverOn_notInBedtime_shouldActivateNightMode()527 new PowerSaveState.Builder().setBatterySaverEnabled(true).build()); in nightModeCustomBedtime_batterySaverOn_afterBedtime_shouldKeepNightModeActivated()543 new PowerSaveState.Builder().setBatterySaverEnabled(true).build()); in nightModeBedtime_duringBedtime_batterySaverOnThenOff_shouldKeepNightModeActivated()545 new PowerSaveState.Builder().setBatterySaverEnabled(false).build()); in nightModeBedtime_duringBedtime_batterySaverOnThenOff_shouldKeepNightModeActivated()557 new PowerSaveState.Builder().setBatterySaverEnabled(true).build()); in nightModeCustomBedtime_duringBedtime_batterySaverOnThenOff_finallyAfterBedtime_shouldDeactivateNightMode()559 new PowerSaveState.Builder().setBatterySaverEnabled(false).build()); in nightModeCustomBedtime_duringBedtime_batterySaverOnThenOff_finallyAfterBedtime_shouldDeactivateNightMode()
387 .setBatterySaverEnabled(false).build(); in registerLocalServices()768 .setBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()777 .setBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()786 .setBatterySaverEnabled(true) in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()795 .setBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()809 .setBatterySaverEnabled(true) in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()819 .setBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()828 .setBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()847 .setBatterySaverEnabled(true) in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()861 .setBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()[all …]
2541 PowerSaveState powerSaveState = new PowerSaveState.Builder().setBatterySaverEnabled( in testModeManager_NoBatterySaver_QuickDoze()2561 PowerSaveState powerSaveState = new PowerSaveState.Builder().setBatterySaverEnabled( in testModeManager_WithBatterySaver_QuickDoze()2581 PowerSaveState powerSaveState = new PowerSaveState.Builder().setBatterySaverEnabled( in testModeManager_QuickDozeRequestedBatterySaverEnabledOnBody_QuickDozeEnabled()2597 PowerSaveState powerSaveState = new PowerSaveState.Builder().setBatterySaverEnabled( in testModeManager_QuickDozeRequestedBatterySaverEnabledOffBody_QuickDozeEnabled()2613 PowerSaveState powerSaveState = new PowerSaveState.Builder().setBatterySaverEnabled( in testModeManager_QuickDozeRequestedBatterySaverDisabledOnBody_QuickDozeEnabled()2629 PowerSaveState powerSaveState = new PowerSaveState.Builder().setBatterySaverEnabled( in testModeManager_QuickDozeRequestedBatterySaverDisabledOffBody_QuickDozeEnabled()2645 PowerSaveState powerSaveState = new PowerSaveState.Builder().setBatterySaverEnabled( in testModeManager_QuickDozeNotRequestedBatterySaverEnabledOnBody_QuickDozeEnabled()2661 PowerSaveState powerSaveState = new PowerSaveState.Builder().setBatterySaverEnabled( in testModeManager_QuickDozeNotRequestedBatterySaverEnabledOffBody_QuickDozeEnabled()
227 return new PowerSaveState.Builder().setBatterySaverEnabled(mPowerSaveMode).build(); in getPowerSaveState()
359 .setBatterySaverEnabled(batterySaverEnabled) in parcelPowerSaveStateToNativeAndVerify()
110 .setBatterySaverEnabled(true).build();
137 .setBatterySaverEnabled(true).build();
1265 .thenReturn(new PowerSaveState.Builder().setBatterySaverEnabled(true).build()); in setUpPowerManager()
1175 Landroid/os/PowerSaveState$Builder;->setBatterySaverEnabled(Z)Landroid/os/PowerSaveState$Builder;
12595 HSPLandroid/os/PowerSaveState$Builder;->setBatterySaverEnabled(Z)Landroid/os/PowerSaveState$Builder;
12592 HSPLandroid/os/PowerSaveState$Builder;->setBatterySaverEnabled(Z)Landroid/os/PowerSaveState$Builder;
37623 Landroid/os/PowerSaveState$Builder;->setBatterySaverEnabled(Z)Landroid/os/PowerSaveState$Builder;