Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java307 String deviceSpecificSetting = getGlobalSetting( in refreshSettings() local
312 if (TextUtils.isEmpty(deviceSpecificSetting) || "null".equals(deviceSpecificSetting)) { in refreshSettings()
313 deviceSpecificSetting = in refreshSettings()
323 if (!updateConstantsLocked(setting, deviceSpecificSetting, in refreshSettings()
342 void updateConstantsLocked(final String setting, final String deviceSpecificSetting) { in updateConstantsLocked() argument
343 updateConstantsLocked(setting, deviceSpecificSetting, "", ""); in updateConstantsLocked()
347 private boolean updateConstantsLocked(String setting, String deviceSpecificSetting, in updateConstantsLocked() argument
350 deviceSpecificSetting = TextUtils.emptyIfNull(deviceSpecificSetting); in updateConstantsLocked()
355 && deviceSpecificSetting.equals(mDeviceSpecificSettings) in updateConstantsLocked()
362 mDeviceSpecificSettings = deviceSpecificSetting; in updateConstantsLocked()
[all …]