blob: 6e91bccb3c147108057731994c7242090cc2e3c0 [file] [log] [blame]
Jaekyun Seok81104ae2017-08-30 11:13:32 +09001service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service
Eric Laurent27ef4d82016-10-14 15:46:06 -07002 class hal
3 user audioserver
4 # media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
Carter Hsu82846362018-07-13 10:41:29 +08005 group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct wakelock
6 capabilities BLOCK_SUSPEND
Eric Laurent27ef4d82016-10-14 15:46:06 -07007 ioprio rt 4
8 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
Mikhail Naganov0771ac12016-12-07 16:34:18 -08009 # audioflinger restarts itself when it loses connection with the hal
10 # and its .rc file has an "onrestart restart audio-hal" rule, thus
11 # an additional auto-restart from the init process isn't needed.
12 oneshot
Mikhail Naganov2c484232018-05-08 10:29:04 -070013 interface android.hardware.audio@4.0::IDevicesFactory default
14 interface android.hardware.audio@2.0::IDevicesFactory default