Home
last modified time | relevance | path

Searched refs:LOW_POWER_MANUAL_ACTIVATION_COUNT (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/
DBatterySaverUtilsTest.java79 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_enableWithWarning_firstCall_needConfirmationWarning()
95 Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enableWithWarning_firstCall_needConfirmationWarning()
103 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_enableWithWarning_secondCall_expectUpdateIntent()
118 Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enableWithWarning_secondCall_expectUpdateIntent()
126 Secure.putInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, 1); in testSetPowerSaveMode_enableWithWarning_thirdCall_expectUpdateIntent()
141 Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enableWithWarning_thirdCall_expectUpdateIntent()
149 Secure.putInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, 3); in testSetPowerSaveMode_enableWithWarning_5thCall_needAutoSuggestionWarning()
165 Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enableWithWarning_5thCall_needAutoSuggestionWarning()
172 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_enableWithoutWarning_expectUpdateIntent()
186 assertEquals(1, Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enableWithoutWarning_expectUpdateIntent()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatterySaverUtils.java142 Secure.getInt(cr, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, 0) + 1; in setPowerSaveMode()
143 Secure.putInt(cr, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, count); in setPowerSaveMode()
/frameworks/base/packages/SettingsProvider/test/src/android/provider/
DSettingsBackupTest.java774 Settings.Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT,
/frameworks/base/core/java/android/provider/
DSettings.java11714 public static final String LOW_POWER_MANUAL_ACTIVATION_COUNT = field in Settings.Secure
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt42059 Landroid/provider/Settings$Secure;->LOW_POWER_MANUAL_ACTIVATION_COUNT:Ljava/lang/String;