From d7ec3719edee200870275875fc3080560d9e3d24 Mon Sep 17 00:00:00 2001 From: "Peter (YM)" Date: Fri, 16 Aug 2024 06:21:35 +0000 Subject: [PATCH 01/13] thermal: read thermistor temp from sysfs - avoid wrong sensor value reading for thermalHAL Bug: 327327502 Test: Build to boot to home Flag: EXEMPT (bug 337358613) Change-Id: I342bcbfb5ee884aa437d4d4552aeea7d0a9df119 Signed-off-by: Peter (YM) --- thermal_info_config_charge_cheetah.json | 5 ----- thermal_info_config_charge_panther.json | 5 ----- thermal_info_config_cheetah.json | 7 ------- thermal_info_config_panther.json | 7 ------- 4 files changed, 24 deletions(-) diff --git a/thermal_info_config_charge_cheetah.json b/thermal_info_config_charge_cheetah.json index ca7e17a..8091d95 100644 --- a/thermal_info_config_charge_cheetah.json +++ b/thermal_info_config_charge_cheetah.json @@ -3,13 +3,11 @@ { "Name":"neutral_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp", "Multiplier":0.001 }, { "Name":"qi_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/qi_therm/tz_temp", "Multiplier":0.001 }, { @@ -17,7 +15,6 @@ "Type":"UNKNOWN", "HotThreshold":["NAN", 32.2, "NAN", "NAN", "NAN", "NAN", "NAN"], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], - "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -26,7 +23,6 @@ "Name":"usb_pwr_therm", "Type":"UNKNOWN", "HotThreshold":["NAN", 35.0, "NAN", "NAN", "NAN", "NAN", "NAN"], - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -34,7 +30,6 @@ { "Name":"usb_pwr_therm2", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp", "Multiplier":0.001 }, { diff --git a/thermal_info_config_charge_panther.json b/thermal_info_config_charge_panther.json index 7ab7626..915e16c 100644 --- a/thermal_info_config_charge_panther.json +++ b/thermal_info_config_charge_panther.json @@ -3,20 +3,17 @@ { "Name":"neutral_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp", "Multiplier":0.001 }, { "Name":"qi_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/qi_therm/tz_temp", "Multiplier":0.001 }, { "Name":"usb_pwr_therm", "Type":"UNKNOWN", "HotThreshold":["NAN", 35.0, "NAN", "NAN", "NAN", "NAN", "NAN"], - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -24,7 +21,6 @@ { "Name":"usb_pwr_therm2", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp", "Multiplier":0.001 }, { @@ -32,7 +28,6 @@ "Type":"UNKNOWN", "HotThreshold":["NAN", 32.9, "NAN", "NAN", "NAN", "NAN", "NAN"], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], - "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 diff --git a/thermal_info_config_cheetah.json b/thermal_info_config_cheetah.json index bd7ae0b..b107385 100644 --- a/thermal_info_config_cheetah.json +++ b/thermal_info_config_cheetah.json @@ -9,19 +9,16 @@ { "Name":"neutral_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp", "Multiplier":0.001 }, { "Name":"gnss_tcxo_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp", "Multiplier":0.001 }, { "Name":"qi_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/qi_therm/tz_temp", "Multiplier":0.001 }, { @@ -29,7 +26,6 @@ "Type":"UNKNOWN", "HotThreshold":["NAN", 32.2, "NAN", "NAN", "NAN", "NAN", "NAN"], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], - "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -38,7 +34,6 @@ "Name":"usb_pwr_therm", "Type":"UNKNOWN", "HotThreshold":["NAN", 35.0, "NAN", "NAN", "NAN", "NAN", "NAN"], - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -46,13 +41,11 @@ { "Name":"usb_pwr_therm2", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp", "Multiplier":0.001 }, { "Name":"disp_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp", "Multiplier":0.001 }, { diff --git a/thermal_info_config_panther.json b/thermal_info_config_panther.json index 673a690..862d7c5 100644 --- a/thermal_info_config_panther.json +++ b/thermal_info_config_panther.json @@ -9,26 +9,22 @@ { "Name":"neutral_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp", "Multiplier":0.001 }, { "Name":"gnss_tcxo_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp", "Multiplier":0.001 }, { "Name":"qi_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/qi_therm/tz_temp", "Multiplier":0.001 }, { "Name":"usb_pwr_therm", "Type":"UNKNOWN", "HotThreshold":["NAN", 35.0, "NAN", "NAN", "NAN", "NAN", "NAN"], - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 @@ -36,13 +32,11 @@ { "Name":"usb_pwr_therm2", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp", "Multiplier":0.001 }, { "Name":"disp_therm", "Type":"UNKNOWN", - "TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp", "Multiplier":0.001 }, { @@ -50,7 +44,6 @@ "Type":"UNKNOWN", "HotThreshold":["NAN", 32.9, "NAN", "NAN", "NAN", "NAN", "NAN"], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], - "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp", "Multiplier":0.001, "PollingDelay":60000, "PassiveDelay":7000 From 068f26e25ca9955e5251785b5b909b5c77c5c8d4 Mon Sep 17 00:00:00 2001 From: Wayne Lin Date: Mon, 12 Aug 2024 17:10:54 +0800 Subject: [PATCH 02/13] gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay Bug: 358041425 Test: verify pass Change-Id: I9615f6f87d98f991a51eef790627a9122a3f08af --- location/gps.6.1.xml.c10 | 1 + location/gps.6.1.xml.p10 | 1 + location/gps.xml | 1 + location/gps.xml.c10 | 1 + location/gps.xml.p10 | 1 + location/gps_user.6.1.xml.c10 | 1 + location/gps_user.6.1.xml.p10 | 1 + location/gps_user.xml | 1 + location/gps_user.xml.c10 | 1 + location/gps_user.xml.p10 | 1 + 10 files changed, 10 insertions(+) diff --git a/location/gps.6.1.xml.c10 b/location/gps.6.1.xml.c10 index 437fcce..4458163 100644 --- a/location/gps.6.1.xml.c10 +++ b/location/gps.6.1.xml.c10 @@ -49,6 +49,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" diff --git a/location/gps.6.1.xml.p10 b/location/gps.6.1.xml.p10 index f30d7a1..55f7ef2 100644 --- a/location/gps.6.1.xml.p10 +++ b/location/gps.6.1.xml.p10 @@ -49,6 +49,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" diff --git a/location/gps.xml b/location/gps.xml index d27a6f7..32e1ddc 100644 --- a/location/gps.xml +++ b/location/gps.xml @@ -49,6 +49,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" diff --git a/location/gps.xml.c10 b/location/gps.xml.c10 index f82d6f0..4421513 100644 --- a/location/gps.xml.c10 +++ b/location/gps.xml.c10 @@ -49,6 +49,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" diff --git a/location/gps.xml.p10 b/location/gps.xml.p10 index bd2798d..29cb0e1 100644 --- a/location/gps.xml.p10 +++ b/location/gps.xml.p10 @@ -49,6 +49,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" diff --git a/location/gps_user.6.1.xml.c10 b/location/gps_user.6.1.xml.c10 index f00c918..378c9de 100644 --- a/location/gps_user.6.1.xml.c10 +++ b/location/gps_user.6.1.xml.c10 @@ -48,6 +48,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" diff --git a/location/gps_user.6.1.xml.p10 b/location/gps_user.6.1.xml.p10 index 6f71d32..018d204 100644 --- a/location/gps_user.6.1.xml.p10 +++ b/location/gps_user.6.1.xml.p10 @@ -48,6 +48,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" diff --git a/location/gps_user.xml b/location/gps_user.xml index 3cde3f9..c2b3c57 100644 --- a/location/gps_user.xml +++ b/location/gps_user.xml @@ -48,6 +48,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" diff --git a/location/gps_user.xml.c10 b/location/gps_user.xml.c10 index 84c35e7..4acdcbf 100644 --- a/location/gps_user.xml.c10 +++ b/location/gps_user.xml.c10 @@ -48,6 +48,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" diff --git a/location/gps_user.xml.p10 b/location/gps_user.xml.p10 index 3832f9b..7aaa0a7 100644 --- a/location/gps_user.xml.p10 +++ b/location/gps_user.xml.p10 @@ -48,6 +48,7 @@ LtoSyncThresholdDays="1" GnssYearOfHardware="2020" + CpEarlyFixGuardTimeSec="1" CpGuardTimeSec="1" CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" From 5af050c92e98141fbd0e3aa98ad0c706832bb219 Mon Sep 17 00:00:00 2001 From: Shinru Han Date: Tue, 27 Aug 2024 06:15:15 +0000 Subject: [PATCH 03/13] gps: Re-enable GLO & QZSS in US Test: on-device Bug: 353579502 Change-Id: Idad61501a4ff862163fb6710fe1a6946d05c3f85 --- location/gps.6.1.xml.c10 | 2 ++ location/gps.6.1.xml.p10 | 2 ++ location/gps.xml | 2 ++ location/gps.xml.c10 | 2 ++ location/gps.xml.p10 | 2 ++ location/gps_user.6.1.xml.c10 | 2 ++ location/gps_user.6.1.xml.p10 | 2 ++ location/gps_user.xml | 2 ++ location/gps_user.xml.c10 | 2 ++ location/gps_user.xml.p10 | 2 ++ 10 files changed, 20 insertions(+) diff --git a/location/gps.6.1.xml.c10 b/location/gps.6.1.xml.c10 index 4458163..d582845 100644 --- a/location/gps.6.1.xml.c10 +++ b/location/gps.6.1.xml.c10 @@ -100,6 +100,8 @@ /> diff --git a/location/gps.6.1.xml.p10 b/location/gps.6.1.xml.p10 index 55f7ef2..d132bfa 100644 --- a/location/gps.6.1.xml.p10 +++ b/location/gps.6.1.xml.p10 @@ -100,6 +100,8 @@ /> diff --git a/location/gps.xml b/location/gps.xml index 32e1ddc..e091ba3 100644 --- a/location/gps.xml +++ b/location/gps.xml @@ -100,6 +100,8 @@ /> diff --git a/location/gps.xml.c10 b/location/gps.xml.c10 index 4421513..ddfcd71 100644 --- a/location/gps.xml.c10 +++ b/location/gps.xml.c10 @@ -100,6 +100,8 @@ /> diff --git a/location/gps.xml.p10 b/location/gps.xml.p10 index 29cb0e1..5ccf3ee 100644 --- a/location/gps.xml.p10 +++ b/location/gps.xml.p10 @@ -100,6 +100,8 @@ /> diff --git a/location/gps_user.6.1.xml.c10 b/location/gps_user.6.1.xml.c10 index 378c9de..2aa6fc4 100644 --- a/location/gps_user.6.1.xml.c10 +++ b/location/gps_user.6.1.xml.c10 @@ -98,6 +98,8 @@ /> diff --git a/location/gps_user.6.1.xml.p10 b/location/gps_user.6.1.xml.p10 index 018d204..ebbc2f7 100644 --- a/location/gps_user.6.1.xml.p10 +++ b/location/gps_user.6.1.xml.p10 @@ -98,6 +98,8 @@ /> diff --git a/location/gps_user.xml b/location/gps_user.xml index c2b3c57..463f991 100644 --- a/location/gps_user.xml +++ b/location/gps_user.xml @@ -98,6 +98,8 @@ /> diff --git a/location/gps_user.xml.c10 b/location/gps_user.xml.c10 index 4acdcbf..a3c3879 100644 --- a/location/gps_user.xml.c10 +++ b/location/gps_user.xml.c10 @@ -98,6 +98,8 @@ /> diff --git a/location/gps_user.xml.p10 b/location/gps_user.xml.p10 index 7aaa0a7..a0a0103 100644 --- a/location/gps_user.xml.p10 +++ b/location/gps_user.xml.p10 @@ -98,6 +98,8 @@ /> From 59e6c38b1961878f1bd49ba3b17069d80907576f Mon Sep 17 00:00:00 2001 From: Ankit Goyal Date: Wed, 28 Aug 2024 22:55:05 -0700 Subject: [PATCH 04/13] Delete mapper4 manifest Bug: 362183626 Flag: EXEMPT manifest update Test: Boot to home on shiba Change-Id: If10ca62f1180f578a133afb3753d3e31ee7606f3 --- manifest.xml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/manifest.xml b/manifest.xml index e01d156..18109c6 100644 --- a/manifest.xml +++ b/manifest.xml @@ -48,15 +48,6 @@ default - - android.hardware.graphics.mapper - passthrough - 4.0 - - IMapper - default - - android.hardware.graphics.composer hwbinder From 579d88fdc79b8d37803175bd50bdd60185983d48 Mon Sep 17 00:00:00 2001 From: Pindar Yang Date: Thu, 29 Aug 2024 11:39:48 +0000 Subject: [PATCH 05/13] move bootloader and radio build flag to device mk Flag: build.RELEASE_GOOGLE_PRODUCT_RADIO_DIR, build.RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR Bug: 362618412 Change-Id: Ib99eab337312bc3568839b7f46e555defb3e1c56 Signed-off-by: Pindar Yang --- cheetah/BoardConfig.mk | 10 ---------- cloudripper/BoardConfig.mk | 8 -------- device-cheetah.mk | 13 +++++++++++++ device-cloudripper.mk | 10 ++++++++++ device-panther.mk | 13 +++++++++++++ device-ravenclaw.mk | 10 ++++++++++ panther/BoardConfig.mk | 10 ---------- ravenclaw/BoardConfig.mk | 8 -------- 8 files changed, 46 insertions(+), 36 deletions(-) diff --git a/cheetah/BoardConfig.mk b/cheetah/BoardConfig.mk index 6f7f2d5..9d18764 100644 --- a/cheetah/BoardConfig.mk +++ b/cheetah/BoardConfig.mk @@ -17,16 +17,6 @@ # Enable load module in parallel BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true -RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_CHEETAH_RADIO_DIR) -RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000 -RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR) -$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) -ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),) -$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk) -else -$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) -endif - # The modules which need to be loaded in sequential BOARD_KERNEL_CMDLINE += fips140.load_sequential=1 BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 diff --git a/cloudripper/BoardConfig.mk b/cloudripper/BoardConfig.mk index d923b44..e69540e 100644 --- a/cloudripper/BoardConfig.mk +++ b/cloudripper/BoardConfig.mk @@ -15,14 +15,6 @@ # TARGET_BOARD_INFO_FILE := device/google/pantah/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := cloudripper -RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000 -RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR) -$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) -ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),) -$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk) -else -$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) -endif TARGET_SCREEN_DENSITY := 440 BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_CLOUDRIPPER := true diff --git a/device-cheetah.mk b/device-cheetah.mk index 684eb4b..f2efb5e 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -17,6 +17,19 @@ # Restrict the visibility of Android.bp files to improve build analysis time $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk) +ifdef RELEASE_GOOGLE_CHEETAH_RADIO_DIR +RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_CHEETAH_RADIO_DIR) +endif +RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000 +RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR) +$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) +ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),) +$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk) +else +$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) +endif + + TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_CHEETAH_VERSION) # Keeps flexibility for kasan and ufs builds TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_CHEETAH_DIR) diff --git a/device-cloudripper.mk b/device-cloudripper.mk index 723d350..4896cda 100644 --- a/device-cloudripper.mk +++ b/device-cloudripper.mk @@ -17,6 +17,16 @@ # Restrict the visibility of Android.bp files to improve build analysis time $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk) +RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000 +RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR) +$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) +ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),) +$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk) +else +$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) +endif + + # Keeps flexibility for kasan and ufs builds TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_CHEETAH_DIR) TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_CHEETAH_DIR)/kernel-headers diff --git a/device-panther.mk b/device-panther.mk index a629af7..1694d2d 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -17,6 +17,19 @@ # Restrict the visibility of Android.bp files to improve build analysis time $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk) +ifdef RELEASE_GOOGLE_PANTHER_RADIO_DIR +RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_PANTHER_RADIO_DIR) +endif +RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR ?= pdk# Keep this for pdk TODO: b/327119000 +RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR) +$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)) +ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)),) +$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk) +else +$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)) +endif + + TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_PANTHER_VERSION) # Keeps flexibility for kasan and ufs builds TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_PANTHER_DIR) diff --git a/device-ravenclaw.mk b/device-ravenclaw.mk index 19f0afc..115bdc7 100644 --- a/device-ravenclaw.mk +++ b/device-ravenclaw.mk @@ -17,6 +17,16 @@ # Restrict the visibility of Android.bp files to improve build analysis time $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk) +RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000 +RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR) +$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) +ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),) +$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk) +else +$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) +endif + + # Keeps flexibility for kasan and ufs builds TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_CHEETAH_DIR) TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_CHEETAH_DIR)/kernel-headers diff --git a/panther/BoardConfig.mk b/panther/BoardConfig.mk index 34c72d7..23d00dd 100644 --- a/panther/BoardConfig.mk +++ b/panther/BoardConfig.mk @@ -21,16 +21,6 @@ BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true BOARD_KERNEL_CMDLINE += fips140.load_sequential=1 BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 -RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_PANTHER_RADIO_DIR) -RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR ?= pdk# Keep this for pdk TODO: b/327119000 -RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR) -$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)) -ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)),) -$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk) -else -$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)) -endif - ifdef PHONE_CAR_BOARD_PRODUCT include device/google_car/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk else diff --git a/ravenclaw/BoardConfig.mk b/ravenclaw/BoardConfig.mk index 0ead4dc..caa2afc 100644 --- a/ravenclaw/BoardConfig.mk +++ b/ravenclaw/BoardConfig.mk @@ -15,14 +15,6 @@ # TARGET_BOARD_INFO_FILE := device/google/pantah/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := ravenclaw -RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000 -RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR) -$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) -ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),) -$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk) -else -$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)) -endif TARGET_SCREEN_DENSITY := 560 BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_CLOUDRIPPER := true From 8962fe3676e2a7f77079d01b1d18fe4b9437ca5c Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Sat, 31 Aug 2024 02:25:50 +0000 Subject: [PATCH 06/13] Disable limiting camera_hal for LAUNCH hint for A0 devices If auto rotation is enabled, it will trigger LAUNCH hint while camera is running if device rotates, which could limit camera_hal tasks to little cores. So, disable it first until there is a new hint for the rotation event. Bug: 358103845 Test: build pass Flag: NONE powerhint change does not support flags Change-Id: I623ea20c5fa1f0d8b4404caf7e0de54f35921fe7 --- powerhint-cheetah-a0.json | 24 ------------------------ powerhint-panther-a0.json | 24 ------------------------ 2 files changed, 48 deletions(-) diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index 46267a3..0d0a92c 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -773,30 +773,6 @@ "Type": "DoHint", "Value": "LAUNCH_PMU" }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDCPUSET_RESTRICTED" - }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDHIGHCPUSETCPUS_RESTRICTED" - }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDMIDCPUSETCPUS_RESTRICTED" - }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED" - }, { "PowerHint": "LAUNCH_PMU", "Node": "PMU_POLL", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index 4616902..d75dfca 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -762,30 +762,6 @@ "Type": "DoHint", "Value": "LAUNCH_PMU" }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDCPUSET_RESTRICTED" - }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDHIGHCPUSETCPUS_RESTRICTED" - }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDMIDCPUSETCPUS_RESTRICTED" - }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED" - }, { "PowerHint": "LAUNCH_PMU", "Node": "PMU_POLL", From ed46d4d34552d4dc46f3832c743f2d7830c0c842 Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Wed, 4 Sep 2024 21:08:48 -0700 Subject: [PATCH 07/13] cheetah/panther: add etm modules in userdebug/eng builds If etm modules aren't built with kernel prebuilts, then add them manually. Bug: 364755673 Bug: 364309766 Test: build cheetah-trunk_staging-userdebug Flag: build.RELEASE_ETM_IN_USERDEBUG_ENG Change-Id: I5b5ce51ca59c912f5ebbac66b6ade5adc90ec7f5 --- cheetah/BoardConfig.mk | 6 ++++++ device-cheetah.mk | 7 +++++++ device-panther.mk | 7 +++++++ panther/BoardConfig.mk | 6 ++++++ 4 files changed, 26 insertions(+) diff --git a/cheetah/BoardConfig.mk b/cheetah/BoardConfig.mk index 9d18764..d781920 100644 --- a/cheetah/BoardConfig.mk +++ b/cheetah/BoardConfig.mk @@ -33,3 +33,9 @@ include device/google/gs201/BoardConfig-common.mk -include vendor/google_devices/cheetah/proprietary/BoardConfigVendor.mk include device/google/pantah-sepolicy/cheetah-sepolicy.mk include device/google/pantah/wifi/BoardConfig-wifi.mk + +ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG)) +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) +-include device/google/common/etm/BoardUserdebugModules.mk +endif +endif diff --git a/device-cheetah.mk b/device-cheetah.mk index f2efb5e..ba27799 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -468,3 +468,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Bluetooth device id PRODUCT_PRODUCT_PROPERTIES += \ bluetooth.device_id.product_id=20490 + +# ETM +ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG)) +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) +$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk) +endif +endif diff --git a/device-panther.mk b/device-panther.mk index 1694d2d..b58d280 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -451,3 +451,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Bluetooth device id PRODUCT_PRODUCT_PROPERTIES += \ bluetooth.device_id.product_id=20489 + +# ETM +ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG)) +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) +$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk) +endif +endif diff --git a/panther/BoardConfig.mk b/panther/BoardConfig.mk index 23d00dd..b090758 100644 --- a/panther/BoardConfig.mk +++ b/panther/BoardConfig.mk @@ -38,3 +38,9 @@ include device/google/gs201/BoardConfig-common.mk -include vendor/google_devices/panther/proprietary/BoardConfigVendor.mk include device/google/pantah-sepolicy/panther-sepolicy.mk include device/google/pantah/wifi/BoardConfig-wifi.mk + +ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG)) +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) +-include device/google/common/etm/BoardUserdebugModules.mk +endif +endif From e2c00ec807d6b116031bd2b8ce726c7d86ca35fa Mon Sep 17 00:00:00 2001 From: Koli Lin Date: Thu, 5 Sep 2024 08:20:16 +0000 Subject: [PATCH 08/13] Update product id for cheetah and panther Test: manual Bug: 316248308 Flag: EXEMPT prop value only update Change-Id: I94fe27c36cebd8dc444d3c0f1eeaa6564e0b215b --- device-cheetah.mk | 5 +++-- device-panther.mk | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/device-cheetah.mk b/device-cheetah.mk index ba27799..4bfe74a 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -466,12 +466,13 @@ PRODUCT_PRODUCT_PROPERTIES += \ ro.quick_start.device_id=cheetah # Bluetooth device id +# Cheetah: 0x410A PRODUCT_PRODUCT_PROPERTIES += \ - bluetooth.device_id.product_id=20490 + bluetooth.device_id.product_id=16650 # ETM ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG)) ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) $(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk) endif -endif +endif \ No newline at end of file diff --git a/device-panther.mk b/device-panther.mk index b58d280..a50f2ea 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -449,8 +449,9 @@ PRODUCT_PRODUCT_PROPERTIES += \ ro.quick_start.device_id=panther # Bluetooth device id +# Panther: 0x4109 PRODUCT_PRODUCT_PROPERTIES += \ - bluetooth.device_id.product_id=20489 + bluetooth.device_id.product_id=16649 # ETM ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG)) From 8d0fc0c2592a4184c7c790c92a56c8d579c917f3 Mon Sep 17 00:00:00 2001 From: Robin Peng Date: Fri, 6 Sep 2024 07:33:57 +0000 Subject: [PATCH 09/13] Symlink current prebuilt folder to android root The Android are now based on Trunk Stable world and Pixel prebuilts CLs also needs to reply with this which controlled by the flag which results: - the flag value might be different on each branches - the flag value are mostly different on each release configuration - for local builds, ENGs' needs to figure out the correct location of current prebuilts by checking through entire prebuilt textproto files To alleviate this problem, create an symlink file under android root indicates current prebuilt path after invoke the android lunch cmd. Bug: 364831620 Flag: EXEMPT export current prebuilt path Change-Id: I1e68490a56b9471909f8b26b6952e042e930eefb Signed-off-by: Robin Peng --- cheetah/BoardConfig.mk | 1 + cloudripper/BoardConfig.mk | 1 + panther/BoardConfig.mk | 1 + ravenclaw/BoardConfig.mk | 1 + 4 files changed, 4 insertions(+) diff --git a/cheetah/BoardConfig.mk b/cheetah/BoardConfig.mk index d781920..c5076b3 100644 --- a/cheetah/BoardConfig.mk +++ b/cheetah/BoardConfig.mk @@ -30,6 +30,7 @@ BOARD_KERNEL_CMDLINE += swiotlb=noforce include device/google/gs201/BoardConfig-common.mk -include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk +include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk -include vendor/google_devices/cheetah/proprietary/BoardConfigVendor.mk include device/google/pantah-sepolicy/cheetah-sepolicy.mk include device/google/pantah/wifi/BoardConfig-wifi.mk diff --git a/cloudripper/BoardConfig.mk b/cloudripper/BoardConfig.mk index e69540e..7d580f6 100644 --- a/cloudripper/BoardConfig.mk +++ b/cloudripper/BoardConfig.mk @@ -21,5 +21,6 @@ USES_DEVICE_GOOGLE_CLOUDRIPPER := true include device/google/gs201/BoardConfig-common.mk -include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk +include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk include device/google/pantah-sepolicy/cloudripper-sepolicy.mk include device/google/pantah/wifi/BoardConfig-wifi.mk diff --git a/panther/BoardConfig.mk b/panther/BoardConfig.mk index b090758..efb9dd1 100644 --- a/panther/BoardConfig.mk +++ b/panther/BoardConfig.mk @@ -35,6 +35,7 @@ BOARD_KERNEL_CMDLINE += swiotlb=noforce include device/google/gs201/BoardConfig-common.mk -include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk +include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk -include vendor/google_devices/panther/proprietary/BoardConfigVendor.mk include device/google/pantah-sepolicy/panther-sepolicy.mk include device/google/pantah/wifi/BoardConfig-wifi.mk diff --git a/ravenclaw/BoardConfig.mk b/ravenclaw/BoardConfig.mk index caa2afc..0ae59a1 100644 --- a/ravenclaw/BoardConfig.mk +++ b/ravenclaw/BoardConfig.mk @@ -21,5 +21,6 @@ USES_DEVICE_GOOGLE_CLOUDRIPPER := true include device/google/gs201/BoardConfig-common.mk -include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk +include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk include device/google/pantah-sepolicy/ravenclaw-sepolicy.mk include device/google/pantah/wifi/BoardConfig-wifi.mk From 1006e3c62686a2773b5d254c4ff00fb67bbaa263 Mon Sep 17 00:00:00 2001 From: James Huang Date: Fri, 26 Jul 2024 15:17:28 +0800 Subject: [PATCH 10/13] gps: Enable Beidou measurements only in the US for P22. Bug: 354884462 Test: Field test in the US Change-Id: I6deccee4bbea32cd7016c6f7449a3dfdc2c67e18 --- location/gps.xml.c10 | 1 + location/gps.xml.p10 | 1 + location/gps_user.xml.c10 | 1 + location/gps_user.xml.p10 | 1 + 4 files changed, 4 insertions(+) diff --git a/location/gps.xml.c10 b/location/gps.xml.c10 index ddfcd71..58356f4 100644 --- a/location/gps.xml.c10 +++ b/location/gps.xml.c10 @@ -104,6 +104,7 @@ EnableGloAutoSwitch="false" EnableNicAutoSwitch="true" EnableNavic="true" + ConstellationAutoSwitchOffNavOnly="true" /> diff --git a/location/gps.xml.p10 b/location/gps.xml.p10 index 5ccf3ee..643c2ef 100644 --- a/location/gps.xml.p10 +++ b/location/gps.xml.p10 @@ -104,6 +104,7 @@ EnableGloAutoSwitch="false" EnableNicAutoSwitch="true" EnableNavic="true" + ConstellationAutoSwitchOffNavOnly="true" /> diff --git a/location/gps_user.xml.c10 b/location/gps_user.xml.c10 index a3c3879..2f573bf 100644 --- a/location/gps_user.xml.c10 +++ b/location/gps_user.xml.c10 @@ -102,6 +102,7 @@ EnableGloAutoSwitch="false" EnableNicAutoSwitch="true" EnableNavic="true" + ConstellationAutoSwitchOffNavOnly="true" /> diff --git a/location/gps_user.xml.p10 b/location/gps_user.xml.p10 index a0a0103..1198001 100644 --- a/location/gps_user.xml.p10 +++ b/location/gps_user.xml.p10 @@ -102,6 +102,7 @@ EnableGloAutoSwitch="false" EnableNicAutoSwitch="true" EnableNavic="true" + ConstellationAutoSwitchOffNavOnly="true" /> From 1ff2576bfed678e262fa82fc236d9cf95cd11860 Mon Sep 17 00:00:00 2001 From: Wayne Lin Date: Thu, 19 Sep 2024 22:58:14 +0800 Subject: [PATCH 11/13] gps: set default SUPL SSL method to SSLv23 Bug: 363886476 Test: verify SUPL NI test pass Change-Id: I9590c44abb8cc1a2334ad4c882683db277662ef0 --- location/gps.6.1.xml.c10 | 2 +- location/gps.6.1.xml.p10 | 2 +- location/gps.xml | 2 +- location/gps.xml.c10 | 2 +- location/gps.xml.p10 | 2 +- location/gps_user.6.1.xml.c10 | 2 +- location/gps_user.6.1.xml.p10 | 2 +- location/gps_user.xml | 2 +- location/gps_user.xml.c10 | 2 +- location/gps_user.xml.p10 | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/location/gps.6.1.xml.c10 b/location/gps.6.1.xml.c10 index d582845..a5ac7c3 100644 --- a/location/gps.6.1.xml.c10 +++ b/location/gps.6.1.xml.c10 @@ -18,7 +18,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps.6.1.xml.p10 b/location/gps.6.1.xml.p10 index d132bfa..62841e5 100644 --- a/location/gps.6.1.xml.p10 +++ b/location/gps.6.1.xml.p10 @@ -18,7 +18,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps.xml b/location/gps.xml index e091ba3..d50202c 100644 --- a/location/gps.xml +++ b/location/gps.xml @@ -18,7 +18,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps.xml.c10 b/location/gps.xml.c10 index 58356f4..7b1da4c 100644 --- a/location/gps.xml.c10 +++ b/location/gps.xml.c10 @@ -18,7 +18,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps.xml.p10 b/location/gps.xml.p10 index 643c2ef..5e92649 100644 --- a/location/gps.xml.p10 +++ b/location/gps.xml.p10 @@ -18,7 +18,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps_user.6.1.xml.c10 b/location/gps_user.6.1.xml.c10 index 2aa6fc4..f51614d 100644 --- a/location/gps_user.6.1.xml.c10 +++ b/location/gps_user.6.1.xml.c10 @@ -17,7 +17,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps_user.6.1.xml.p10 b/location/gps_user.6.1.xml.p10 index ebbc2f7..5fd9163 100644 --- a/location/gps_user.6.1.xml.p10 +++ b/location/gps_user.6.1.xml.p10 @@ -17,7 +17,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps_user.xml b/location/gps_user.xml index 463f991..1658c49 100644 --- a/location/gps_user.xml +++ b/location/gps_user.xml @@ -17,7 +17,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps_user.xml.c10 b/location/gps_user.xml.c10 index 2f573bf..a48c8b0 100644 --- a/location/gps_user.xml.c10 +++ b/location/gps_user.xml.c10 @@ -17,7 +17,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps_user.xml.p10 b/location/gps_user.xml.p10 index 1198001..bdfa5c1 100644 --- a/location/gps_user.xml.p10 +++ b/location/gps_user.xml.p10 @@ -17,7 +17,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" From 58d6159b5f4c1acfd1a494ddca806cfec13364d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ko=C5=82odziejczyk?= Date: Tue, 16 Jul 2024 11:59:25 +0000 Subject: [PATCH 12/13] audio: enable software encoded Bluetooth broadcast Bug: 345372436 Test: manual Flag: EXEMPT, trivial change Change-Id: Ie7d3d66ed36e7d5b5f2868389b6e598cefcfc277 --- .../bluetooth_with_le_audio_policy_configuration_7_0.xml | 6 +++++- .../bluetooth_with_le_audio_policy_configuration_7_0.xml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/audio/cheetah/config/bluetooth_with_le_audio_policy_configuration_7_0.xml b/audio/cheetah/config/bluetooth_with_le_audio_policy_configuration_7_0.xml index 8b2af59..efd7277 100644 --- a/audio/cheetah/config/bluetooth_with_le_audio_policy_configuration_7_0.xml +++ b/audio/cheetah/config/bluetooth_with_le_audio_policy_configuration_7_0.xml @@ -11,6 +11,7 @@ channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + + + sources="le audio output"/> + \ No newline at end of file diff --git a/audio/panther/config/bluetooth_with_le_audio_policy_configuration_7_0.xml b/audio/panther/config/bluetooth_with_le_audio_policy_configuration_7_0.xml index 8b2af59..efd7277 100644 --- a/audio/panther/config/bluetooth_with_le_audio_policy_configuration_7_0.xml +++ b/audio/panther/config/bluetooth_with_le_audio_policy_configuration_7_0.xml @@ -11,6 +11,7 @@ channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + + + sources="le audio output"/> + \ No newline at end of file From 8dbfc347b89057f0fe12253d527f6dd49f1391c0 Mon Sep 17 00:00:00 2001 From: Ravi Jain Date: Wed, 25 Sep 2024 06:26:18 +0000 Subject: [PATCH 13/13] Remove vibrator HAL service Remove from device mk files due to relocation to vendor directory. Bug: 362659323 Test: Build Pass Flag: EXEMPT refactor Change-Id: I8ccf97fed8c7917f93ff4a9748fa8e3e3aa6fdc0 --- device-cheetah.mk | 1 - device-cloudripper.mk | 1 - device-panther.mk | 1 - device-ravenclaw.mk | 1 - 4 files changed, 4 deletions(-) diff --git a/device-cheetah.mk b/device-cheetah.mk index 4bfe74a..5310870 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -48,7 +48,6 @@ DEVICE_PACKAGE_OVERLAYS += device/google/pantah/cheetah/overlay include device/google/pantah/audio/cheetah/audio-tables.mk include device/google/gs201/device-shipping-common.mk -include hardware/google/pixel/vibrator/cs40l26/device.mk include device/google/gs-common/bcmbt/bluetooth.mk include device/google/gs-common/touch/syna/syna0.mk diff --git a/device-cloudripper.mk b/device-cloudripper.mk index 4896cda..6a3638f 100644 --- a/device-cloudripper.mk +++ b/device-cloudripper.mk @@ -38,7 +38,6 @@ $(call inherit-product-if-exists, vendor/google_devices/pantah/proprietary/cloud include device/google/gs201/device-shipping-common.mk include device/google/pantah/audio/cloudripper/audio-tables.mk -include hardware/google/pixel/vibrator/cs40l26/device.mk include device/google/gs-common/bcmbt/bluetooth.mk include device/google/gs-common/gps/brcm/cbd_gps.mk include device/google/gs-common/touch/syna/syna0.mk diff --git a/device-panther.mk b/device-panther.mk index a50f2ea..08cf3bb 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -46,7 +46,6 @@ DEVICE_PACKAGE_OVERLAYS += device/google/pantah/panther/overlay include device/google/pantah/audio/panther/audio-tables.mk include device/google/gs201/device-shipping-common.mk -include hardware/google/pixel/vibrator/cs40l26/device.mk include device/google/gs-common/bcmbt/bluetooth.mk include device/google/gs-common/touch/focaltech/focaltech.mk diff --git a/device-ravenclaw.mk b/device-ravenclaw.mk index 115bdc7..86c1858 100644 --- a/device-ravenclaw.mk +++ b/device-ravenclaw.mk @@ -38,7 +38,6 @@ $(call inherit-product-if-exists, vendor/google_devices/pantah/proprietary/raven include device/google/gs201/device-shipping-common.mk include device/google/pantah/audio/ravenclaw/audio-tables.mk -include hardware/google/pixel/vibrator/cs40l26/device.mk include device/google/gs-common/bcmbt/bluetooth.mk include device/google/gs-common/touch/lsi/lsi.mk