Searched refs:setBatterySaverEnabledManually (Results 1 – 3 of 3) sorted by relevance
259 mTarget.setBatterySaverEnabledManually(true); in testNoAutoBatterySaver()317 mTarget.setBatterySaverEnabledManually(false); in testNoAutoBatterySaver()390 mTarget.setBatterySaverEnabledManually(false); // Manually disable -> snooze. in testAutoBatterySaver()454 mTarget.setBatterySaverEnabledManually(false); in testAutoBatterySaver()487 mTarget.setBatterySaverEnabledManually(true); in testAutoBatterySaver_withSticky_withAutoOffDisabled()542 mTarget.setBatterySaverEnabledManually(false); in testAutoBatterySaver_withSticky_withAutoOffDisabled()566 mTarget.setBatterySaverEnabledManually(true); in testAutoBatterySaver_withSticky_withAutoOffEnabled()603 mTarget.setBatterySaverEnabledManually(true); in testAutoBatterySaver_withSticky_withAutoOffEnabled()654 mTarget.setBatterySaverEnabledManually(true); in testAutoBatterySaver_withSticky_withAutoOffEnabled()688 mTarget.setBatterySaverEnabledManually(true); in testAutoBatterySaver_withSticky_withAutoOffEnabled()[all …]
724 public void setBatterySaverEnabledManually(boolean enabled) { in setBatterySaverEnabledManually() method in BatterySaverStateMachine
2779 mBatterySaverStateMachine.setBatterySaverEnabledManually(enabled); in setLowPowerModeInternal()