From 9865abc0e621d0624d9304b65fb6d790b3bb0504 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Thu, 30 Apr 2020 13:30:47 -0700 Subject: [PATCH] dre: Replace direct pid writes with setting task profiles for audio interfaces For easy transition from SchedTune to UtilClamp, direct access to these cgroups should be abstracted by using task profiles. Replace writepid commands with new task_profiles command. Bug: 155419956 Test: change .rc file and confirm task profile is applied Signed-off-by: Suren Baghdasaryan Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595 --- init/init.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/init.qcom.rc b/init/init.qcom.rc index 18a8df9..f7cb9eb 100644 --- a/init/init.qcom.rc +++ b/init/init.qcom.rc @@ -900,5 +900,5 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock capabilities BLOCK_SUSPEND ioprio rt 4 - writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks + task_profiles ProcessCapacityHigh HighPerformance onrestart restart audioserver