Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAllowBackgroundPreferenceController.java35 @VisibleForTesting static final String KEY_ALLOW_BACKGROUND_USAGE = "allow_background_usage"; field in AllowBackgroundPreferenceController
78 return KEY_ALLOW_BACKGROUND_USAGE; in getPreferenceKey()
DAdvancedPowerUsageDetail.java89 private static final String KEY_ALLOW_BACKGROUND_USAGE = "allow_background_usage"; field in AdvancedPowerUsageDetail
426 || !TextUtils.equals(preference.getKey(), KEY_ALLOW_BACKGROUND_USAGE)) { in onPreferenceClick()
437 || !TextUtils.equals(preference.getKey(), KEY_ALLOW_BACKGROUND_USAGE)) { in onPreferenceChange()
486 mAllowBackgroundUsagePreference = findPreference(KEY_ALLOW_BACKGROUND_USAGE); in onCreateBackgroundUsageState()
DPowerBackgroundUsageDetail.java68 private static final String KEY_ALLOW_BACKGROUND_USAGE = "allow_background_usage"; field in PowerBackgroundUsageDetail
277 mMainSwitchPreference = findPreference(KEY_ALLOW_BACKGROUND_USAGE); in onCreateBackgroundUsageState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerBackgroundUsageDetailTest.java99 private static final String KEY_ALLOW_BACKGROUND_USAGE = "allow_background_usage"; field in PowerBackgroundUsageDetailTest
197 mMainSwitchPreference.setKey(KEY_ALLOW_BACKGROUND_USAGE); in setUp()
DAllowBackgroundPreferenceControllerTest.java140 AllowBackgroundPreferenceController.KEY_ALLOW_BACKGROUND_USAGE); in testHandlePreferenceTreeClick_samePrefKey_verifyAction()
DAdvancedPowerUsageDetailTest.java103 private static final String KEY_ALLOW_BACKGROUND_USAGE = "allow_background_usage"; field in AdvancedPowerUsageDetailTest
224 mAllowBackgroundUsagePreference.setKey(KEY_ALLOW_BACKGROUND_USAGE); in setUp()