blob: 6e453be364aa0f0aa685038a18cda027889e0426 [file] [log] [blame]
Ray Essick8cd6d142022-03-25 12:01:29 -07001## for SDK releases 29..31
2## where writepid has not yet been replaced by task_profiles
3##
4#
Chong Zhanga2e3a042020-10-26 11:58:11 -07005# media.transcoding service is defined on com.android.media apex which goes back
6# to API29, but we only want it started on API31+ devices. So we declare it as
7# "disabled" and start it explicitly on boot.
8service media.transcoding /apex/com.android.media/bin/mediatranscoding
9 class main
10 user media
11 group media
12 ioprio rt 4
Chong Zhang01988352021-04-21 14:13:43 -070013 # Restrict to little cores only with system-background cpuset.
Chong Zhang7f6201d2021-05-04 17:42:33 +000014 writepid /dev/cpuset/system-background/tasks
Hangyu Kuang2e1e8d12021-07-01 00:35:04 +000015 interface aidl media.transcoding
Chong Zhanga2e3a042020-10-26 11:58:11 -070016 disabled