Adam Shih | 067e82f | 2022-10-31 10:51:30 +0800 | [diff] [blame] | 1 | service 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 | |
| 7 | service 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 | |
| 13 | service 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 | |
| 19 | service 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 |
| 27 | on property:vendor.ril.cbd.svc=0 |
| 28 | stop gpsd |
| 29 | stop lhd |
| 30 | stop scd |
| 31 | |