summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2022-03-08 00:17:09 +0000
committerXin Li <delphij@google.com>2022-03-08 00:17:09 +0000
commit7eafd55e2c59144734bf3c1b7947100635471ec0 (patch)
tree4e733c76763ad65915b188d0d4c855feafe7b4bf
parent3f92f8dc181628c300e6473d021262dc6136665d (diff)
parent2098700da01b34faa48257cd16a090c05f9861ea (diff)
downloadgoogle_car-7eafd55e2c59144734bf3c1b7947100635471ec0.tar.gz
Merge Android 12L
Bug: 222710654 Merged-In: I532ff2176e6a423dcd17faffb4bfff4daae47a14 Change-Id: Ie40a55bc8b9af7f9d9f5798650851ce4b8ee5f3b
-rw-r--r--AndroidProducts.mk5
-rw-r--r--common/manifest.xml12
-rw-r--r--common/overlay/frameworks/base/core/res/res/values/vendor_required_apps_managed_user.xml39
-rw-r--r--oriole_car/BoardConfig.mk29
-rw-r--r--oriole_car/aosp_oriole_car.mk26
-rw-r--r--oriole_car/device-oriole-car.mk26
-rw-r--r--raven_car/BoardConfig.mk29
-rw-r--r--raven_car/aosp_raven_car.mk26
-rw-r--r--raven_car/device-raven-car.mk26
9 files changed, 207 insertions, 11 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 39ec642..458afd6 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -19,6 +19,8 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/bramble_car/aosp_bramble_car.mk \
$(LOCAL_DIR)/coral_car/aosp_coral_car.mk \
$(LOCAL_DIR)/flame_car/aosp_flame_car.mk \
+ $(LOCAL_DIR)/oriole_car/aosp_oriole_car.mk \
+ $(LOCAL_DIR)/raven_car/aosp_raven_car.mk \
$(LOCAL_DIR)/redfin_car/aosp_redfin_car.mk \
$(LOCAL_DIR)/sargo_car/aosp_sargo_car.mk \
$(LOCAL_DIR)/sunfish_car/aosp_sunfish_car.mk
@@ -29,7 +31,8 @@ COMMON_LUNCH_CHOICES := \
aosp_bramble_car-userdebug \
aosp_coral_car-userdebug \
aosp_flame_car-userdebug \
+ aosp_oriole_car-userdebug \
+ aosp_raven_car-userdebug \
aosp_redfin_car-userdebug \
aosp_sargo_car-userdebug \
aosp_sunfish_car-userdebug
-
diff --git a/common/manifest.xml b/common/manifest.xml
index b617d02..6707e52 100644
--- a/common/manifest.xml
+++ b/common/manifest.xml
@@ -45,16 +45,8 @@
<hal format="hidl">
<name>android.hardware.automotive.can</name>
<transport>hwbinder</transport>
- <version>1.0</version>
- <interface>
- <name>ICanController</name>
- <instance>socketcan</instance>
- </interface>
- <interface>
- <name>ICanBus</name>
- <instance>test1</instance>
- <instance>test2</instance>
- </interface>
+ <fqname>@1.0::ICanBus/test1</fqname>
+ <fqname>@1.0::ICanBus/test2</fqname>
</hal>
<hal format="aidl">
<name>android.hardware.automotive.occupant_awareness</name>
diff --git a/common/overlay/frameworks/base/core/res/res/values/vendor_required_apps_managed_user.xml b/common/overlay/frameworks/base/core/res/res/values/vendor_required_apps_managed_user.xml
new file mode 100644
index 0000000..dceae9a
--- /dev/null
+++ b/common/overlay/frameworks/base/core/res/res/values/vendor_required_apps_managed_user.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2021 The Android Open Source Project
+ ~
+ ~ 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.
+ -->
+<resources>
+ <string-array translatable="false" name="vendor_required_apps_managed_user">
+
+ <item>com.android.vending</item>
+ <item>com.google.android.apps.automotive.inputmethod</item>
+ <item>com.google.android.apps.automotive.sensing.sensorreplay.recordingapp</item>
+ <item>com.google.android.apps.geo.autograph.vms.client.console.car</item>
+ <item>com.google.android.apps.geo.autograph.vms.client.devapp</item>
+ <item>com.google.android.apps.maps</item>
+ <item>com.google.android.automotive.benchmarks</item>
+ <item>com.google.android.car.adaslocation</item>
+ <item>com.google.android.carassistant</item>
+ <item>com.google.android.car.garagemode.testapp</item>
+ <item>com.google.android.car.kitchensink</item>
+ <item>com.google.android.car.netdbug</item>
+ <item>com.google.android.car.networking.preferenceupdater</item>
+ <item>com.google.android.car.setupwizard</item>
+ <item>com.google.android.car.uxr.oas</item>
+ <item>com.google.android.car.uxr.sample</item>
+ <item>com.google.android.embedded.projection</item>
+
+ </string-array>
+</resources>
diff --git a/oriole_car/BoardConfig.mk b/oriole_car/BoardConfig.mk
new file mode 100644
index 0000000..f612c93
--- /dev/null
+++ b/oriole_car/BoardConfig.mk
@@ -0,0 +1,29 @@
+#
+# Copyright (C) 2021 The Android Open-Source Project
+#
+# 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.
+#
+
+# Contents of this file were copied from device/google/raviole/raven/BoardConfig.mk,
+# except for:
+#
+# * TARGET_SCREEN_DENSITY is scaled down by 1.75x
+
+TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt
+TARGET_BOOTLOADER_BOARD_NAME := raviole
+TARGET_SCREEN_DENSITY := 240
+USES_DEVICE_GOOGLE_RAVIOLE := true
+
+include device/google/gs101/BoardConfig-common.mk
+-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
+-include vendor/google_devices/oriole/proprietary/BoardConfigVendor.mk
diff --git a/oriole_car/aosp_oriole_car.mk b/oriole_car/aosp_oriole_car.mk
new file mode 100644
index 0000000..606c025
--- /dev/null
+++ b/oriole_car/aosp_oriole_car.mk
@@ -0,0 +1,26 @@
+#
+# Copyright 2021 The Android Open Source Project
+#
+# 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/google_car/common/pre_google_car.mk)
+$(call inherit-product, device/google_car/oriole_car/device-oriole-car.mk)
+$(call inherit-product-if-exists, vendor/google_devices/raviole/proprietary/raven/device-vendor-oriole.mk)
+$(call inherit-product, device/google_car/common/post_google_car.mk)
+
+PRODUCT_MANUFACTURER := Google
+PRODUCT_BRAND := Android
+PRODUCT_NAME := aosp_oriole_car
+PRODUCT_DEVICE := oriole
+PRODUCT_MODEL := AOSP on oriole
diff --git a/oriole_car/device-oriole-car.mk b/oriole_car/device-oriole-car.mk
new file mode 100644
index 0000000..e37b6b8
--- /dev/null
+++ b/oriole_car/device-oriole-car.mk
@@ -0,0 +1,26 @@
+#
+# Copyright 2021 The Android Open Source Project
+#
+# 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.
+#
+
+PHONE_CAR_BOARD_CONFIG := device/google_car/oriole_car/BoardConfig.mk
+
+$(call inherit-product, packages/services/Car/car_product/build/car.mk)
+
+$(call inherit-product, device/google/raviole/device-oriole.mk)
+
+include device/google/gs101/uwb/uwb.mk
+
+PRODUCT_PRODUCT_PROPERTIES+= \
+ ro.adb.secure=0
diff --git a/raven_car/BoardConfig.mk b/raven_car/BoardConfig.mk
new file mode 100644
index 0000000..1e8c864
--- /dev/null
+++ b/raven_car/BoardConfig.mk
@@ -0,0 +1,29 @@
+#
+# Copyright (C) 2021 The Android Open-Source Project
+#
+# 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.
+#
+
+# Contents of this file were copied from device/google/raviole/raven/BoardConfig.mk,
+# except for:
+#
+# * TARGET_SCREEN_DENSITY is scaled down by 1.75x
+
+TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt
+TARGET_BOOTLOADER_BOARD_NAME := raven
+TARGET_SCREEN_DENSITY := 320
+USES_DEVICE_GOOGLE_RAVIOLE := true
+
+include device/google/gs101/BoardConfig-common.mk
+-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
+-include vendor/google_devices/raven/proprietary/BoardConfigVendor.mk
diff --git a/raven_car/aosp_raven_car.mk b/raven_car/aosp_raven_car.mk
new file mode 100644
index 0000000..cebd123
--- /dev/null
+++ b/raven_car/aosp_raven_car.mk
@@ -0,0 +1,26 @@
+#
+# Copyright 2021 The Android Open Source Project
+#
+# 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/google_car/common/pre_google_car.mk)
+$(call inherit-product, device/google_car/raven_car/device-raven-car.mk)
+$(call inherit-product-if-exists, vendor/google_devices/raviole/proprietary/raven/device-vendor-raven.mk)
+$(call inherit-product, device/google_car/common/post_google_car.mk)
+
+PRODUCT_MANUFACTURER := Google
+PRODUCT_BRAND := Android
+PRODUCT_NAME := aosp_raven_car
+PRODUCT_DEVICE := raven
+PRODUCT_MODEL := AOSP on raven
diff --git a/raven_car/device-raven-car.mk b/raven_car/device-raven-car.mk
new file mode 100644
index 0000000..75c751f
--- /dev/null
+++ b/raven_car/device-raven-car.mk
@@ -0,0 +1,26 @@
+#
+# Copyright 2021 The Android Open Source Project
+#
+# 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.
+#
+
+PHONE_CAR_BOARD_CONFIG := device/google_car/raven_car/BoardConfig.mk
+
+$(call inherit-product, packages/services/Car/car_product/build/car.mk)
+
+$(call inherit-product, device/google/raviole/device-raven.mk)
+
+include device/google/gs101/uwb/uwb.mk
+
+PRODUCT_PRODUCT_PROPERTIES+= \
+ ro.adb.secure=0