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

Commit b74f6423 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

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: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
Merged-In: Ide373c283359cf4b73af4cb0813d8c0306942595
parent b5b1621f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,5 +5,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 wakelock
    capabilities BLOCK_SUSPEND
    ioprio rt 4
    writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
    task_profiles ProcessCapacityHigh HighPerformance
    onrestart restart audioserver