Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/jni/
DNativePowerManagerTest.cpp45 jfieldID deviceSpecificSettings; member
106 std::vector<std::pair<String16, String16>> deviceSpecificSettings; in nativeObtainBSPConfigParcel() local
110 deviceSpecificSettings.push_back({String16(env->GetStringUTFChars(keyString, 0)), in nativeObtainBSPConfigParcel()
119 deviceSpecificSettings, in nativeObtainBSPConfigParcel()
156 std::vector<std::pair<String16, String16>> deviceSpecificSettings; in nativeUnparcelAndVerifyBSPConfig() local
160 deviceSpecificSettings.push_back({String16(env->GetStringUTFChars(keyString, 0)), in nativeUnparcelAndVerifyBSPConfig()
169 deviceSpecificSettings, in nativeUnparcelAndVerifyBSPConfig()
226 gBSPCFieldIds.deviceSpecificSettings = in JNI_OnLoad()
/frameworks/native/services/powermanager/include/android/
DBatterySaverPolicyConfig.h39 std::vector<std::pair<String16, String16>> deviceSpecificSettings = {},
58 mDeviceSpecificSettings(deviceSpecificSettings), in mAdjustBrightnessFactor()
/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java88 Map<String, String> deviceSpecificSettings = new ArrayMap<>(size); in BatterySaverPolicyConfig() local
95 deviceSpecificSettings.put(key, val); in BatterySaverPolicyConfig()
97 mDeviceSpecificSettings = Collections.unmodifiableMap(deviceSpecificSettings); in BatterySaverPolicyConfig()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java756 Map<String, String> deviceSpecificSettings = config.getDeviceSpecificSettings(); in fromConfig() local
804 static Policy fromSettings(String settings, String deviceSpecificSettings, in fromSettings() argument
806 return fromSettings(settings, deviceSpecificSettings, properties, configSuffix, in fromSettings()
810 private static Policy fromSettings(String settings, String deviceSpecificSettings, in fromSettings() argument
818 userSettingDeviceConfigMediator.setSettingsString(deviceSpecificSettings); in fromSettings()
821 + deviceSpecificSettings); in fromSettings()