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.java419 String deviceSpecificSetting = getGlobalSetting( in refreshSettings() local
424 if (TextUtils.isEmpty(deviceSpecificSetting) || "null".equals(deviceSpecificSetting)) { in refreshSettings()
425 deviceSpecificSetting = in refreshSettings()
430 if (!updateConstantsLocked(setting, deviceSpecificSetting)) { in refreshSettings()
442 boolean updateConstantsLocked(String setting, String deviceSpecificSetting) { in updateConstantsLocked() argument
444 deviceSpecificSetting = TextUtils.emptyIfNull(deviceSpecificSetting); in updateConstantsLocked()
447 && deviceSpecificSetting.equals(mDeviceSpecificSettings)) { in updateConstantsLocked()
452 mDeviceSpecificSettings = deviceSpecificSetting; in updateConstantsLocked()
460 Policy.fromSettings(setting, deviceSpecificSetting, in updateConstantsLocked()