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

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

Merge "STOPSHIP: Roll forward: Add UidCpuPower global setting"

parents 44612f4a 04e7a9b0
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -10321,6 +10321,16 @@ public final class Settings {
        */
        public static final String SYS_VDSO = "sys_vdso";

        /**
        * UidCpuPower global setting. This links the sys.uidcpupower 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 SYS_UIDCPUPOWER = "sys_uidcpupower";

        /**
         * 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
@@ -377,6 +377,7 @@ public class SettingsBackupTest {
                    Settings.Global.SYS_STORAGE_THRESHOLD_MAX_BYTES,
                    Settings.Global.SYS_STORAGE_THRESHOLD_PERCENTAGE,
                    Settings.Global.SYS_VDSO,
                    Settings.Global.SYS_UIDCPUPOWER,
                    Settings.Global.FPS_DEVISOR,
                    Settings.Global.TCP_DEFAULT_INIT_RWND,
                    Settings.Global.TETHER_DUN_APN,
+1 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ class GlobalSettingsToPropertiesMapper {
        {Settings.Global.SYS_VDSO, "sys.vdso"},
        {Settings.Global.FPS_DEVISOR, ThreadedRenderer.DEBUG_FPS_DIVISOR},
        {Settings.Global.DISPLAY_PANEL_LPM, "sys.display_panel_lpm"},
        {Settings.Global.SYS_UIDCPUPOWER, "sys.uidcpupower"},
    };