blob: 87df2d5f03f8bd9553775eec4030102bb9368985 [file] [log] [blame]
Chong Zhanga2e3a042020-10-26 11:58:11 -07001# media.transcoding service is defined on com.android.media apex which goes back
2# to API29, but we only want it started on API31+ devices. So we declare it as
3# "disabled" and start it explicitly on boot.
4service media.transcoding /apex/com.android.media/bin/mediatranscoding
5 class main
6 user media
7 group media
8 ioprio rt 4
Chong Zhang01988352021-04-21 14:13:43 -07009 # Restrict to little cores only with system-background cpuset.
Chong Zhang6beeb2e2021-04-27 11:29:50 -070010 # Lower IO priority to background.
11 writepid /dev/cpuset/system-background/tasks /dev/blkio/background/tasks
Chong Zhang628baaf2021-04-26 14:19:52 -070012 interface aidl media.transcoding
Chong Zhanga2e3a042020-10-26 11:58:11 -070013 disabled