Home
last modified time | relevance | path

Searched refs:ensureAutoBatterySaver (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/
DBatterySaverUtilsTest.java161 BatterySaverUtils.ensureAutoBatterySaver(mMockContext, BATTERY_SAVER_THRESHOLD_1); in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite()
167 BatterySaverUtils.ensureAutoBatterySaver(mMockContext, BATTERY_SAVER_THRESHOLD_2); in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatterySaverUtils.java214 public static void ensureAutoBatterySaver(Context context, int level) { in ensureAutoBatterySaver() method in BatterySaverUtils