Add 'vendor.' prefix to a vendor HAL service name

To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
This commit is contained in:
Jaekyun Seok
2017-08-30 11:13:32 +09:00
parent db2e5123b0
commit 81104ae5ef
32 changed files with 39 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
service audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service
service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service
class hal
user audioserver
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee)

View File

@@ -1,4 +1,4 @@
service evs-hal-mock /vendor/bin/hw/android.hardware.automotive.evs@1.0-service
service vendor.evs-hal-mock /vendor/bin/hw/android.hardware.automotive.evs@1.0-service
class hal
user automotive_evs
group automotive_evs

View File

@@ -1,4 +1,4 @@
service vehicle-hal-2.0 /vendor/bin/hw/android.hardware.automotive.vehicle@2.0-service
service vendor.vehicle-hal-2.0 /vendor/bin/hw/android.hardware.automotive.vehicle@2.0-service
class hal
user vehicle_network
group system inet

View File

@@ -1,4 +1,4 @@
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service
# "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once
# /data is mounted.

View File

@@ -1,14 +1,14 @@
service bluetooth-1-0 /vendor/bin/hw/android.hardware.bluetooth@1.0-service
service vendor.bluetooth-1-0 /vendor/bin/hw/android.hardware.bluetooth@1.0-service
class hal
user bluetooth
group bluetooth
writepid /dev/stune/foreground/tasks
on property:vts.native_server.on=1 && property:ro.build.type=userdebug
stop bluetooth-1-0
stop vendor.bluetooth-1-0
on property:vts.native_server.on=1 && property:ro.build.type=eng
stop bluetooth-1-0
stop vendor.bluetooth-1-0
on property:vts.native_server.on=0 && property:ro.build.type=userdebug
start bluetooth-1-0
start vendor.bluetooth-1-0
on property:vts.native_server.on=0 && property:ro.build.type=eng
start bluetooth-1-0
start vendor.bluetooth-1-0

View File

@@ -1,4 +1,4 @@
service boot-hal-1-0 /vendor/bin/hw/android.hardware.boot@1.0-service
service vendor.boot-hal-1-0 /vendor/bin/hw/android.hardware.boot@1.0-service
class early_hal
user root
group root

View File

@@ -1,4 +1,4 @@
service camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-service
service vendor.camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-service
class hal
user cameraserver
group audio camera input drmrpc

View File

@@ -1,4 +1,4 @@
service cas-hal-1-0 /vendor/bin/hw/android.hardware.cas@1.0-service
service vendor.cas-hal-1-0 /vendor/bin/hw/android.hardware.cas@1.0-service
class hal
user media
group mediadrm drmrpc

View File

@@ -1,4 +1,4 @@
service configstore-hal /vendor/bin/hw/android.hardware.configstore@1.1-service
service vendor.configstore-hal /vendor/bin/hw/android.hardware.configstore@1.1-service
class hal animation
user system
group system

View File

@@ -1,4 +1,4 @@
service contexthub-hal-1-0 /vendor/bin/hw/android.hardware.contexthub@1.0-service
service vendor.contexthub-hal-1-0 /vendor/bin/hw/android.hardware.contexthub@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service drm-hal-1-0 /vendor/bin/hw/android.hardware.drm@1.0-service
service vendor.drm-hal-1-0 /vendor/bin/hw/android.hardware.drm@1.0-service
class hal
user media
group mediadrm drmrpc

View File

@@ -1,4 +1,4 @@
service dumpstate-1-0 /vendor/bin/hw/android.hardware.dumpstate@1.0-service
service vendor.dumpstate-1-0 /vendor/bin/hw/android.hardware.dumpstate@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service
service vendor.gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service gnss_service /vendor/bin/hw/android.hardware.gnss@1.0-service
service vendor.gnss_service /vendor/bin/hw/android.hardware.gnss@1.0-service
class hal
user gps
group system gps radio

View File

@@ -1,4 +1,4 @@
service gralloc-2-0 /vendor/bin/hw/android.hardware.graphics.allocator@2.0-service
service vendor.gralloc-2-0 /vendor/bin/hw/android.hardware.graphics.allocator@2.0-service
class hal animation
user system
group graphics drmrpc

View File

@@ -1,4 +1,4 @@
service hwcomposer-2-1 /vendor/bin/hw/android.hardware.graphics.composer@2.1-service
service vendor.hwcomposer-2-1 /vendor/bin/hw/android.hardware.graphics.composer@2.1-service
class hal animation
user system
group graphics drmrpc

View File

@@ -1,4 +1,4 @@
service health-hal-1-0 /vendor/bin/hw/android.hardware.health@1.0-service
service vendor.health-hal-1-0 /vendor/bin/hw/android.hardware.health@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service ir-hal-1-0 /vendor/bin/hw/android.hardware.ir@1.0-service
service vendor.ir-hal-1-0 /vendor/bin/hw/android.hardware.ir@1.0-service
class hal
user system
group system
group system

View File

@@ -1,4 +1,4 @@
service keymaster-3-0 /vendor/bin/hw/android.hardware.keymaster@3.0-service
service vendor.keymaster-3-0 /vendor/bin/hw/android.hardware.keymaster@3.0-service
class early_hal
user system
group system drmrpc

View File

@@ -1,4 +1,4 @@
service light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service
class hal
user system
group system
group system

View File

@@ -1,4 +1,4 @@
service memtrack-hal-1-0 /vendor/bin/hw/android.hardware.memtrack@1.0-service
service vendor.memtrack-hal-1-0 /vendor/bin/hw/android.hardware.memtrack@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.0-service
service vendor.nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.0-service
class hal
user nfc
group nfc

View File

@@ -1,4 +1,4 @@
service power-hal-1-0 /vendor/bin/hw/android.hardware.power@1.0-service
service vendor.power-hal-1-0 /vendor/bin/hw/android.hardware.power@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service
service vendor.sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service light-ext-2-0 /vendor/bin/hw/android.hardware.tests.extension.light@2.0-service
service vendor.light-ext-2-0 /vendor/bin/hw/android.hardware.tests.extension.light@2.0-service
class hal
user system
group system
group system

View File

@@ -1,4 +1,4 @@
service thermal-hal-1-0 /vendor/bin/hw/android.hardware.thermal@1.0-service
service vendor.thermal-hal-1-0 /vendor/bin/hw/android.hardware.thermal@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service cec-hal-1-0 /vendor/bin/hw/android.hardware.tv.cec@1.0-service
service vendor.cec-hal-1-0 /vendor/bin/hw/android.hardware.tv.cec@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service tv-input-1-0 /vendor/bin/hw/android.hardware.tv.input@1.0-service
service vendor.tv-input-1-0 /vendor/bin/hw/android.hardware.tv.input@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service usb-hal-1-0 /vendor/bin/hw/android.hardware.usb@1.0-service
service vendor.usb-hal-1-0 /vendor/bin/hw/android.hardware.usb@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service vibrator-1-0 /vendor/bin/hw/android.hardware.vibrator@1.0-service
service vendor.vibrator-1-0 /vendor/bin/hw/android.hardware.vibrator@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service vr-1-0 /vendor/bin/hw/android.hardware.vr@1.0-service
service vendor.vr-1-0 /vendor/bin/hw/android.hardware.vr@1.0-service
class hal
user system
group system

View File

@@ -1,4 +1,4 @@
service wifi_hal_legacy /vendor/bin/hw/android.hardware.wifi@1.0-service
service vendor.wifi_hal_legacy /vendor/bin/hw/android.hardware.wifi@1.0-service
class hal
user wifi
group wifi gps