summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHayden Gomes <haydengomes@google.com>2019-05-14 14:14:21 -0700
committerHayden Gomes <haydengomes@google.com>2019-05-14 18:42:02 -0700
commit2365e13575aa36f3365aecd8e212f876c2dece34 (patch)
tree7c4019eacf600876ab3c37c3c03cd099d52f43b2
parent6443a42f41cb73339949620c34e02fda532357fd (diff)
downloadcar-2365e13575aa36f3365aecd8e212f876c2dece34.tar.gz
Adding BT mock for car emulator
Adding BT support to car emulator using services.sim to mock Bluetooth Bug: 132627197 Test: Built and ran emulator locally to verify Change-Id: Ibaf29461f27d3e535550d6f4d800038bb6846a8e
-rw-r--r--emulator/hal/car_emulator_hal.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulator/hal/car_emulator_hal.mk b/emulator/hal/car_emulator_hal.mk
index 86139a7..3d21d69 100644
--- a/emulator/hal/car_emulator_hal.mk
+++ b/emulator/hal/car_emulator_hal.mk
@@ -17,8 +17,12 @@
# Default HAL implementations for automotive
PRODUCT_PACKAGES += \
android.hardware.automotive.audiocontrol@1.0-service \
+ android.hardware.bluetooth@1.0-service.sim \
+ android.hardware.bluetooth.audio@2.0-impl \
android.hardware.automotive.vehicle@2.0-service
# Vendor Interface Manifest
PRODUCT_COPY_FILES += \
- device/generic/car/emulator/hal/car_emulator_manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml
+ device/generic/car/emulator/hal/car_emulator_manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \
+ frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
+ frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml