Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java655 Map<String, String> deviceSpecificSettings = config.getDeviceSpecificSettings(); in fromConfig() local
657 deviceSpecificSettings.getOrDefault(KEY_CPU_FREQ_INTERACTIVE, ""); in fromConfig()
659 deviceSpecificSettings.getOrDefault(KEY_CPU_FREQ_NONINTERACTIVE, ""); in fromConfig()
687 static Policy fromSettings(String settings, String deviceSpecificSettings) { in fromSettings() argument
688 return fromSettings(settings, deviceSpecificSettings, OFF_POLICY); in fromSettings()
691 static Policy fromSettings(String settings, String deviceSpecificSettings, in fromSettings() argument
697 parser.setString(deviceSpecificSettings == null ? "" : deviceSpecificSettings); in fromSettings()
700 + deviceSpecificSettings); in fromSettings()
DBatterySaverController.java350 boolean setAdaptivePolicyLocked(String settings, String deviceSpecificSettings, int reason) { in setAdaptivePolicyLocked() argument
352 BatterySaverPolicy.Policy.fromSettings(settings, deviceSpecificSettings), in setAdaptivePolicyLocked()
/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java87 Map<String, String> deviceSpecificSettings = new ArrayMap<>(size); in BatterySaverPolicyConfig() local
94 deviceSpecificSettings.put(key, val); in BatterySaverPolicyConfig()
96 mDeviceSpecificSettings = Collections.unmodifiableMap(deviceSpecificSettings); in BatterySaverPolicyConfig()