commit | 4b644d33d7abbbf837525cf3b3ef283d2c4ec822 | [log] [tgz] |
---|---|---|
author | Suren Baghdasaryan <surenb@google.com> | Thu Apr 30 13:27:38 2020 -0700 |
committer | Suren Baghdasaryan <surenb@google.com> | Thu Apr 30 13:45:04 2020 -0700 |
tree | 9924e0db242946052d2b24066f90bfae2f967e80 | |
parent | 75bea4b6dcdac7840207c33ddace1adac084950b [diff] |
Replace direct pid writes with setting task profiles for bluetooth 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 <surenb@google.com> Change-Id: Ie81da380a9343e098362f5fee5026799c4486e7e
diff --git a/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc b/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc index 9fa128d..def59de 100644 --- a/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc +++ b/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc
@@ -4,5 +4,5 @@ capabilities BLOCK_SUSPEND NET_ADMIN SYS_NICE user bluetooth group bluetooth - writepid /dev/stune/foreground/tasks + task_profiles HighPerformance
diff --git a/bluetooth/1.1/default/android.hardware.bluetooth@1.1-service.rc b/bluetooth/1.1/default/android.hardware.bluetooth@1.1-service.rc index 49f0be3..5c7cbf4 100644 --- a/bluetooth/1.1/default/android.hardware.bluetooth@1.1-service.rc +++ b/bluetooth/1.1/default/android.hardware.bluetooth@1.1-service.rc
@@ -5,5 +5,5 @@ capabilities BLOCK_SUSPEND NET_ADMIN SYS_NICE user bluetooth group bluetooth - writepid /dev/stune/foreground/tasks + task_profiles HighPerformance