From 7dbebb7ab42ad6df0d97757fc0ea7e5539bcd41c Mon Sep 17 00:00:00 2001 From: Cheney Ni Date: Wed, 15 Sep 2021 10:57:36 +0800 Subject: [PATCH 01/17] Bluetooth: Bring up QCOM Bluetooth HAL Specify all configurations on qti_default.mk, and here are some important items: * QCOM_BLUETOOTH_USING_DIAG = false * TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18" * UART_USE_TERMIOS_AFC = true * TARGET_USE_QTI_BT_OBS = true Bug: 202113218 Test: Build pass Change-Id: I444d64e7413d1b08aff295e3ad64238cbaec1286 --- bluetooth/qti_default.mk | 45 ++++++++++++++++++++++++++++++++++++++++ device-lynx.mk | 16 ++------------ 2 files changed, 47 insertions(+), 14 deletions(-) create mode 100644 bluetooth/qti_default.mk diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk new file mode 100644 index 0000000..e139279 --- /dev/null +++ b/bluetooth/qti_default.mk @@ -0,0 +1,45 @@ +# +# 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. +# + +# Bluetooth HAL and Pixel extension +DEVICE_MANIFEST_FILE += \ + device/google/lynx/bluetooth/manifest_bluetooth.xml + +BOARD_HAVE_BLUETOOTH_QCOM = true +BOARD_USES_COMMON_BLUETOOTH_HAL = true +QCOM_BLUETOOTH_USING_DIAG = false +TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18" +UART_USE_TERMIOS_AFC = true +TARGET_USE_QTI_BT_OBS = true +TARGET_USE_QTI_BT_SAR = true +TARGET_USE_QTI_BT_CHANNEL_AVOIDANCE = true +PRODUCT_PACKAGES += \ + android.hardware.bluetooth@1.0-service-qti \ + android.hardware.bluetooth@1.0-impl-qti \ + hardware.google.bluetooth.sar@1.0-impl \ + hardware.google.bluetooth.bt_channel_avoidance@1.0-impl + +# Bluetooth SAR test tools +PRODUCT_PACKAGES_DEBUG += \ + bluetooth_sar_test + +# Bluetooth SoC, BDA in device tree, and WiPower +PRODUCT_PROPERTY_OVERRIDES += \ + vendor.qcom.bluetooth.soc=hastings \ + ro.vendor.bt.bdaddr_path=/proc/device-tree/chosen/config/bt_addr \ + ro.vendor.bluetooth.emb_wp_mode=false \ + ro.vendor.bluetooth.wipower=false + diff --git a/device-lynx.mk b/device-lynx.mk index 59812b6..ee41f52 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -81,16 +81,8 @@ DEVICE_MANIFEST_FILE += \ PRODUCT_COPY_FILES += \ device/google/lynx/thermal_info_config_lynx.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json -# Bluetooth HAL -DEVICE_MANIFEST_FILE += \ - device/google/lynx/bluetooth/manifest_bluetooth.xml -PRODUCT_SOONG_NAMESPACES += \ - vendor/broadcom/bluetooth -PRODUCT_PACKAGES += \ - android.hardware.bluetooth@1.1-service.bcmbtlinux \ - bt_vendor.conf -PRODUCT_COPY_FILES += \ - device/google/lynx/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf +# Bluetooth HAL and Pixel extension +include device/google/lynx/bluetooth/qti_default.mk # Keymaster HAL #LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service @@ -122,10 +114,6 @@ PRODUCT_COPY_FILES += \ # ro.hardware.keystore=software \ # ro.hardware.gatekeeper=software -# default BDADDR for EVB only -PRODUCT_PROPERTY_OVERRIDES += \ - ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55" - # Fingerprint HAL GOODIX_CONFIG_BUILD_VERSION := g7_trusty include device/google/gs101/fingerprint/udfps_common.mk From b28a37c992293c19c3fb5fbfd4a4265c0a60155c Mon Sep 17 00:00:00 2001 From: Yung Ti Su Date: Wed, 15 Dec 2021 16:43:35 +0800 Subject: [PATCH 02/17] audio: enable 96K speaker playback & correct mic2 id Bug: 210927949 Test: manual Signed-off-by: Yung Ti Su Change-Id: Ie1e4537176f6df53780f258cd9924913df476f50 --- audio/lynx/config/mixer_paths.xml | 6 ++++-- audio/lynx/config/mixer_paths_factory.xml | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/audio/lynx/config/mixer_paths.xml b/audio/lynx/config/mixer_paths.xml index e3db0cb..47420bb 100644 --- a/audio/lynx/config/mixer_paths.xml +++ b/audio/lynx/config/mixer_paths.xml @@ -33,8 +33,10 @@ + + @@ -77,8 +79,8 @@ - - + + diff --git a/audio/lynx/config/mixer_paths_factory.xml b/audio/lynx/config/mixer_paths_factory.xml index 4e551f2..0133310 100644 --- a/audio/lynx/config/mixer_paths_factory.xml +++ b/audio/lynx/config/mixer_paths_factory.xml @@ -17,8 +17,6 @@ - - @@ -111,7 +109,7 @@ - + From 86825193b2508948180f36998a8da401628740c3 Mon Sep 17 00:00:00 2001 From: Cheney Ni Date: Mon, 13 Dec 2021 10:12:11 +0800 Subject: [PATCH 03/17] Bluetooth: Add Sepolicy for QTI default HAL (2/2) Uncouple from other projects sepolicy Bug: 202113218 Test: Build pass Change-Id: I975ffe8c273a7ecff855d0804b97cc8a5b868ba9 --- bluetooth/qti_default.mk | 3 ++- device-lynx.mk | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index e139279..d6ffd8c 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -18,6 +18,8 @@ DEVICE_MANIFEST_FILE += \ device/google/lynx/bluetooth/manifest_bluetooth.xml +BOARD_SEPOLICY_DIRS += device/google/lynx-sepolicy/bluetooth + BOARD_HAVE_BLUETOOTH_QCOM = true BOARD_USES_COMMON_BLUETOOTH_HAL = true QCOM_BLUETOOTH_USING_DIAG = false @@ -42,4 +44,3 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.vendor.bt.bdaddr_path=/proc/device-tree/chosen/config/bt_addr \ ro.vendor.bluetooth.emb_wp_mode=false \ ro.vendor.bluetooth.wipower=false - diff --git a/device-lynx.mk b/device-lynx.mk index ee41f52..0b74eb9 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -25,7 +25,6 @@ $(call inherit-product-if-exists, vendor/google_devices/lynx/proprietary/lynx/de include device/google/gs201/device-shipping-common.mk include device/google/lynx/audio/lynx/audio-tables.mk include hardware/google/pixel/vibrator/cs40l26/device.mk -include device/google/gs101/bluetooth/bluetooth.mk SOONG_CONFIG_lyric_tuning_product := cloudripper SOONG_CONFIG_google3a_config_target_device := cloudripper From cff5a75fa2b7985656b268440be597f08c7e156f Mon Sep 17 00:00:00 2001 From: Sasha Smundak Date: Thu, 16 Dec 2021 11:29:57 -0800 Subject: [PATCH 04/17] Use soong_config_ macros to set Soong config variables. Bug: 198503843 Test: treehugger Change-Id: I914bf3c744a4243d745a5610b97e133e7faaef26 --- device-lynx.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device-lynx.mk b/device-lynx.mk index 0b74eb9..349b938 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -26,8 +26,8 @@ include device/google/gs201/device-shipping-common.mk include device/google/lynx/audio/lynx/audio-tables.mk include hardware/google/pixel/vibrator/cs40l26/device.mk -SOONG_CONFIG_lyric_tuning_product := cloudripper -SOONG_CONFIG_google3a_config_target_device := cloudripper +$(call soong_config_set,lyric,tuning_product,cloudripper) +$(call soong_config_set,google3a_config,target_device,cloudripper) # Init files PRODUCT_COPY_FILES += \ From 8b945662303cd0e2d0202bf132d79520d3351283 Mon Sep 17 00:00:00 2001 From: Yung Ti Su Date: Thu, 23 Dec 2021 16:34:00 +0800 Subject: [PATCH 05/17] Lower the speaker AMP Gain for 96k ASP mode Bug: 210927949 Test: manual Signed-off-by: Yung Ti Su Change-Id: I41fd333c7969e91f29efb74b605fcbec46650faa --- audio/lynx/config/mixer_paths.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/lynx/config/mixer_paths.xml b/audio/lynx/config/mixer_paths.xml index 47420bb..7aca431 100644 --- a/audio/lynx/config/mixer_paths.xml +++ b/audio/lynx/config/mixer_paths.xml @@ -69,8 +69,8 @@ - - + + From 3641d4eaa0a786b679b195ac740cd2056810df3f Mon Sep 17 00:00:00 2001 From: Darren Hsu Date: Wed, 29 Dec 2021 10:25:06 +0800 Subject: [PATCH 06/17] powerstats: use gs common library to get common data providers Bug: 206576142 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I894196858441352be5e403fcb2f0461300b5217e Signed-off-by: Darren Hsu --- powerstats/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerstats/Android.bp b/powerstats/Android.bp index 9e865b9..2a38f9f 100644 --- a/powerstats/Android.bp +++ b/powerstats/Android.bp @@ -15,7 +15,7 @@ soong_namespace { imports: [ "hardware/google/pixel", - "device/google/gs201", + "device/google/gs201/powerstats", ] } From d943b3911686f0619b9a792f8aac1d717ecf3421 Mon Sep 17 00:00:00 2001 From: Robert Lee Date: Wed, 29 Dec 2021 07:15:07 +0000 Subject: [PATCH 07/17] audio: enable default 96k Enable default 96k sample rate to fix the noise issue when enabling 96k speaker protection with 48k sample rate setting. Bug: 206060532 Test: audio normal after device boot with speaker protection enabled Change-Id: I6a62984c25497b38544a8463a86c30cae0a37098 Signed-off-by: Robert Lee --- audio/lynx/config/mixer_paths.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audio/lynx/config/mixer_paths.xml b/audio/lynx/config/mixer_paths.xml index 7aca431..d5b41ac 100644 --- a/audio/lynx/config/mixer_paths.xml +++ b/audio/lynx/config/mixer_paths.xml @@ -46,6 +46,10 @@ + + + + From ba4454c5f74100730d779ca1b08e5169daa05479 Mon Sep 17 00:00:00 2001 From: Cheney Ni Date: Thu, 6 Jan 2022 19:16:21 +0800 Subject: [PATCH 08/17] Bluetooth: control A2DP capabilities by each project Bug: 194607800 Bug: 203042971 Test: pass A2DP playback manual test Change-Id: I2021ad7ef115dee9b43784ffa27f2ab78306f3dc --- bluetooth/qti_default.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index d6ffd8c..b93858e 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -44,3 +44,8 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.vendor.bt.bdaddr_path=/proc/device-tree/chosen/config/bt_addr \ ro.vendor.bluetooth.emb_wp_mode=false \ ro.vendor.bluetooth.wipower=false + +PRODUCT_PROPERTY_OVERRIDES += \ + ro.bluetooth.a2dp_offload.supported=true \ + persist.bluetooth.a2dp_offload.disabled=false \ + persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac From c2b43ffd7f087a656fcd8c2bbe03e86d3b9b0d2b Mon Sep 17 00:00:00 2001 From: Cheney Ni Date: Thu, 6 Jan 2022 19:17:13 +0800 Subject: [PATCH 09/17] Bluetooth: disable A2DP offloading temporarily It does not support the A2DP offloading yet. Bug: 203042971 Test: pass A2DP playback manual test Change-Id: I998b9fe75c4901a18eec667b6f7e9417297dd53d --- bluetooth/qti_default.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index b93858e..58d6e9e 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -47,5 +47,5 @@ PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.bluetooth.a2dp_offload.supported=true \ - persist.bluetooth.a2dp_offload.disabled=false \ + persist.bluetooth.a2dp_offload.disabled=true \ persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac From 3da8ff16ce843f85eef35d941c4c394bc50f5aa0 Mon Sep 17 00:00:00 2001 From: Cheney Ni Date: Fri, 7 Jan 2022 17:09:33 +0800 Subject: [PATCH 10/17] Bluetooth: update the HAL to be IBluetoothHci @1.1 A build flag TARGET_BLUETOOTH_HCI_V1_1 to control the implementation version Bug: 202113218 Test: pass Bluetooth ON / OFF manually test Change-Id: I42b8e9fede9c38c51a6498df52f514f0841fca17 --- bluetooth/manifest_bluetooth.xml | 2 +- bluetooth/qti_default.mk | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bluetooth/manifest_bluetooth.xml b/bluetooth/manifest_bluetooth.xml index d733c24..d9a378e 100644 --- a/bluetooth/manifest_bluetooth.xml +++ b/bluetooth/manifest_bluetooth.xml @@ -2,7 +2,7 @@ android.hardware.bluetooth hwbinder - 1.0 + 1.1 IBluetoothHci default diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index 58d6e9e..2484edd 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -23,14 +23,19 @@ BOARD_SEPOLICY_DIRS += device/google/lynx-sepolicy/bluetooth BOARD_HAVE_BLUETOOTH_QCOM = true BOARD_USES_COMMON_BLUETOOTH_HAL = true QCOM_BLUETOOTH_USING_DIAG = false +TARGET_BLUETOOTH_HCI_V1_1 = true TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18" UART_USE_TERMIOS_AFC = true TARGET_USE_QTI_BT_OBS = true TARGET_USE_QTI_BT_SAR = true TARGET_USE_QTI_BT_CHANNEL_AVOIDANCE = true +ifeq ($(TARGET_BLUETOOTH_HCI_V1_1),true) + PRODUCT_PACKAGES += android.hardware.bluetooth@1.1-impl-qti +else + PRODUCT_PACKAGES += android.hardware.bluetooth@1.0-impl-qti +endif PRODUCT_PACKAGES += \ android.hardware.bluetooth@1.0-service-qti \ - android.hardware.bluetooth@1.0-impl-qti \ hardware.google.bluetooth.sar@1.0-impl \ hardware.google.bluetooth.bt_channel_avoidance@1.0-impl From e02c9bb086001862eeaef46a98fda6ebe6e34c6c Mon Sep 17 00:00:00 2001 From: Cheney Ni Date: Wed, 19 Jan 2022 20:02:42 +0800 Subject: [PATCH 11/17] Bluetooth: disable IBS low power control Bug: 202113218 Test: pass Bluetooth HAL log check Change-Id: Ia3d1435ab2cba8c48c0162179bb43b2101b7e5df --- bluetooth/qti_default.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index 2484edd..5adef0b 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -26,6 +26,7 @@ QCOM_BLUETOOTH_USING_DIAG = false TARGET_BLUETOOTH_HCI_V1_1 = true TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18" UART_USE_TERMIOS_AFC = true +TARGET_USE_QTI_BT_IBS = false TARGET_USE_QTI_BT_OBS = true TARGET_USE_QTI_BT_SAR = true TARGET_USE_QTI_BT_CHANNEL_AVOIDANCE = true From 1332b4e457e0c933623f4411c4468c4171dad921 Mon Sep 17 00:00:00 2001 From: Shinru Han Date: Thu, 20 Jan 2022 15:32:34 +0800 Subject: [PATCH 12/17] gps: Add gps.xml Test: GPS sanity test Bug: 215480040 Change-Id: Ia39e86ba11a588dc83c0e4a2697265393bf53e19 --- device-lynx.mk | 10 ++++++ gps.xml.l10 | 86 ++++++++++++++++++++++++++++++++++++++++++++++++ gps_user.xml.l10 | 86 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 182 insertions(+) create mode 100644 gps.xml.l10 create mode 100644 gps_user.xml.l10 diff --git a/device-lynx.mk b/device-lynx.mk index 349b938..f7f5c73 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -128,3 +128,13 @@ PRODUCT_VENDOR_PROPERTIES += \ # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts + +# GPS xml +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) + PRODUCT_COPY_FILES += \ + device/google/lynx/gps.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +else + PRODUCT_COPY_FILES += \ + device/google/lynx/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml +endif + diff --git a/gps.xml.l10 b/gps.xml.l10 new file mode 100644 index 0000000..a6bbcfc --- /dev/null +++ b/gps.xml.l10 @@ -0,0 +1,86 @@ + + + + + + + + + + diff --git a/gps_user.xml.l10 b/gps_user.xml.l10 new file mode 100644 index 0000000..686d7dd --- /dev/null +++ b/gps_user.xml.l10 @@ -0,0 +1,86 @@ + + + + + + + + + + + From 3763883e2f71931bd77e022e0d21c12719524f32 Mon Sep 17 00:00:00 2001 From: horngchuang Date: Wed, 19 Jan 2022 17:53:47 +0800 Subject: [PATCH 13/17] camera: Add camera FATP tool. Add camera FATP test tool for factory build only Test: build pass, tool is generated on L10 Bug: 215309232 Change-Id: I3841ea2f3f6dcd225c3e682904bf205b1645d1c3 --- factory_lynx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factory_lynx.mk b/factory_lynx.mk index 1387c1a..b456ceb 100644 --- a/factory_lynx.mk +++ b/factory_lynx.mk @@ -31,7 +31,7 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55" # Factory binaries of camera -PRODUCT_PACKAGES += fatp_c10p10_wide_hat_tool +PRODUCT_PACKAGES += fatp_imx787_hat_tool # Factory binaries of wifi PRODUCT_PACKAGES += myftm From cbe3b57034b413c415a9d57c3dbc9003081beb9e Mon Sep 17 00:00:00 2001 From: Hsiu-Chang Chen Date: Fri, 21 Jan 2022 15:28:07 +0800 Subject: [PATCH 14/17] wifi: Add WifiOverlay2023Mid Bug: 213272246 Test: Overlay config can be read correctly Change-Id: Ice3cefcc45498fdafede5c7d1a749f85a440bc1d --- rro_overlays/WifiOverlay/Android.bp | 18 +++ rro_overlays/WifiOverlay/AndroidManifest.xml | 27 ++++ rro_overlays/WifiOverlay/OWNERS | 3 + .../WifiOverlay/res/values/config.xml | 138 ++++++++++++++++++ 4 files changed, 186 insertions(+) create mode 100644 rro_overlays/WifiOverlay/Android.bp create mode 100644 rro_overlays/WifiOverlay/AndroidManifest.xml create mode 100644 rro_overlays/WifiOverlay/OWNERS create mode 100644 rro_overlays/WifiOverlay/res/values/config.xml diff --git a/rro_overlays/WifiOverlay/Android.bp b/rro_overlays/WifiOverlay/Android.bp new file mode 100644 index 0000000..a79cb93 --- /dev/null +++ b/rro_overlays/WifiOverlay/Android.bp @@ -0,0 +1,18 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "//device/google/lynx:device_google_lynx_license"" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: [ + "//device/google/lynx:device_google_lynx_license", + ], +} + +runtime_resource_overlay { + name: "WifiOverlay2023Mid", + theme: "WifiOverlay2023Mid", + certificate: "platform", + sdk_version: "current", + product_specific: true +} diff --git a/rro_overlays/WifiOverlay/AndroidManifest.xml b/rro_overlays/WifiOverlay/AndroidManifest.xml new file mode 100644 index 0000000..e59eb88 --- /dev/null +++ b/rro_overlays/WifiOverlay/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + diff --git a/rro_overlays/WifiOverlay/OWNERS b/rro_overlays/WifiOverlay/OWNERS new file mode 100644 index 0000000..0fa24cf --- /dev/null +++ b/rro_overlays/WifiOverlay/OWNERS @@ -0,0 +1,3 @@ +# People who can approve changes for submission +kumachang@google.com +hsuvictor@google.com diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/rro_overlays/WifiOverlay/res/values/config.xml new file mode 100644 index 0000000..070422c --- /dev/null +++ b/rro_overlays/WifiOverlay/res/values/config.xml @@ -0,0 +1,138 @@ + + + + + + true + + + true + + + true + + + true + + + -77 + -80 + + -80 + -83 + + + false + + + true + + + 524288,2097152,8388608,262144,524288,4194304 + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + Pixel + + + 32 + + + + 1 + 256 + 257 + 258 + 259 + 260 + 261 + 262 + 263 + 264 + 512 + 513 + 514 + + + + 3000 + + + 10 + + + true + + + true + + + true + + + true + + + true + + + false + + + true + + + true + + + true + + + true + From c08b88949818968fe2a4f28ca4b247b5c64e4211 Mon Sep 17 00:00:00 2001 From: Yung Ti Su Date: Sat, 22 Jan 2022 11:04:37 +0800 Subject: [PATCH 15/17] factory: add usb_headset_mic support for MFG_API Bug: 214585271 Test: manual Signed-off-by: Yung Ti Su Change-Id: Ieba43e651dbc06778849a03768d256f75a10ebef --- audio/lynx/config/mixer_paths_factory.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/audio/lynx/config/mixer_paths_factory.xml b/audio/lynx/config/mixer_paths_factory.xml index 0133310..df1c19c 100644 --- a/audio/lynx/config/mixer_paths_factory.xml +++ b/audio/lynx/config/mixer_paths_factory.xml @@ -273,6 +273,13 @@ + + + + + + + From bdfb224e26c7ca97b6d619b2fa59d8ebc7a79ad6 Mon Sep 17 00:00:00 2001 From: Stephane Lee Date: Wed, 19 Jan 2022 17:51:09 -0800 Subject: [PATCH 16/17] Add device-specific support for GoogleBattery HAL 1.2. Bug: 205021987 Test: Ensure Adaptive Charging/Battery health flags works as expected. Change-Id: Id3805385006cb51023ac06fc55acbe60f079250d --- manifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.xml b/manifest.xml index 66b69a6..519e852 100644 --- a/manifest.xml +++ b/manifest.xml @@ -170,7 +170,7 @@ vendor.google.google_battery hwbinder - 1.1 + 1.2 IGoogleBattery default From ef4743116a574c53339def3ed98e7e4cecc09ec7 Mon Sep 17 00:00:00 2001 From: Michael Ayoubi Date: Wed, 2 Feb 2022 01:56:06 +0000 Subject: [PATCH 17/17] Set per device ro.gms.dck.eligible_wcc. Bug: b/215397758 Test: Build and flash on device. Change-Id: I1cfb947a921c6f001d4d2598144247ec7b11cf9a --- device-lynx.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device-lynx.mk b/device-lynx.mk index f7f5c73..f300f0d 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -138,3 +138,6 @@ else device/google/lynx/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml endif +# DCK properties based on target +PRODUCT_PROPERTY_OVERRIDES += \ + ro.gms.dck.eligible_wcc=2