diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-13 07:01:23 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-13 07:01:23 +0000 |
commit | 84438eb1c0a7d4cf8588b4eab717148260ad8c9d (patch) | |
tree | 4c60f629b7101b07943eac50512f21dea80df287 | |
parent | 4262d7461be7231b345b13fac583d46b14960669 (diff) | |
parent | 534268a2e1d588625accdb67d58cc582aad9dfa4 (diff) | |
download | device_google_car-84438eb1c0a7d4cf8588b4eab717148260ad8c9d.tar.gz device_google_car-84438eb1c0a7d4cf8588b4eab717148260ad8c9d.tar.bz2 device_google_car-84438eb1c0a7d4cf8588b4eab717148260ad8c9d.zip |
Merge "Introducing blueline_car ..." into rvc-dev am: 5708799782 am: 534268a2e1
Change-Id: Id719396d06ab788eae975e61147685c64d7c1e13
-rw-r--r-- | blueline_car/BoardConfig.mk | 21 | ||||
-rw-r--r-- | blueline_car/aosp_blueline_car.mk | 115 | ||||
-rw-r--r-- | blueline_car/audio_effects.xml | 99 | ||||
-rw-r--r-- | blueline_car/device-blueline-car.mk | 39 | ||||
-rw-r--r-- | blueline_car/device-common.mk | 156 | ||||
-rw-r--r-- | blueline_car/manifest.xml | 55 | ||||
-rw-r--r-- | blueline_car/vendor/automotive.evs@1.0-service.rc | 4 |
7 files changed, 489 insertions, 0 deletions
diff --git a/blueline_car/BoardConfig.mk b/blueline_car/BoardConfig.mk new file mode 100644 index 0000000..6f4c109 --- /dev/null +++ b/blueline_car/BoardConfig.mk @@ -0,0 +1,21 @@ +# +# Copyright (C) 2020 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. +# +# config.mk +# +# Product-specific compile-time definitions. +# + +BOARD_IS_AUTOMOTIVE := true diff --git a/blueline_car/aosp_blueline_car.mk b/blueline_car/aosp_blueline_car.mk new file mode 100644 index 0000000..bbe5103 --- /dev/null +++ b/blueline_car/aosp_blueline_car.mk @@ -0,0 +1,115 @@ +# +# Copyright 2020 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. +# + +DEVICE_FRAMEWORK_MANIFEST_FILE += device/google_car/blueline_car/manifest.xml + +# +# All components inherited here go to system image +# +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk) + +# mainline_system.mk sets 'PRODUCT_ENFORCE_RRO_TARGETS := *' +# but this breaks blueline_car. So undo it here. +PRODUCT_ENFORCE_RRO_TARGETS := + +# Enable mainline checking +# TODO(b/138706293): Enable mainline checking later +# PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed + +# +# All components inherited here go to system_ext image +# +$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) + +# +# All components inherited here go to product image +# +$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) + +# Auto modules +PRODUCT_PACKAGES += \ + android.hardware.broadcastradio@2.0-service \ + android.hardware.automotive.vehicle@2.0-service + +PRODUCT_PACKAGES += \ + android.hardware.automotive.audiocontrol@1.0-service \ + android.hardware.automotive.evs@1.0-service + +# Car init.rc +PRODUCT_COPY_FILES += \ + packages/services/Car/car_product/init/init.bootstat.rc:root/init.bootstat.rc \ + packages/services/Car/car_product/init/init.car.rc:root/init.car.rc \ + $(LOCAL_PATH)/vendor/automotive.evs@1.0-service.rc:/vendor/etc/init/android.hardware.automotive.evs@1.0-service.rc + +# Override heap growth limit due to high display density on device +PRODUCT_PROPERTY_OVERRIDES += \ + dalvik.vm.heapgrowthlimit=256m + +# Enable landscape +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.screen.landscape.xml:system/etc/permissions/android.hardware.screen.landscape.xml + +# Vendor Interface Manifest +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.broadcastradio.xml:system/etc/permissions/android.hardware.broadcastradio.xml + +TARGET_USES_CAR_FUTURE_FEATURES := true + +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/car_core_hardware.xml:system/etc/permissions/car_core_hardware.xml \ + frameworks/native/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.hardware.type.automotive.xml \ + frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ + frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ + frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ + frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ + frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ + frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ + frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ + frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ + frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ + frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ + frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ + frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ + frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml + +# broadcast radio feature + PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.broadcastradio.xml:system/etc/permissions/android.hardware.broadcastradio.xml + + +# +# All components inherited here go to vendor image +# +# TODO(b/136525499): move *_vendor.mk into the vendor makefile later +$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk) + +$(call inherit-product, device/google_car/blueline_car/device-blueline-car.mk) +$(call inherit-product-if-exists, vendor/google_devices/crosshatch/proprietary/device-vendor.mk) + + +PRODUCT_COPY_FILES += $(LOCAL_PATH)/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml + +# STOPSHIP deal with Qualcomm stuff later +# PRODUCT_RESTRICT_VENDOR_FILES := all + +PRODUCT_MANUFACTURER := Google +PRODUCT_BRAND := Android +PRODUCT_NAME := aosp_blueline_car +PRODUCT_DEVICE := blueline +PRODUCT_MODEL := AOSP on blueline diff --git a/blueline_car/audio_effects.xml b/blueline_car/audio_effects.xml new file mode 100644 index 0000000..6e40c7a --- /dev/null +++ b/blueline_car/audio_effects.xml @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (C) 2020 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. +--> + +<audio_effects_conf version="2.0" xmlns="http://schemas.android.com/audio/audio_effects_conf/v2_0"> + <libraries> + <library name="bundle" path="libbundlewrapper.so"/> + <library name="reverb" path="libreverbwrapper.so"/> + <library name="visualizer_sw" path="libvisualizer.so"/> + <library name="visualizer_hw" path="libqcomvisualizer.so"/> + <library name="downmix" path="libdownmix.so"/> + <library name="dynamics_processing" path="libdynproc.so"/> + <library name="loudness_enhancer" path="libldnhncr.so"/> + <library name="proxy" path="libeffectproxy.so"/> + <library name="offload_bundle" path="libqcompostprocbundle.so"/> + <library name="audio_pre_processing" path="libqcomvoiceprocessing.so"/> + <library name="volume_listener" path="libvolumelistener.so"/> + </libraries> + <effects> + <effectProxy name="bassboost" library="proxy" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b"> + <libsw library="bundle" uuid="8631f300-72e2-11df-b57e-0002a5d5c51b"/> + <libhw library="offload_bundle" uuid="2c4a8c24-1581-487f-94f6-0002a5d5c51b"/> + </effectProxy> + <effectProxy name="virtualizer" library="proxy" uuid="d3467faa-acc7-4d34-acaf-0002a5d5c51b"> + <libsw library="bundle" uuid="1d4033c0-8557-11df-9f2d-0002a5d5c51b"/> + <libhw library="offload_bundle" uuid="509a4498-561a-4bea-b3b1-0002a5d5c51b"/> + </effectProxy> + <effectProxy name="equalizer" library="proxy" uuid="c8e70ecd-48ca-456e-8a4f-0002a5d5c51b"> + <libsw library="bundle" uuid="ce772f20-847d-11df-bb17-0002a5d5c51b"/> + <libhw library="offload_bundle" uuid="a0dac280-401c-11e3-9379-0002a5d5c51b"/> + </effectProxy> + <effect name="volume" library="bundle" uuid="119341a0-8469-11df-81f9-0002a5d5c51b"/> + <effectProxy name="reverb_env_aux" library="proxy" uuid="48404ac9-d202-4ccc-bf84-0002a5d5c51b"> + <libsw library="reverb" uuid="4a387fc0-8ab3-11df-8bad-0002a5d5c51b"/> + <libhw library="offload_bundle" uuid="79a18026-18fd-4185-8233-0002a5d5c51b"/> + </effectProxy> + <effectProxy name="reverb_env_ins" library="proxy" uuid="b707403a-a1c1-4291-9573-0002a5d5c51b"> + <libsw library="reverb" uuid="c7a511a0-a3bb-11df-860e-0002a5d5c51b"/> + <libhw library="offload_bundle" uuid="eb64ea04-973b-43d2-8f5e-0002a5d5c51b"/> + </effectProxy> + <effectProxy name="reverb_pre_aux" library="proxy" uuid="1b78f587-6d1c-422e-8b84-0002a5d5c51b"> + <libsw library="reverb" uuid="f29a1400-a3bb-11df-8ddc-0002a5d5c51b"/> + <libhw library="offload_bundle" uuid="6987be09-b142-4b41-9056-0002a5d5c51b"/> + </effectProxy> + <effectProxy name="reverb_pre_ins" library="proxy" uuid="f3e178d2-ebcb-408e-8357-0002a5d5c51b"> + <libsw library="reverb" uuid="172cdf00-a3bc-11df-a72f-0002a5d5c51b"/> + <libhw library="offload_bundle" uuid="aa2bebf6-47cf-4613-9bca-0002a5d5c51b"/> + </effectProxy> + <effectProxy name="visualizer" library="proxy" uuid="1d0a1a53-7d5d-48f2-8e71-27fbd10d842c"> + <libsw library="visualizer_sw" uuid="d069d9e0-8329-11df-9168-0002a5d5c51b"/> + <libhw library="visualizer_hw" uuid="7a8044a0-1a71-11e3-a184-0002a5d5c51b"/> + </effectProxy> + <effect name="downmix" library="downmix" uuid="93f04452-e4fe-41cc-91f9-e475b6d1d69f"/> + <effect name="loudness_enhancer" library="loudness_enhancer" uuid="fa415329-2034-4bea-b5dc-5b381c8d1e2c"/> + <effect name="aec" library="audio_pre_processing" uuid="27dab416-23f8-11e8-b467-0ed5f89f718b"/> + <effect name="ns" library="audio_pre_processing" uuid="27dab6d2-23f8-11e8-b467-0ed5f89f718b"/> + <effect name="music_helper" library="volume_listener" uuid="08b8b058-0590-11e5-ac71-0025b32654a0"/> + <effect name="ring_helper" library="volume_listener" uuid="0956df94-0590-11e5-bdbe-0025b32654a0"/> + <effect name="alarm_helper" library="volume_listener" uuid="09f303e2-0590-11e5-8fdb-0025b32654a0"/> + <effect name="voice_helper" library="volume_listener" uuid="0ace5c08-0590-11e5-ae9e-0025b32654a0"/> + <effect name="notification_helper" library="volume_listener" uuid="0b776dde-0590-11e5-81ba-0025b32654a0"/> + <effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/> + </effects> + <postprocess> + <stream type="music"> + <apply effect="music_helper"/> + </stream> + <stream type="ring"> + <apply effect="ring_helper"/> + </stream> + <stream type="alarm"> + <apply effect="alarm_helper"/> + </stream> + <stream type="voice_call"> + <apply effect="voice_helper"/> + </stream> + <stream type="notification"> + <apply effect="notification_helper"/> + </stream> + </postprocess> + <preprocess> + <stream type="voice_communication"> + <apply effect="aec"/> + <apply effect="ns"/> + </stream> + </preprocess> +</audio_effects_conf> diff --git a/blueline_car/device-blueline-car.mk b/blueline_car/device-blueline-car.mk new file mode 100644 index 0000000..c968d9a --- /dev/null +++ b/blueline_car/device-blueline-car.mk @@ -0,0 +1,39 @@ +# +# Copyright 2020 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. +# + +PRODUCT_HARDWARE := blueline + +$(call inherit-product, packages/services/Car/car_product/build/car.mk) +include device/google_car/blueline_car/device-common.mk + +PRODUCT_COPY_FILES += \ + device/google/crosshatch/init.insmod.crosshatch.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg + +DEVICE_PACKAGE_OVERLAYS += device/google/crosshatch/crosshatch/overlay + +# Audio XMLs +PRODUCT_COPY_FILES += \ + device/google/crosshatch/mixer_paths_tavil_c1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil_c1.xml \ + device/google/crosshatch/audio_policy_volumes_c1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ + device/google/crosshatch/audio_platform_info_tavil_c1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tavil_c1.xml + +PRODUCT_COPY_FILES += \ + device/google/crosshatch/nfc/libnfc-nxp.crosshatch.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf + +PRODUCT_PACKAGES += \ + NoCutoutOverlay + +PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcd_density=250 diff --git a/blueline_car/device-common.mk b/blueline_car/device-common.mk new file mode 100644 index 0000000..a9f06df --- /dev/null +++ b/blueline_car/device-common.mk @@ -0,0 +1,156 @@ +# +# Copyright (C) 2020 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. +# + +TARGET_USERIMAGES_USE_F2FS := true + +LOCAL_PATH := device/google/crosshatch + +# define hardware platform +PRODUCT_PLATFORM := sdm845 + +# Enable updating of APEXes +$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) + +include device/google/crosshatch/device.mk + +PRODUCT_PROPERTY_OVERRIDES += \ + ro.control_privapp_permissions=disable + +PRODUCT_ENFORCE_RRO_TARGETS := framework-res + +# Audio fluence, ns, aec property, voice volume steps +PRODUCT_PROPERTY_OVERRIDES += \ + ro.qc.sdk.audio.fluencetype=fluencepro \ + persist.audio.fluence.voicecall=true \ + persist.audio.fluence.speaker=true \ + persist.audio.fluence.voicecomm=true \ + persist.audio.fluence.voicerec=false \ + ro.config.vc_call_vol_steps=7 + +# Bug 77867216 +PRODUCT_PROPERTY_OVERRIDES += audio.adm.buffering.ms=3 +PRODUCT_PROPERTY_OVERRIDES += vendor.audio.adm.buffering.ms=3 +PRODUCT_PROPERTY_OVERRIDES += audio_hal.period_multiplier=2 +PRODUCT_PROPERTY_OVERRIDES += af.fast_track_multiplier=1 + +# Enable HW Codec 2.0 as default service +# Set all codec components are available with their normal ranks +# Set OMX components's default rank large than Codec 2.0 HW components's default rank (0x100) +PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.ccodec=4 +PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.omx_default_rank=512 + +# Pixelstats broken mic detection +PRODUCT_PROPERTY_OVERRIDES += vendor.audio.mic_break=true + +# Setting vendor SPL +VENDOR_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH) + +# Set boot SPL +BOOT_SECURITY_PATCH = $(PLATFORM_SECURITY_PATCH) + +# MIDI feature +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml + +# Audio low latency feature +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml + +# Pro audio feature +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml + +# Enable AAudio MMAP/NOIRQ data path. +# 1 is AAUDIO_POLICY_NEVER means only use Legacy path. +# 2 is AAUDIO_POLICY_AUTO means try MMAP then fallback to Legacy path. +# 3 is AAUDIO_POLICY_ALWAYS means only use MMAP path. +PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_policy=2 +# 1 is AAUDIO_POLICY_NEVER means only use SHARED mode +# 2 is AAUDIO_POLICY_AUTO means try EXCLUSIVE then fallback to SHARED mode. +# 3 is AAUDIO_POLICY_ALWAYS means only use EXCLUSIVE mode. +PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_exclusive_policy=2 + +# Increase the apparent size of a hardware burst from 1 msec to 2 msec. +# A "burst" is the number of frames processed at one time. +# That is an increase from 48 to 96 frames at 48000 Hz. +# The DSP will still be bursting at 48 frames but AAudio will think the burst is 96 frames. +# A low number, like 48, might increase power consumption or stress the system. +PRODUCT_PROPERTY_OVERRIDES += aaudio.hw_burst_min_usec=2000 + +# Set lmkd options +PRODUCT_PRODUCT_PROPERTIES += \ + ro.lmk.low=1001 \ + ro.lmk.medium=800 \ + ro.lmk.critical=0 \ + ro.lmk.critical_upgrade=false \ + ro.lmk.upgrade_pressure=100 \ + ro.lmk.downgrade_pressure=100 \ + ro.lmk.kill_heaviest_task=true \ + ro.lmk.kill_timeout_ms=100 \ + ro.lmk.use_minfree_levels=true \ + +# A2DP offload enabled for compilation +AUDIO_FEATURE_ENABLED_A2DP_OFFLOAD := true + +# A2DP offload supported +PRODUCT_PROPERTY_OVERRIDES += \ +ro.bluetooth.a2dp_offload.supported=true + +# A2DP offload disabled (UI toggle property) +PRODUCT_PROPERTY_OVERRIDES += \ +persist.bluetooth.a2dp_offload.disabled=false + +# A2DP offload DSP supported encoder list +PRODUCT_PROPERTY_OVERRIDES += \ +persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac + +# Modem loging file +PRODUCT_COPY_FILES += \ + device/google/crosshatch/init.logging.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_PLATFORM).logging.rc + +# Dumpstate HAL +PRODUCT_PACKAGES += \ + android.hardware.dumpstate@1.0-service.blueline + +# Dmabuf dump tool for bug reports +PRODUCT_PACKAGES += \ + dmabuf_dump + +# whitelisted app +PRODUCT_COPY_FILES += \ + device/google/crosshatch/qti_whitelist.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/qti_whitelist.xml + +PRODUCT_PACKAGES += \ + llkd +#PRODUCT_PROPERTY_OVERRIDES += \ +# ro.khungtask.enable=false +# + +# Enable retrofit dynamic partitions for all blueline +# and blueline targets +PRODUCT_USE_DYNAMIC_PARTITIONS := true +PRODUCT_RETROFIT_DYNAMIC_PARTITIONS := true +PRODUCT_PACKAGES += \ + android.hardware.boot@1.0-impl.recovery \ + bootctrl.sdm845 \ + bootctrl.sdm845.recovery \ + check_dynamic_partitions \ + +AB_OTA_POSTINSTALL_CONFIG += \ + RUN_POSTINSTALL_product=true \ + POSTINSTALL_PATH_product=bin/check_dynamic_partitions \ + FILESYSTEM_TYPE_product=ext4 \ + POSTINSTALL_OPTIONAL_product=false \ diff --git a/blueline_car/manifest.xml b/blueline_car/manifest.xml new file mode 100644 index 0000000..1e376ad --- /dev/null +++ b/blueline_car/manifest.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (C) 2020 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. +--> +<manifest version="1.0" type="framework" > + <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> + <hal format="hidl"> + <name>android.hardware.automotive.audiocontrol</name> + <transport>hwbinder</transport> + <version>1.0</version> + <interface> + <name>IAudioControl</name> + <instance>default</instance> + </interface> + </hal> + <hal format="hidl"> + <name>android.hardware.automotive.evs</name> + <transport>hwbinder</transport> + <version>1.0</version> + <interface> + <name>IEvsEnumerator</name> + <instance>EvsEnumeratorHw</instance> + </interface> + </hal> + <!-- FIXME: Move this to shared manifest.xml --> + <hal format="hidl"> + <name>android.hardware.broadcastradio</name> + <transport>hwbinder</transport> + <version>2.0</version> + <interface> + <name>IBroadcastRadio</name> + <instance>amfm</instance> + <instance>dab</instance> + </interface> + </hal> +</manifest> diff --git a/blueline_car/vendor/automotive.evs@1.0-service.rc b/blueline_car/vendor/automotive.evs@1.0-service.rc new file mode 100644 index 0000000..117c249 --- /dev/null +++ b/blueline_car/vendor/automotive.evs@1.0-service.rc @@ -0,0 +1,4 @@ +service vendor.evs-hal-mock /vendor/bin/hw/android.hardware.automotive.evs@1.0-service + class hal + user automotive_evs + group automotive_evs |