This will help us run P/H experiments by controlling the
uid cpu power system property through P/H.
b/
70517018
Test: adb shell settings put global sys_uidcpupower 1
verify via getprop sys.uidcpupower
Change-Id: I8cf7365be885ef4910e37d3f993ba3079e15a37d
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.
*
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,
{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"},
};