summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f36276)
raw | patch | inline | side by side (parent: 9f36276)
author | Josh Shafran <j-shafran@ti.com> | |
Tue, 23 Jul 2019 02:44:53 +0000 (02:44 +0000) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Mon, 22 Jul 2019 21:21:06 +0000 (16:21 -0500) |
All changes made to baseline enable full Android Automotive in-vehicle
infotainment (IVI) system, presenting an updated boot animation and
user interface on AM65x platforms. Car mode is enabled by default
and the UI is locked in car mode when using lunch combo
am65xevm_auto-userdebug.
https://source.android.com/devices/automotive
https://developer.android.com/training/cars
Separated the content necessary for Android Auto from baseline
tablet interface. Result is two lunch combos:
1) am65xevm-userdebug
2) am65xevm_auto-userdebug
Test: Build,Boot with am65xevm-userdebug and am65xevm_auto-userdebug
Test: Look and feel test of Automotive HMI
Test: Executed test plans CtsCarTestCases and vts-hal-auto
Signed-off-by: Josh Shafran <j-shafran@ti.com>
infotainment (IVI) system, presenting an updated boot animation and
user interface on AM65x platforms. Car mode is enabled by default
and the UI is locked in car mode when using lunch combo
am65xevm_auto-userdebug.
https://source.android.com/devices/automotive
https://developer.android.com/training/cars
Separated the content necessary for Android Auto from baseline
tablet interface. Result is two lunch combos:
1) am65xevm-userdebug
2) am65xevm_auto-userdebug
Test: Build,Boot with am65xevm-userdebug and am65xevm_auto-userdebug
Test: Look and feel test of Automotive HMI
Test: Executed test plans CtsCarTestCases and vts-hal-auto
Signed-off-by: Josh Shafran <j-shafran@ti.com>
AndroidProducts.mk | patch | blob | history | |
BoardConfig.mk | patch | blob | history | |
auto/am65xevm.mk | [new file with mode: 0644] | patch | blob |
auto/device.mk | [new file with mode: 0644] | patch | blob |
auto/manifest.xml | [new file with mode: 0644] | patch | blob |
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 708639446aa295ec86baf89afd7d2382a38b6318..ee7bc8074b4c193254a194e73a71a6665ee06123 100644 (file)
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
PRODUCT_MAKEFILES := \
am65xevm:$(LOCAL_DIR)/am65xevm.mk \
+ am65xevm_auto:$(LOCAL_DIR)/auto/am65xevm.mk \
COMMON_LUNCH_CHOICES := \
am65xevm-eng \
am65xevm-user \
am65xevm-userdebug \
+ am65xevm_auto-eng \
+ am65xevm_auto-user \
+ am65xevm_auto-userdebug \
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 938c06c9feba345daf753d7f0b7fb55196b55be4..9b7fd2efcaf9ce080e66f4b52a627786044e03ca 100644 (file)
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
BOARD_SEPOLICY_DIRS += \
device/ti/am65xevm/sepolicy
+ifeq ($(TARGET_PRODUCT), am65xevm_auto)
+BOARD_SEPOLICY_DIRS += \
+ packages/services/Car/car_product/sepolicy
+
+DEVICE_MANIFEST_FILE += device/ti/am65xevm/auto/manifest.xml
+endif
+
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
BOARD_ALL_MODULES := $(shell find $(KERNELDIR) -type f -iname '*.ko')
diff --git a/auto/am65xevm.mk b/auto/am65xevm.mk
--- /dev/null
+++ b/auto/am65xevm.mk
@@ -0,0 +1,26 @@
+#
+# Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+$(call inherit-product, device/ti/am65xevm/device-common.mk)
+$(call inherit-product, device/ti/am65xevm/auto/device.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
+$(call inherit-product, packages/services/Car/car_product/build/car.mk)
+
+PRODUCT_NAME := am65xevm_auto
+PRODUCT_DEVICE := am65xevm
+PRODUCT_BRAND := TI
+PRODUCT_MODEL := AOSP Auto on AM65x EVM
+PRODUCT_MANUFACTURER := Texas Instruments Inc
diff --git a/auto/device.mk b/auto/device.mk
--- /dev/null
+++ b/auto/device.mk
@@ -0,0 +1,29 @@
+#
+# Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+#Automotive
+PRODUCT_PACKAGES += \
+ android.hardware.automotive.vehicle@2.0-service \
+
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/android.hardware.type.automotive.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.type.automotive.xml \
+ frameworks/native/data/etc/android.hardware.screen.landscape.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.screen.landscape.xml \
+
+PRODUCT_PROPERTY_OVERRIDES += \
+ android.car.drawer.unlimited=true \
+ android.car.hvac.demo=true \
+ com.android.car.radio.demo=true \
+ com.android.car.radio.demo.dual=true \
diff --git a/auto/manifest.xml b/auto/manifest.xml
--- /dev/null
+++ b/auto/manifest.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.automotive.vehicle</name>
+ <transport>hwbinder</transport>
+ <version>2.0</version>
+ <interface>
+ <name>IVehicle</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>