diff options
author | Jaekyun Seok <jaekyun@google.com> | 2017-08-30 11:13:32 +0900 |
---|---|---|
committer | Jaekyun Seok <jaekyun@google.com> | 2017-09-12 08:01:42 +0900 |
commit | 81104ae5ef307ed5fb2f81e25a09d1574ec31fae (patch) | |
tree | 911115341ee4842953fd55ab00abc973acf2849e | |
parent | db2e5123b08bbdd679d952536942c9e9dcb2898f (diff) | |
download | interfaces-81104ae5ef307ed5fb2f81e25a09d1574ec31fae.tar.gz |
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
32 files changed, 39 insertions, 39 deletions
diff --git a/audio/2.0/default/android.hardware.audio@2.0-service.rc b/audio/2.0/default/android.hardware.audio@2.0-service.rc index eeaf71b267..a76770d747 100644 --- a/audio/2.0/default/android.hardware.audio@2.0-service.rc +++ b/audio/2.0/default/android.hardware.audio@2.0-service.rc @@ -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) diff --git a/automotive/evs/1.0/default/android.hardware.automotive.evs@1.0-service.rc b/automotive/evs/1.0/default/android.hardware.automotive.evs@1.0-service.rc index 16d521d718..117c249a51 100644 --- a/automotive/evs/1.0/default/android.hardware.automotive.evs@1.0-service.rc +++ b/automotive/evs/1.0/default/android.hardware.automotive.evs@1.0-service.rc @@ -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 diff --git a/automotive/vehicle/2.0/default/android.hardware.automotive.vehicle@2.0-service.rc b/automotive/vehicle/2.0/default/android.hardware.automotive.vehicle@2.0-service.rc index 30e249e80c..c8c89dc821 100644 --- a/automotive/vehicle/2.0/default/android.hardware.automotive.vehicle@2.0-service.rc +++ b/automotive/vehicle/2.0/default/android.hardware.automotive.vehicle@2.0-service.rc @@ -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 diff --git a/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc b/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc index aa767a6009..123d339a27 100644 --- a/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc +++ b/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc @@ -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. diff --git a/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc b/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc index 47cc13e3c3..e1f5faa575 100644 --- a/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc +++ b/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc @@ -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 diff --git a/boot/1.0/default/android.hardware.boot@1.0-service.rc b/boot/1.0/default/android.hardware.boot@1.0-service.rc index 68e7c2273a..32f3a45b35 100644 --- a/boot/1.0/default/android.hardware.boot@1.0-service.rc +++ b/boot/1.0/default/android.hardware.boot@1.0-service.rc @@ -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 diff --git a/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service.rc b/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service.rc index 2bf309b422..c9196284ee 100644 --- a/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service.rc +++ b/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service.rc @@ -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 diff --git a/cas/1.0/default/android.hardware.cas@1.0-service.rc b/cas/1.0/default/android.hardware.cas@1.0-service.rc index 93de79444e..74f2f9676e 100644 --- a/cas/1.0/default/android.hardware.cas@1.0-service.rc +++ b/cas/1.0/default/android.hardware.cas@1.0-service.rc @@ -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 diff --git a/configstore/1.1/default/android.hardware.configstore@1.1-service.rc b/configstore/1.1/default/android.hardware.configstore@1.1-service.rc index 018ef102d0..105678acb2 100644 --- a/configstore/1.1/default/android.hardware.configstore@1.1-service.rc +++ b/configstore/1.1/default/android.hardware.configstore@1.1-service.rc @@ -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 diff --git a/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc b/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc index 5677ec2967..a8c9487741 100644 --- a/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc +++ b/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc @@ -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 diff --git a/drm/1.0/default/android.hardware.drm@1.0-service.rc b/drm/1.0/default/android.hardware.drm@1.0-service.rc index e7beca35e3..a3457b5234 100644 --- a/drm/1.0/default/android.hardware.drm@1.0-service.rc +++ b/drm/1.0/default/android.hardware.drm@1.0-service.rc @@ -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 diff --git a/dumpstate/1.0/default/android.hardware.dumpstate@1.0-service.rc b/dumpstate/1.0/default/android.hardware.dumpstate@1.0-service.rc index 0f27248512..f626f70384 100644 --- a/dumpstate/1.0/default/android.hardware.dumpstate@1.0-service.rc +++ b/dumpstate/1.0/default/android.hardware.dumpstate@1.0-service.rc @@ -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 diff --git a/gatekeeper/1.0/default/android.hardware.gatekeeper@1.0-service.rc b/gatekeeper/1.0/default/android.hardware.gatekeeper@1.0-service.rc index d3f5e9d1ed..da332c76da 100644 --- a/gatekeeper/1.0/default/android.hardware.gatekeeper@1.0-service.rc +++ b/gatekeeper/1.0/default/android.hardware.gatekeeper@1.0-service.rc @@ -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 diff --git a/gnss/1.0/default/android.hardware.gnss@1.0-service.rc b/gnss/1.0/default/android.hardware.gnss@1.0-service.rc index e629955e99..1a44d34044 100644 --- a/gnss/1.0/default/android.hardware.gnss@1.0-service.rc +++ b/gnss/1.0/default/android.hardware.gnss@1.0-service.rc @@ -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 diff --git a/graphics/allocator/2.0/default/android.hardware.graphics.allocator@2.0-service.rc b/graphics/allocator/2.0/default/android.hardware.graphics.allocator@2.0-service.rc index 70f2ef8ca4..6eee71f6e7 100644 --- a/graphics/allocator/2.0/default/android.hardware.graphics.allocator@2.0-service.rc +++ b/graphics/allocator/2.0/default/android.hardware.graphics.allocator@2.0-service.rc @@ -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 diff --git a/graphics/composer/2.1/default/android.hardware.graphics.composer@2.1-service.rc b/graphics/composer/2.1/default/android.hardware.graphics.composer@2.1-service.rc index 51b0e3b1af..3b6710b43a 100644 --- a/graphics/composer/2.1/default/android.hardware.graphics.composer@2.1-service.rc +++ b/graphics/composer/2.1/default/android.hardware.graphics.composer@2.1-service.rc @@ -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 diff --git a/health/1.0/default/android.hardware.health@1.0-service.rc b/health/1.0/default/android.hardware.health@1.0-service.rc index 13cd7a5cf0..d74a07e2fa 100644 --- a/health/1.0/default/android.hardware.health@1.0-service.rc +++ b/health/1.0/default/android.hardware.health@1.0-service.rc @@ -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 diff --git a/ir/1.0/default/android.hardware.ir@1.0-service.rc b/ir/1.0/default/android.hardware.ir@1.0-service.rc index 47f34fed60..0d069671bb 100644 --- a/ir/1.0/default/android.hardware.ir@1.0-service.rc +++ b/ir/1.0/default/android.hardware.ir@1.0-service.rc @@ -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
\ No newline at end of file + group system diff --git a/keymaster/3.0/default/android.hardware.keymaster@3.0-service.rc b/keymaster/3.0/default/android.hardware.keymaster@3.0-service.rc index 849d270c21..086ba2f3f0 100644 --- a/keymaster/3.0/default/android.hardware.keymaster@3.0-service.rc +++ b/keymaster/3.0/default/android.hardware.keymaster@3.0-service.rc @@ -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 diff --git a/light/2.0/default/android.hardware.light@2.0-service.rc b/light/2.0/default/android.hardware.light@2.0-service.rc index c3284c6959..f268706d87 100644 --- a/light/2.0/default/android.hardware.light@2.0-service.rc +++ b/light/2.0/default/android.hardware.light@2.0-service.rc @@ -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
\ No newline at end of file + group system diff --git a/memtrack/1.0/default/android.hardware.memtrack@1.0-service.rc b/memtrack/1.0/default/android.hardware.memtrack@1.0-service.rc index c975a181b0..4327a20ffe 100644 --- a/memtrack/1.0/default/android.hardware.memtrack@1.0-service.rc +++ b/memtrack/1.0/default/android.hardware.memtrack@1.0-service.rc @@ -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 diff --git a/nfc/1.0/default/android.hardware.nfc@1.0-service.rc b/nfc/1.0/default/android.hardware.nfc@1.0-service.rc index c9b8014e5e..3a5c776147 100644 --- a/nfc/1.0/default/android.hardware.nfc@1.0-service.rc +++ b/nfc/1.0/default/android.hardware.nfc@1.0-service.rc @@ -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 diff --git a/power/1.0/default/android.hardware.power@1.0-service.rc b/power/1.0/default/android.hardware.power@1.0-service.rc index 1777e90843..657c7336d2 100644 --- a/power/1.0/default/android.hardware.power@1.0-service.rc +++ b/power/1.0/default/android.hardware.power@1.0-service.rc @@ -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 diff --git a/sensors/1.0/default/android.hardware.sensors@1.0-service.rc b/sensors/1.0/default/android.hardware.sensors@1.0-service.rc index 059e5db08e..aa80d993cb 100644 --- a/sensors/1.0/default/android.hardware.sensors@1.0-service.rc +++ b/sensors/1.0/default/android.hardware.sensors@1.0-service.rc @@ -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 diff --git a/tests/extension/light/2.0/default/android.hardware.tests.extension.light@2.0-service.rc b/tests/extension/light/2.0/default/android.hardware.tests.extension.light@2.0-service.rc index 8f379ee4f5..0b8515a6f6 100644 --- a/tests/extension/light/2.0/default/android.hardware.tests.extension.light@2.0-service.rc +++ b/tests/extension/light/2.0/default/android.hardware.tests.extension.light@2.0-service.rc @@ -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
\ No newline at end of file + group system diff --git a/thermal/1.0/default/android.hardware.thermal@1.0-service.rc b/thermal/1.0/default/android.hardware.thermal@1.0-service.rc index cbc0f65cea..cf9bdee7a0 100644 --- a/thermal/1.0/default/android.hardware.thermal@1.0-service.rc +++ b/thermal/1.0/default/android.hardware.thermal@1.0-service.rc @@ -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 diff --git a/tv/cec/1.0/default/android.hardware.tv.cec@1.0-service.rc b/tv/cec/1.0/default/android.hardware.tv.cec@1.0-service.rc index 9c80094d56..8595099d6e 100644 --- a/tv/cec/1.0/default/android.hardware.tv.cec@1.0-service.rc +++ b/tv/cec/1.0/default/android.hardware.tv.cec@1.0-service.rc @@ -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 diff --git a/tv/input/1.0/default/android.hardware.tv.input@1.0-service.rc b/tv/input/1.0/default/android.hardware.tv.input@1.0-service.rc index dc6907c855..972c6547d2 100644 --- a/tv/input/1.0/default/android.hardware.tv.input@1.0-service.rc +++ b/tv/input/1.0/default/android.hardware.tv.input@1.0-service.rc @@ -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 diff --git a/usb/1.0/default/android.hardware.usb@1.0-service.rc b/usb/1.0/default/android.hardware.usb@1.0-service.rc index 6ea07203dd..b7a0c63318 100644 --- a/usb/1.0/default/android.hardware.usb@1.0-service.rc +++ b/usb/1.0/default/android.hardware.usb@1.0-service.rc @@ -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 diff --git a/vibrator/1.0/default/android.hardware.vibrator@1.0-service.rc b/vibrator/1.0/default/android.hardware.vibrator@1.0-service.rc index f027065a78..1123eabf38 100644 --- a/vibrator/1.0/default/android.hardware.vibrator@1.0-service.rc +++ b/vibrator/1.0/default/android.hardware.vibrator@1.0-service.rc @@ -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 diff --git a/vr/1.0/default/android.hardware.vr@1.0-service.rc b/vr/1.0/default/android.hardware.vr@1.0-service.rc index bcc641634f..fc4934cf25 100644 --- a/vr/1.0/default/android.hardware.vr@1.0-service.rc +++ b/vr/1.0/default/android.hardware.vr@1.0-service.rc @@ -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 diff --git a/wifi/1.1/default/android.hardware.wifi@1.0-service.rc b/wifi/1.1/default/android.hardware.wifi@1.0-service.rc index 696b1f9338..eecb6d0a25 100644 --- a/wifi/1.1/default/android.hardware.wifi@1.0-service.rc +++ b/wifi/1.1/default/android.hardware.wifi@1.0-service.rc @@ -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 |