1service car-bugreportd /system/bin/car-bugreportd
2    socket car_br_progress_socket stream 0660 shell log
3    socket car_br_output_socket stream 0660 shell log
4    socket car_br_extra_output_socket stream 0660 shell log
5    class core
6    user shell
7    group log
8    disabled
9    oneshot
10
11# car-dumpstatez generates a zipped bugreport but also uses a socket to print the file location once
12# it is finished.
13service car-dumpstatez /system/bin/dumpstate -S -d -z \
14        -o /data/user_de/0/com.android.shell/files/bugreports/bugreport
15    socket dumpstate stream 0660 shell log
16    class main
17    disabled
18    oneshot