Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b909212 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "STOPSHIP: Add UidCpuPower global setting"

parents dd3d6775 495665dc
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -10284,6 +10284,16 @@ public final class Settings {
        */
        public static final String SYS_VDSO = "sys_vdso";

        /**
        * Uid CpuPower global setting. This links the uid.cpupower system property.
        * The following values are supported:
        * 0 -> /proc/uid_cpupower/* are disabled
        * 1 -> /proc/uid_cpupower/* are enabled
        * Any other value defaults to enabled.
        * @hide
        */
        public static final String UID_CPUPOWER = "uid_cpupower";

        /**
         * An integer to reduce the FPS by this factor. Only for experiments. Need to reboot the
         * device for this setting to take full effect.
+1 −0
Original line number Diff line number Diff line
@@ -386,6 +386,7 @@ public class SettingsBackupTest {
                    Settings.Global.TZINFO_UPDATE_METADATA_URL,
                    Settings.Global.INSTALLED_INSTANT_APP_MIN_CACHE_PERIOD,
                    Settings.Global.INSTALLED_INSTANT_APP_MAX_CACHE_PERIOD,
                    Settings.Global.UID_CPUPOWER,
                    Settings.Global.UNINSTALLED_INSTANT_APP_MIN_CACHE_PERIOD,
                    Settings.Global.UNINSTALLED_INSTANT_APP_MAX_CACHE_PERIOD,
                    Settings.Global.UNUSED_STATIC_SHARED_LIB_MIN_CACHE_PERIOD,
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ class GlobalSettingsToPropertiesMapper {
    //  {Settings.Global.SETTING_NAME, "system_property_name"},
        {Settings.Global.SYS_VDSO, "sys.vdso"},
        {Settings.Global.FPS_DEVISOR, ThreadedRenderer.DEBUG_FPS_DIVISOR},
        {Settings.Global.UID_CPUPOWER, "uid.cpupower"},
    };