Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 1 | service audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service |
Eric Laurent | 27ef4d8 | 2016-10-14 15:46:06 -0700 | [diff] [blame] | 2 | class hal |
| 3 | user audioserver |
| 4 | # media gid needed for /dev/fm (radio) and for /data/misc/media (tee) |
| 5 | group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct |
| 6 | ioprio rt 4 |
| 7 | writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks |
Mikhail Naganov | 0771ac1 | 2016-12-07 16:34:18 -0800 | [diff] [blame] | 8 | # audioflinger restarts itself when it loses connection with the hal |
| 9 | # and its .rc file has an "onrestart restart audio-hal" rule, thus |
| 10 | # an additional auto-restart from the init process isn't needed. |
| 11 | oneshot |