blob: 62b9bcd78ed71171c53f509fe4d22c59f1c4747e [file] [log] [blame]
Adam Shih067e82f2022-10-31 10:51:30 +08001service lhd /vendor/bin/hw/lhd /vendor/etc/gnss/lhd.conf
2 class main
3 user gps
4 group system inet net_raw sdcard_rw
5 ioprio be 0
6
7service gpsd /vendor/bin/hw/gpsd -c /vendor/etc/gnss/gps.xml
8 class main
9 user gps
10 group system gps radio inet wakelock sdcard_rw net_raw
11 ioprio be 0
12
13service scd /vendor/bin/hw/scd /vendor/etc/gnss/scd.conf
14 class main
15 user gps
16 group system inet net_raw wakelock
17 ioprio be 0
18
19service gnss_service /vendor/bin/hw/android.hardware.gnss@2.1-service-brcm
20 class hal
21 user gps
22 group system gps radio
23 ioprio be 0
24 priority -1
25
26# disable gps service if no gps h/w
27on property:vendor.ril.cbd.svc=0
28 stop gpsd
29 stop lhd
30 stop scd
31