summaryrefstree
path: root/vendor/etc/init/android.hardware.audio.service-aidl.mediatek.rc
blob: afd6d753c890dc51c6be0e05fb68d8b2a00bbfec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
on post-fs-data
    mkdir /data/vendor/audiohal 0771 system audio

service vendor.audio-hal-aidl /vendor/bin/hw/android.hardware.audio.service-aidl.mediatek
    class hal
    user audioserver
    # media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
    group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct wakelock context_hub system
    capabilities BLOCK_SUSPEND SYS_NICE
    # setting RLIMIT_RTPRIO allows binder RT priority inheritance
    rlimit rtprio 10 10
    ioprio rt 4
    task_profiles ProcessCapacityHigh HighPerformance
    onrestart restart audioserver