Ray Essick | 8cd6d14 | 2022-03-25 12:01:29 -0700 | [diff] [blame] | 1 | ## for SDK releases 29..31 |
| 2 | ## where writepid has not yet been replaced by task_profiles |
| 3 | ## |
| 4 | # |
Chong Zhang | a2e3a04 | 2020-10-26 11:58:11 -0700 | [diff] [blame] | 5 | # 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. |
| 8 | service media.transcoding /apex/com.android.media/bin/mediatranscoding |
| 9 | class main |
| 10 | user media |
| 11 | group media |
| 12 | ioprio rt 4 |
Chong Zhang | 0198835 | 2021-04-21 14:13:43 -0700 | [diff] [blame] | 13 | # Restrict to little cores only with system-background cpuset. |
Chong Zhang | 7f6201d | 2021-05-04 17:42:33 +0000 | [diff] [blame] | 14 | writepid /dev/cpuset/system-background/tasks |
Hangyu Kuang | 2e1e8d1 | 2021-07-01 00:35:04 +0000 | [diff] [blame] | 15 | interface aidl media.transcoding |
Chong Zhang | a2e3a04 | 2020-10-26 11:58:11 -0700 | [diff] [blame] | 16 | disabled |