mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-02 09:44:35 +00:00
STOPSHIP: proc.uidcpupower reflector for experiments
Allow the concurrent_*_time to be enable and disabled
for performance experiments on the dogfood population.
This patch and the corresponding kernel patches should
be removed before launch.
proc.uidcpupower=* -> concurrent_*_time enabled
proc.uidcpupower=1 -> concurrent_*_time enabled
proc.uidcpupower=0 -> concurrent_*_time disabled
Test: Run "adb shell setprop proc.uidcpupower 0" and
check that "adb shell cat /proc/uid_cpupower/enable"
returns 0. Repeat the test with 1.
Change-Id: I818e110907b4d24d0d3c4b9ca92b6f2816ba3b1f
This commit is contained in:
@@ -768,6 +768,13 @@ on property:persist.radio.atfwd.start=true
|
||||
on property:persist.radio.atfwd.start=false
|
||||
stop atfwd
|
||||
|
||||
# b/68982314
|
||||
on property:proc.uidcpupower=*
|
||||
write /proc/uid_cpupower/enable 1
|
||||
|
||||
on property:proc.uidcpupower=0
|
||||
write /proc/uid_cpupower/enable 0
|
||||
|
||||
# bugreport is triggered by holding down volume down, volume up and power
|
||||
service bugreport /system/bin/dumpstate -d -p -B -z \
|
||||
-o /data/user_de/0/com.android.shell/files/bugreports/bugreport
|
||||
|
||||
1
sepolicy/vendor/vendor_init.te
vendored
1
sepolicy/vendor/vendor_init.te
vendored
@@ -16,6 +16,7 @@ allow vendor_init {
|
||||
}:file { create getattr open read write setattr relabelfrom unlink };
|
||||
|
||||
allow vendor_init debugfs_clk:file w_file_perms;
|
||||
allow vendor_init proc_uid_cpupower:file write;
|
||||
dontaudit vendor_init kernel:system module_request;
|
||||
|
||||
get_prop(vendor_init, modem_diag_prop)
|
||||
|
||||
Reference in New Issue
Block a user