From b82247dd1a538bf97bd9b12ad5c477e29e2d5b02 Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Mon, 3 Oct 2022 19:28:26 +0000 Subject: [PATCH 01/24] Update oriole SVN to 41 Bug: 250644806 Change-Id: I03fb30e509cb48315f5b5c5f4b22baa12daa541d --- device-oriole.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-oriole.mk b/device-oriole.mk index f65f3e6..435f746 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -168,7 +168,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=40 + ro.vendor.build.svn=41 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From 76415ed843d088b553b3f5d0ce56b205e8092aca Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Mon, 3 Oct 2022 19:30:20 +0000 Subject: [PATCH 02/24] Update raven SVN to 41 Bug: 250644806 Change-Id: Ie72a0344a2f7e1adb9ad1452428358669dfad707 --- device-raven.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-raven.mk b/device-raven.mk index 0f62834..f8ac55e 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -178,7 +178,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=40 + ro.vendor.build.svn=41 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From b0dabc8ab38c9dfbbac58adc2f6a104808dbff14 Mon Sep 17 00:00:00 2001 From: Shawn Lin Date: Mon, 17 Oct 2022 17:25:03 +0800 Subject: [PATCH 03/24] Update status bar height to center the hole punch cutout Bug: 253071694 Test: make Change-Id: I036eff89d66fd93a7dba13408d920b726bf644bd --- .../frameworks/base/core/res/res/values/config.xml | 8 ++++---- .../frameworks/base/core/res/res/values/config.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/oriole/overlay/frameworks/base/core/res/res/values/config.xml b/oriole/overlay/frameworks/base/core/res/res/values/config.xml index 13aa728..06710b2 100644 --- a/oriole/overlay/frameworks/base/core/res/res/values/config.xml +++ b/oriole/overlay/frameworks/base/core/res/res/values/config.xml @@ -80,9 +80,9 @@ M 492,0 - h 124 - v 118 - h -124 + h 118 + v 128 + h -118 Z @left @@ -94,7 +94,7 @@ Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. --> 74px - 118px + 128px 74px diff --git a/raven/overlay/frameworks/base/core/res/res/values/config.xml b/raven/overlay/frameworks/base/core/res/res/values/config.xml index 7c7b5b7..81e51c4 100644 --- a/raven/overlay/frameworks/base/core/res/res/values/config.xml +++ b/raven/overlay/frameworks/base/core/res/res/values/config.xml @@ -34,9 +34,9 @@ M 653,0 - h 145 - v 130 - h -145 + h 130 + v 145 + h -130 Z @left @@ -194,7 +194,7 @@ Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. --> 28dp - 130px + 145px 28dp From 932c8178a77887712c1e9c400202663f154e4d98 Mon Sep 17 00:00:00 2001 From: kuanyuhuang Date: Thu, 27 Oct 2022 10:03:03 +0000 Subject: [PATCH 04/24] BT: add sysprop to enable OPUS codec Add new system proprty persist.bluetooth.opus.enabled to indicate devices enable OPUS codec. Bug: 254609888 Test: atest net_test_stack:A2dpCodecConfigTest#init Change-Id: I1df3d6de1b4c4020fb214b4a9fe2f4fe8b347195 --- bluetooth/bt_vendor_overlay.conf | 2 ++ device-oriole.mk | 4 ++++ device-raven.mk | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/bluetooth/bt_vendor_overlay.conf b/bluetooth/bt_vendor_overlay.conf index d5212db..4208da8 100644 --- a/bluetooth/bt_vendor_overlay.conf +++ b/bluetooth/bt_vendor_overlay.conf @@ -1,3 +1,5 @@ # This is BTBCM HAL overlay configuration file. BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus + +BtOpusEnabled = true diff --git a/device-oriole.mk b/device-oriole.mk index 176175b..812ce1a 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -267,3 +267,7 @@ PRODUCT_RESTRICT_VENDOR_FILES := false # Enable adpf cpu hint session for SurfaceFlinger PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ debug.sf.enable_adpf_cpu_hint=true + +# Bluetooth OPUS codec +PRODUCT_PRODUCT_PROPERTIES += \ + persist.bluetooth.opus.enabled=true diff --git a/device-raven.mk b/device-raven.mk index 19e940b..e97a150 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -280,3 +280,7 @@ PRODUCT_RESTRICT_VENDOR_FILES := false # Enable adpf cpu hint session for SurfaceFlinger PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ debug.sf.enable_adpf_cpu_hint=true + +# Bluetooth OPUS codec +PRODUCT_PRODUCT_PROPERTIES += \ + persist.bluetooth.opus.enabled=true From 1b4f1da3ca545a100215628cf970c1eddfced142 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Fri, 28 Oct 2022 18:35:23 +0000 Subject: [PATCH 05/24] Disable Spatial Audio [ DO NOT MERGE ] Bug: 256169331 Test: sound setings do not show spatial audio option Change-Id: Iddcfb2eee234bbbdb2a3d31dd2ce11fdf763094c --- device-oriole.mk | 4 ++-- device-raven.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/device-oriole.mk b/device-oriole.mk index 812ce1a..37f49a0 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -243,9 +243,9 @@ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.le_audio_test=false endif -# declare use of spatial audio +# declare use of spatial audio: disabled PRODUCT_PROPERTY_OVERRIDES += \ - ro.audio.spatializer_enabled=true + ro.audio.spatializer_enabled=false PRODUCT_PACKAGES += \ libspatialaudio diff --git a/device-raven.mk b/device-raven.mk index e97a150..44a81eb 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -256,9 +256,9 @@ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.le_audio_test=false endif -# declare use of spatial audio +# declare use of spatial audio: disabled PRODUCT_PROPERTY_OVERRIDES += \ - ro.audio.spatializer_enabled=true + ro.audio.spatializer_enabled=false PRODUCT_PACKAGES += \ libspatialaudio From d84805f1272679d3f9eccbf1aee14aa6019f20c3 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Mon, 31 Oct 2022 21:42:51 +0000 Subject: [PATCH 06/24] Revert "Disable Spatial Audio [ DO NOT MERGE ]" This reverts commit 1b4f1da3ca545a100215628cf970c1eddfced142. Reason for revert: disabling was temporary Change-Id: I19b0d64c061b73ec771f78ab1346ab397de5421a --- device-oriole.mk | 4 ++-- device-raven.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/device-oriole.mk b/device-oriole.mk index 37f49a0..812ce1a 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -243,9 +243,9 @@ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.le_audio_test=false endif -# declare use of spatial audio: disabled +# declare use of spatial audio PRODUCT_PROPERTY_OVERRIDES += \ - ro.audio.spatializer_enabled=false + ro.audio.spatializer_enabled=true PRODUCT_PACKAGES += \ libspatialaudio diff --git a/device-raven.mk b/device-raven.mk index 44a81eb..e97a150 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -256,9 +256,9 @@ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.le_audio_test=false endif -# declare use of spatial audio: disabled +# declare use of spatial audio PRODUCT_PROPERTY_OVERRIDES += \ - ro.audio.spatializer_enabled=false + ro.audio.spatializer_enabled=true PRODUCT_PACKAGES += \ libspatialaudio From 7402c9741d048d074c5ea2a0832d7c36c4d2b906 Mon Sep 17 00:00:00 2001 From: millerliang Date: Wed, 31 Aug 2022 15:44:39 +0800 Subject: [PATCH 07/24] audio: remove spatial audio configuraion in speaker path Remove spatial audio configuration in speaker path to match the rule. Bug: 247415765 Test: spatial audio playback Change-Id: I3df0cdf6c47ecbc633ac2ddcba026084b682b17e --- audio/oriole/config/audio_policy_configuration.xml | 2 +- .../config/audio_policy_configuration_a2dp_offload_disabled.xml | 2 +- .../config/audio_policy_configuration_le_offload_disabled.xml | 2 +- audio/raven/config/audio_policy_configuration.xml | 2 +- .../config/audio_policy_configuration_a2dp_offload_disabled.xml | 2 +- .../config/audio_policy_configuration_le_offload_disabled.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/audio/oriole/config/audio_policy_configuration.xml b/audio/oriole/config/audio_policy_configuration.xml index 1e27950..c270ed8 100644 --- a/audio/oriole/config/audio_policy_configuration.xml +++ b/audio/oriole/config/audio_policy_configuration.xml @@ -200,7 +200,7 @@ + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/> + sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/> Date: Fri, 11 Nov 2022 17:38:53 +0000 Subject: [PATCH 08/24] Update raven SVN to 42 Bug: 258811679 Change-Id: I110cd2d3a185fb35a5c8bf2b688e51671ac70154 --- device-raven.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-raven.mk b/device-raven.mk index e97a150..1712beb 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -180,7 +180,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=41 + ro.vendor.build.svn=42 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From ffd946238c33ed97df3bb665b2b5dc1f84e52671 Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Fri, 11 Nov 2022 17:37:29 +0000 Subject: [PATCH 09/24] Update oriole SVN to 42 Bug: 258811679 Change-Id: I50b5fb3f693f2c918e23cf60de5ca7a50652b984 --- device-oriole.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-oriole.mk b/device-oriole.mk index 812ce1a..3585699 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -171,7 +171,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=41 + ro.vendor.build.svn=42 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From 2a452104c8a08ecb203840c0b00c47d80122a842 Mon Sep 17 00:00:00 2001 From: Kyle Lin Date: Mon, 14 Nov 2022 12:18:09 +0800 Subject: [PATCH 10/24] powerhint: relax the cap when camera exit Camera hints was canceled at activityStop and applied the rule for a while after LAUNCH hint, exten the LAUNCH HINT to fix it. Bug: 255927500 Test: build and launch/exit camera Change-Id: Ie4e447fbd3502bd0be2d2b89169628d3e9e206e9 --- powerhint-oriole.json | 23 +++++++++++++++++++++++ powerhint-raven.json | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/powerhint-oriole.json b/powerhint-oriole.json index cbbbbae..1ad9bc8 100644 --- a/powerhint-oriole.json +++ b/powerhint-oriole.json @@ -553,6 +553,29 @@ "Duration": 5000, "Value": "0" }, + { + "PowerHint": "LAUNCH", + "Type": "DoHint", + "Value": "LAUNCH_EXTEND" + }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPUBigClusterMaxFreq", + "Duration": 2000, + "Value": "9999999" + }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPUMidClusterMaxFreq", + "Duration": 2000, + "Value": "9999999" + }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPULittleClusterMaxFreq", + "Duration": 2000, + "Value": "9999999" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "MemFreq", diff --git a/powerhint-raven.json b/powerhint-raven.json index a232909..85c9284 100644 --- a/powerhint-raven.json +++ b/powerhint-raven.json @@ -552,6 +552,29 @@ "Duration": 5000, "Value": "0" }, + { + "PowerHint": "LAUNCH", + "Type": "DoHint", + "Value": "LAUNCH_EXTEND" + }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPUBigClusterMaxFreq", + "Duration": 2000, + "Value": "9999999" + }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPUMidClusterMaxFreq", + "Duration": 2000, + "Value": "9999999" + }, + { + "PowerHint": "LAUNCH_EXTEND", + "Node": "CPULittleClusterMaxFreq", + "Duration": 2000, + "Value": "9999999" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "MemFreq", From dccb34801b39f17473f41f58e69d33d194888fe1 Mon Sep 17 00:00:00 2001 From: Sayanna Chandula Date: Mon, 31 Oct 2022 11:59:01 -0700 Subject: [PATCH 11/24] thermal: update shutdown thresholds for Tj zones Bug: 256193172 Test: Build and boot on device Change-Id: I7d683517018059c88f6e0ea31bdd8d23a777ef33 Signed-off-by: Sayanna Chandula --- thermal_info_config_oriole.json | 10 +++++----- thermal_info_config_raven.json | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/thermal_info_config_oriole.json b/thermal_info_config_oriole.json index 837ccbf..d73d66a 100644 --- a/thermal_info_config_oriole.json +++ b/thermal_info_config_oriole.json @@ -652,7 +652,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 @@ -667,7 +667,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 @@ -682,7 +682,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 @@ -697,7 +697,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 @@ -1159,7 +1159,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 diff --git a/thermal_info_config_raven.json b/thermal_info_config_raven.json index d452757..bb7af7b 100644 --- a/thermal_info_config_raven.json +++ b/thermal_info_config_raven.json @@ -626,7 +626,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 @@ -641,7 +641,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 @@ -656,7 +656,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 @@ -671,7 +671,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 @@ -1133,7 +1133,7 @@ "NAN", "NAN", "NAN", - 115.0 + "NAN" ], "VrThreshold":"NAN", "Multiplier":0.001 From 4264124fdc3278cab43eb7d27c79e3c59b543a11 Mon Sep 17 00:00:00 2001 From: Rex Lin Date: Mon, 14 Nov 2022 13:29:53 +0800 Subject: [PATCH 12/24] uwb: update country configs for R4 QPR2 Bug: 258863234 Test: local build pass Signed-off-by: Rex Lin Change-Id: I569295f5bc9cf3bbef10f191c85d48df50c6b0e0 --- uwb/UWB-calibration-ce.conf | 1 + uwb/UWB-calibration-default.conf | 1 + uwb/UWB-calibration-fcc.conf | 1 + uwb/UWB-calibration-restricted.conf | 1 + uwb/UWB-calibration-tw.conf | 1 + uwb/UWB-calibration.conf | 142 ++++++++++++++++++++++++++++ uwb/uwb_calibration.mk | 2 +- 7 files changed, 148 insertions(+), 1 deletion(-) create mode 100644 uwb/UWB-calibration.conf diff --git a/uwb/UWB-calibration-ce.conf b/uwb/UWB-calibration-ce.conf index 231e286..12b7f47 100644 --- a/uwb/UWB-calibration-ce.conf +++ b/uwb/UWB-calibration-ce.conf @@ -139,3 +139,4 @@ coex_gpio=4 coex_delay_us=1000 coex_margin_us=500 coex_interval_us=2000 +alternate_pulse_shape=0x00 diff --git a/uwb/UWB-calibration-default.conf b/uwb/UWB-calibration-default.conf index 5e99376..25b1bb1 100644 --- a/uwb/UWB-calibration-default.conf +++ b/uwb/UWB-calibration-default.conf @@ -139,3 +139,4 @@ coex_gpio=4 coex_delay_us=1000 coex_margin_us=500 coex_interval_us=2000 +alternate_pulse_shape=0x00 diff --git a/uwb/UWB-calibration-fcc.conf b/uwb/UWB-calibration-fcc.conf index 5e99376..25b1bb1 100644 --- a/uwb/UWB-calibration-fcc.conf +++ b/uwb/UWB-calibration-fcc.conf @@ -139,3 +139,4 @@ coex_gpio=4 coex_delay_us=1000 coex_margin_us=500 coex_interval_us=2000 +alternate_pulse_shape=0x00 diff --git a/uwb/UWB-calibration-restricted.conf b/uwb/UWB-calibration-restricted.conf index 338d4f6..681a5f3 100644 --- a/uwb/UWB-calibration-restricted.conf +++ b/uwb/UWB-calibration-restricted.conf @@ -139,3 +139,4 @@ coex_gpio=4 coex_delay_us=1000 coex_margin_us=500 coex_interval_us=2000 +alternate_pulse_shape=0x00 diff --git a/uwb/UWB-calibration-tw.conf b/uwb/UWB-calibration-tw.conf index 685469d..7bd68dc 100644 --- a/uwb/UWB-calibration-tw.conf +++ b/uwb/UWB-calibration-tw.conf @@ -139,3 +139,4 @@ coex_gpio=4 coex_delay_us=1000 coex_margin_us=500 coex_interval_us=2000 +alternate_pulse_shape=0x00 diff --git a/uwb/UWB-calibration.conf b/uwb/UWB-calibration.conf new file mode 100644 index 0000000..47d917c --- /dev/null +++ b/uwb/UWB-calibration.conf @@ -0,0 +1,142 @@ +[CCC]version=2 +[CCC]ant0.ch5.prf64.pdoa_iso_rf2_rf1=0 +[CCC]ant0.ch5.prf64.pdoa_iso_rf1_rf2=0 +[CCC]ant0.ch9.prf64.pdoa_iso_rf2_rf1=0 +[CCC]ant0.ch9.prf64.pdoa_iso_rf1_rf2=0 +[CCC]ant0.ch5.prf64.pdoa_offset=0 +[CCC]ant0.ch9.prf64.pdoa_offset=0 +[CCC]ant0.ch5.prf64.pll_locking_code=0 +[CCC]ant0.ch9.prf64.pll_locking_code=0 +[CCC]id=0 +[CCC]wifi_coex_time_gap=10 +[CCC]ap_coop_mode=1 +[CCC]antenna_selection=4 +[CCC]wifi_coex_min_spacing=0x08 +ant0.ch5.prf16.ant_delay=16414 +ant0.ch5.prf16.tx_power=0x47472347 +ant0.ch5.prf16.pg_count=0 +ant0.ch5.prf16.pg_delay=0x34 +ant0.ch5.prf64.ant_delay=16414 +ant0.ch5.prf64.tx_power=0x47472347 +ant0.ch5.prf64.pg_count=0 +ant0.ch5.prf64.pg_delay=0x34 +ant0.ch9.prf16.ant_delay=16426 +ant0.ch9.prf16.tx_power=0x2A2A2A2A +ant0.ch9.prf16.pg_count=0 +ant0.ch9.prf16.pg_delay=0x20 +ant0.ch9.prf64.ant_delay=16426 +ant0.ch9.prf64.tx_power=0x2A2A2A2A +ant0.ch9.prf64.pg_count=0 +ant0.ch9.prf64.pg_delay=0x20 +ant0.port=0 +ant0.selector_gpio=7 +ant0.selector_gpio_value=0 +ant1.ch5.prf16.ant_delay=16446 +ant1.ch5.prf16.tx_power=0x5B5B2B5B +ant1.ch5.prf16.pg_count=0 +ant1.ch5.prf16.pg_delay=0x20 +ant1.ch5.prf64.ant_delay=16446 +ant1.ch5.prf64.tx_power=0x5B5B2B5B +ant1.ch5.prf64.pg_count=0 +ant1.ch5.prf64.pg_delay=0x20 +ant1.ch9.prf16.ant_delay=16429 +ant1.ch9.prf16.tx_power=0 +ant1.ch9.prf16.pg_count=0 +ant1.ch9.prf16.pg_delay=0 +ant1.ch9.prf64.ant_delay=16429 +ant1.ch9.prf64.tx_power=0 +ant1.ch9.prf64.pg_count=0 +ant1.ch9.prf64.pg_delay=0 +ant1.port=0 +ant1.selector_gpio=7 +ant1.selector_gpio_value=1 +ant2.ch5.prf16.ant_delay=16446 +ant2.ch5.prf16.tx_power=0 +ant2.ch5.prf16.pg_count=0 +ant2.ch5.prf16.pg_delay=0 +ant2.ch5.prf64.ant_delay=16446 +ant2.ch5.prf64.tx_power=0 +ant2.ch5.prf64.pg_count=0 +ant2.ch5.prf64.pg_delay=0 +ant2.ch9.prf16.ant_delay=16429 +ant2.ch9.prf16.tx_power=0x5F5F2F5F +ant2.ch9.prf16.pg_count=0 +ant2.ch9.prf16.pg_delay=0x26 +ant2.ch9.prf64.ant_delay=16429 +ant2.ch9.prf64.tx_power=0x5F5F2F5F +ant2.ch9.prf64.pg_count=0 +ant2.ch9.prf64.pg_delay=0x26 +ant2.port=1 +ant2.selector_gpio=6 +ant2.selector_gpio_value=0 +ant3.ch5.prf16.ant_delay=16446 +ant3.ch5.prf16.tx_power=0 +ant3.ch5.prf16.pg_count=0 +ant3.ch5.prf16.pg_delay=0 +ant3.ch5.prf64.ant_delay=16446 +ant3.ch5.prf64.tx_power=0 +ant3.ch5.prf64.pg_count=0 +ant3.ch5.prf64.pg_delay=0 +ant3.ch9.prf16.ant_delay=16429 +ant3.ch9.prf16.tx_power=0x5F5F2F5F +ant3.ch9.prf16.pg_count=0 +ant3.ch9.prf16.pg_delay=0x26 +ant3.ch9.prf64.ant_delay=16429 +ant3.ch9.prf64.tx_power=0x5F5F2F5F +ant3.ch9.prf64.pg_count=0 +ant3.ch9.prf64.pg_delay=0x26 +ant3.port=1 +ant3.selector_gpio=6 +ant3.selector_gpio_value=1 +ant0.ant1.ch5.pdoa_offset=0 +ant0.ant1.ch9.pdoa_offset=0 +ant0.ant2.ch5.pdoa_offset=0 +ant0.ant2.ch9.pdoa_offset=0 +ant1.ant2.ch5.pdoa_offset=0 +ant1.ant2.ch9.pdoa_offset=0 +ant0.ant3.ch5.pdoa_offset=0 +ant0.ant3.ch9.pdoa_offset=0 +ant1.ant3.ch5.pdoa_offset=-4710 +ant1.ant3.ch9.pdoa_offset=-6144 +ant2.ant3.ch5.pdoa_offset=0 +ant2.ant3.ch9.pdoa_offset=0 +ch5.pll_locking_code=0 +ch9.pll_locking_code=0 +ant1.ant3.ch5.pdoa_lut=e1:f2:85:f5:ae:f3:3d:f6:52:f4:f6:f6:8f:f4:9a:f7:48:f5:52:f8:d7:f5:0a:f9:66:f6:ae:f9:85:f7:66:fa:8f:f8:1f:fb:48:f9:d7:fb:8f:fa:7b:fc:ec:fb:33:fd:0a:fd:ec:fd:66:fe:a4:fe:00:00:48:ff:71:01:00:00:b8:02:b8:00:29:04:64:01:ae:05:19:02:85:07:cb:02:33:09:7d:03:f6:0a:2f:04:0a:0d:e3:04:cd:0e:96:05:14:10:48:06:71:11:fa:06:66:12:ac:07:33:13:60:08:3d:14:12:09:85:15:c5:09:ec:15:77:0a +ant1.ant3.ch9.pdoa_lut=e1:ec:f6:f6:48:ed:3d:f6:85:ed:85:f5:14:ee:9a:f7:3d:ee:52:f8:e1:ee:0a:f9:3d:f0:ae:f9:85:f1:66:fa:85:f3:1f:fb:00:f6:d7:fb:9a:f7:7b:fc:14:fa:33:fd:ec:fb:ec:fd:71:fd:a4:fe:cd:fe:48:ff:a4:00:00:00:85:01:b8:00:7b:02:5c:01:d7:03:14:02:cd:04:cd:02:48:07:85:03:ae:09:29:04:e1:0c:e1:04:7b:10:9a:05:cd:12:52:06:f6:14:f6:06:a4:16:ae:07:ae:17:0a:09:d7:17:c3:09:52:18:66:08:7b:18:7b:0a +xtal_trim=31 +temperature_reference=85 +smart_tx_power=1 +auto_sleep_margin=20000 +restricted_channels=0 +[HAL]aoa_capability=1 +[HAL]ant_sets.ch5.range.rx_ant_set_nonranging = 6 +[HAL]ant_sets.ch5.range.rx_ant_set_ranging = 6 +[HAL]ant_sets.ch5.range.tx_ant_set_nonranging = 6 +[HAL]ant_sets.ch5.range.tx_ant_set_ranging = 6 +[HAL]ant_sets.ch5.azimuth.rx_ant_set_nonranging = 4 +[HAL]ant_sets.ch5.azimuth.rx_ant_set_ranging = 4 +[HAL]ant_sets.ch5.azimuth.tx_ant_set_nonranging = 4 +[HAL]ant_sets.ch5.azimuth.tx_ant_set_ranging = 4 +[HAL]ant_sets.ch9.range.rx_ant_set_nonranging = 6 +[HAL]ant_sets.ch9.range.rx_ant_set_ranging = 6 +[HAL]ant_sets.ch9.range.tx_ant_set_nonranging = 6 +[HAL]ant_sets.ch9.range.tx_ant_set_ranging = 6 +[HAL]ant_sets.ch5.elevation.rx_ant_set_nonranging = 6 +[HAL]ant_sets.ch5.elevation.rx_ant_set_ranging = 1 +[HAL]ant_sets.ch5.elevation.tx_ant_set_nonranging = 0 +[HAL]ant_sets.ch5.elevation.tx_ant_set_ranging = 0 +[HAL]ant_sets.ch9.elevation.rx_ant_set_nonranging = 6 +[HAL]ant_sets.ch9.elevation.rx_ant_set_ranging = 1 +[HAL]ant_sets.ch9.elevation.tx_ant_set_nonranging = 0 +[HAL]ant_sets.ch9.elevation.tx_ant_set_ranging = 0 +[HAL]ant_sets.ch9.azimuth.rx_ant_set_nonranging = 4 +[HAL]ant_sets.ch9.azimuth.rx_ant_set_ranging = 4 +[HAL]ant_sets.ch9.azimuth.tx_ant_set_nonranging = 8 +[HAL]ant_sets.ch9.azimuth.tx_ant_set_ranging = 8 +[HAL]minimum_system_offset_uwbtime0=250 +coex_gpio=4 +coex_delay_us=1000 +coex_margin_us=500 +coex_interval_us=2000 +alternate_pulse_shape=0x01 diff --git a/uwb/uwb_calibration.mk b/uwb/uwb_calibration.mk index 3889a08..f6dc7c7 100644 --- a/uwb/uwb_calibration.mk +++ b/uwb/uwb_calibration.mk @@ -21,7 +21,7 @@ LOCAL_UWB_CAL_DIR=device/google/raviole/uwb PRODUCT_COPY_FILES += \ $(LOCAL_UWB_CAL_DIR)/UWB-calibration-restricted.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration-unknown.conf \ $(LOCAL_UWB_CAL_DIR)/UWB-calibration-default.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration-default.conf \ - $(LOCAL_UWB_CAL_DIR)/UWB-calibration-default.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration.conf \ + $(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration.conf \ $(LOCAL_UWB_CAL_DIR)/init.uwb.calib.xtal.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.uwb.calib.sh \ PRODUCT_COPY_FILES += \ From 81330ea59802b79ea4ef0ca6fbc5cbf08a556392 Mon Sep 17 00:00:00 2001 From: joenchen Date: Wed, 7 Sep 2022 12:59:12 +0000 Subject: [PATCH 13/24] RRS: Apply the default config from persist prop vendor_config plays as another role to control the display config during the boot time. To change the default configuration of the user selected mode, we use persist config to store the value. Bug: 244492960 Test: Boot w/ and w/o user selected configs and check the resolution Change-Id: I8839db59fd0b3e352ddea69e3539a7eaadaa29d2 --- device-raven.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device-raven.mk b/device-raven.mk index 1712beb..baf9129 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -281,6 +281,9 @@ PRODUCT_RESTRICT_VENDOR_FILES := false PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ debug.sf.enable_adpf_cpu_hint=true +# Display RRS default Config +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1440x3120@120 + # Bluetooth OPUS codec PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.opus.enabled=true From 535ec9d6c1909c8764c5224cdb36f1506933b9de Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Fri, 11 Nov 2022 03:06:48 +0000 Subject: [PATCH 14/24] Limit camera daemon cpuset to little cores when app launch When exiting camera app, camera daemon is still busy in background, which may affect the launch animation of launcher. So, limit the cpuset of camera daemon to little cores for 1 second when there is app launch hint to improve it. This only happens when camera is running. Also bypass this behavior when video recording is active. Bug: 240889279 Test: camera daemon cpuset changed as expected Change-Id: I1893980f0fc3de265a71a3a028f356c7010eaba5 --- powerhint-oriole.json | 110 +++++++++++++++++++++++++++++++++++++++++- powerhint-raven.json | 110 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 216 insertions(+), 4 deletions(-) diff --git a/powerhint-oriole.json b/powerhint-oriole.json index 1ad9bc8..c7a10b1 100644 --- a/powerhint-oriole.json +++ b/powerhint-oriole.json @@ -177,7 +177,7 @@ "ResetOnInit": true }, { - "Name": "ReduceRreferIdle", + "Name": "ReducePreferIdle", "Path": "/proc/vendor_sched/reduce_prefer_idle", "Values": [ "0", @@ -207,6 +207,7 @@ "Name": "CDCpuset", "Path": "/dev/cpuset/camera-daemon/cpus", "Values": [ + "0-3", "4-7", "0-7" ], @@ -216,6 +217,7 @@ "Name": "CDHighCpusetCpus", "Path": "/dev/cpuset/camera-daemon-high-group/cpus", "Values": [ + "0-3", "6-7", "0-7" ], @@ -225,6 +227,7 @@ "Name": "CDMidCpusetCpus", "Path": "/dev/cpuset/camera-daemon-mid-group/cpus", "Values": [ + "0-3", "4-5", "0-7" ], @@ -234,6 +237,7 @@ "Name": "CDMidHighCpusetCpus", "Path": "/dev/cpuset/camera-daemon-mid-high-group/cpus", "Values": [ + "0-3", "4-7", "0-7" ], @@ -304,6 +308,16 @@ ], "Type": "Property" }, + { + "Name": "PowerHALCameraRunning", + "Path": "vendor.powerhal.camerarunning", + "Values": [ + "1", + "0" + ], + "Type": "Property", + "ResetOnInit": true + }, { "Name": "INTCAMFreq", "Path": "/sys/devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq", @@ -487,6 +501,30 @@ } ], "Actions": [ + { + "PowerHint": "CDCPUSET_RESTRICTED", + "Node": "CDCpuset", + "Duration": 1000, + "Value": "0-3" + }, + { + "PowerHint": "CDHIGHCPUSETCPUS_RESTRICTED", + "Node": "CDHighCpusetCpus", + "Duration": 1000, + "Value": "0-3" + }, + { + "PowerHint": "CDMIDCPUSETCPUS_RESTRICTED", + "Node": "CDMidCpusetCpus", + "Duration": 1000, + "Value": "0-3" + }, + { + "PowerHint": "CDMIDHIGHCPUSETCPUS_RESTRICTED", + "Node": "CDMidHighCpusetCpus", + "Duration": 1000, + "Value": "0-3" + }, { "PowerHint": "LAUNCH", "Node": "UClampThreshold", @@ -495,7 +533,7 @@ }, { "PowerHint": "LAUNCH", - "Node": "ReduceRreferIdle", + "Node": "ReducePreferIdle", "Duration": 5000, "Value": "0" }, @@ -558,6 +596,30 @@ "Type": "DoHint", "Value": "LAUNCH_EXTEND" }, + { + "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_EXTEND", "Node": "CPUBigClusterMaxFreq", @@ -834,6 +896,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PowerHALCameraRunning", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPULittleClusterMaxFreq", @@ -912,6 +980,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PowerHALCameraRunning", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUUtilThreshold", @@ -996,6 +1070,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "PowerHALCameraRunning", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", @@ -1068,6 +1148,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "PowerHALCameraRunning", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CDPreferHighCap", @@ -1146,6 +1232,26 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_VIDEO_RECORDING", + "Type": "MaskHint", + "Value": "CDCPUSET_RESTRICTED" + }, + { + "PowerHint": "CAMERA_VIDEO_RECORDING", + "Type": "MaskHint", + "Value": "CDHIGHCPUSETCPUS_RESTRICTED" + }, + { + "PowerHint": "CAMERA_VIDEO_RECORDING", + "Type": "MaskHint", + "Value": "CDMIDCPUSETCPUS_RESTRICTED" + }, + { + "PowerHint": "CAMERA_VIDEO_RECORDING", + "Type": "MaskHint", + "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED" + }, { "PowerHint": "CAMERA_FIXED_FPS", "Node": "MemFreq", diff --git a/powerhint-raven.json b/powerhint-raven.json index 85c9284..77e9a45 100644 --- a/powerhint-raven.json +++ b/powerhint-raven.json @@ -176,7 +176,7 @@ "ResetOnInit": true }, { - "Name": "ReduceRreferIdle", + "Name": "ReducePreferIdle", "Path": "/proc/vendor_sched/reduce_prefer_idle", "Values": [ "0", @@ -206,6 +206,7 @@ "Name": "CDCpuset", "Path": "/dev/cpuset/camera-daemon/cpus", "Values": [ + "0-3", "4-7", "0-7" ], @@ -215,6 +216,7 @@ "Name": "CDHighCpusetCpus", "Path": "/dev/cpuset/camera-daemon-high-group/cpus", "Values": [ + "0-3", "6-7", "0-7" ], @@ -224,6 +226,7 @@ "Name": "CDMidCpusetCpus", "Path": "/dev/cpuset/camera-daemon-mid-group/cpus", "Values": [ + "0-3", "4-5", "0-7" ], @@ -233,6 +236,7 @@ "Name": "CDMidHighCpusetCpus", "Path": "/dev/cpuset/camera-daemon-mid-high-group/cpus", "Values": [ + "0-3", "4-7", "0-7" ], @@ -303,6 +307,16 @@ ], "Type": "Property" }, + { + "Name": "PowerHALCameraRunning", + "Path": "vendor.powerhal.camerarunning", + "Values": [ + "1", + "0" + ], + "Type": "Property", + "ResetOnInit": true + }, { "Name": "INTCAMFreq", "Path": "/sys/devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq", @@ -486,6 +500,30 @@ } ], "Actions": [ + { + "PowerHint": "CDCPUSET_RESTRICTED", + "Node": "CDCpuset", + "Duration": 1000, + "Value": "0-3" + }, + { + "PowerHint": "CDHIGHCPUSETCPUS_RESTRICTED", + "Node": "CDHighCpusetCpus", + "Duration": 1000, + "Value": "0-3" + }, + { + "PowerHint": "CDMIDCPUSETCPUS_RESTRICTED", + "Node": "CDMidCpusetCpus", + "Duration": 1000, + "Value": "0-3" + }, + { + "PowerHint": "CDMIDHIGHCPUSETCPUS_RESTRICTED", + "Node": "CDMidHighCpusetCpus", + "Duration": 1000, + "Value": "0-3" + }, { "PowerHint": "LAUNCH", "Node": "UClampThreshold", @@ -494,7 +532,7 @@ }, { "PowerHint": "LAUNCH", - "Node": "ReduceRreferIdle", + "Node": "ReducePreferIdle", "Duration": 5000, "Value": "0" }, @@ -557,6 +595,30 @@ "Type": "DoHint", "Value": "LAUNCH_EXTEND" }, + { + "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_EXTEND", "Node": "CPUBigClusterMaxFreq", @@ -833,6 +895,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PowerHALCameraRunning", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPULittleClusterMaxFreq", @@ -911,6 +979,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PowerHALCameraRunning", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUUtilThreshold", @@ -995,6 +1069,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "PowerHALCameraRunning", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", @@ -1067,6 +1147,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "PowerHALCameraRunning", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CDPreferHighCap", @@ -1145,6 +1231,26 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_VIDEO_RECORDING", + "Type": "MaskHint", + "Value": "CDCPUSET_RESTRICTED" + }, + { + "PowerHint": "CAMERA_VIDEO_RECORDING", + "Type": "MaskHint", + "Value": "CDHIGHCPUSETCPUS_RESTRICTED" + }, + { + "PowerHint": "CAMERA_VIDEO_RECORDING", + "Type": "MaskHint", + "Value": "CDMIDCPUSETCPUS_RESTRICTED" + }, + { + "PowerHint": "CAMERA_VIDEO_RECORDING", + "Type": "MaskHint", + "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED" + }, { "PowerHint": "FIXED_PERFORMANCE", "Node": "CPUBigClusterMaxFreq", From 5c5eda629666d80cd8b751162c455ae90ec0aa76 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Fri, 18 Nov 2022 19:56:55 +0000 Subject: [PATCH 15/24] ravioli VNDK on vendor prebuilt vendor + unstable VNDK dessert release = artificially frozen VNDK VNDK on vendor = :D Bug: 259715332 Change-Id: Ieb8251bd31280cbb293207480fb46e9d2447c8b8 Test: N/A --- aosp_oriole.mk | 2 ++ aosp_raven.mk | 2 ++ 2 files changed, 4 insertions(+) diff --git a/aosp_oriole.mk b/aosp_oriole.mk index fea2be8..113f679 100644 --- a/aosp_oriole.mk +++ b/aosp_oriole.mk @@ -22,3 +22,5 @@ PRODUCT_DEVICE := oriole PRODUCT_MODEL := AOSP on Oriole PRODUCT_BRAND := Android PRODUCT_MANUFACTURER := Google + +PRODUCT_PACKAGES += com.android.vndk.current.on_vendor diff --git a/aosp_raven.mk b/aosp_raven.mk index 0a8f525..079de8a 100644 --- a/aosp_raven.mk +++ b/aosp_raven.mk @@ -22,3 +22,5 @@ PRODUCT_DEVICE := raven PRODUCT_MODEL := AOSP on Raven PRODUCT_BRAND := Android PRODUCT_MANUFACTURER := Google + +PRODUCT_PACKAGES += com.android.vndk.current.on_vendor From 6ef02623880b80c3315cb92c4e85ea6a7a79c919 Mon Sep 17 00:00:00 2001 From: millerliang Date: Mon, 5 Dec 2022 15:49:12 +0800 Subject: [PATCH 16/24] audio: add missed camcorder be_cfg in dsp latency Some 3rd party app may use one or three microhpne(s) to do the camera recording. Add these two configurations to UC_AUDIO_RECORD to sync the audio and video of the recoreded video. Bug: 260824124 Test: Reporter verified Change-Id: Ide731ef55457a4aee47a1cbfd7badd2ba31704dc --- audio/oriole/config/audio_platform_configuration.xml | 2 ++ audio/raven/config/audio_platform_configuration.xml | 2 ++ audio/slider/config/audio_platform_configuration.xml | 2 ++ audio/whitefin/config/audio_platform_configuration.xml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/audio/oriole/config/audio_platform_configuration.xml b/audio/oriole/config/audio_platform_configuration.xml index fa5571c..4ddf658 100644 --- a/audio/oriole/config/audio_platform_configuration.xml +++ b/audio/oriole/config/audio_platform_configuration.xml @@ -230,6 +230,8 @@ + + diff --git a/audio/raven/config/audio_platform_configuration.xml b/audio/raven/config/audio_platform_configuration.xml index fa5571c..4ddf658 100644 --- a/audio/raven/config/audio_platform_configuration.xml +++ b/audio/raven/config/audio_platform_configuration.xml @@ -230,6 +230,8 @@ + + diff --git a/audio/slider/config/audio_platform_configuration.xml b/audio/slider/config/audio_platform_configuration.xml index 3d183b0..a50760f 100644 --- a/audio/slider/config/audio_platform_configuration.xml +++ b/audio/slider/config/audio_platform_configuration.xml @@ -162,6 +162,8 @@ + + diff --git a/audio/whitefin/config/audio_platform_configuration.xml b/audio/whitefin/config/audio_platform_configuration.xml index 3d183b0..a50760f 100644 --- a/audio/whitefin/config/audio_platform_configuration.xml +++ b/audio/whitefin/config/audio_platform_configuration.xml @@ -162,6 +162,8 @@ + + From 245a7c97f508025b31b17f13bf20ee31144dd275 Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Wed, 7 Dec 2022 19:29:57 +0000 Subject: [PATCH 17/24] Update raven SVN to 43 Bug: 261738635 Change-Id: I59235bd6e4ff014dec6013f89153a71cfebfc08f --- device-raven.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-raven.mk b/device-raven.mk index baf9129..6932c95 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -180,7 +180,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=42 + ro.vendor.build.svn=43 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From f449d2e9a3abd56ddb811c6e44aeaf89625e301b Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Wed, 7 Dec 2022 19:29:22 +0000 Subject: [PATCH 18/24] Update oriole SVN to 43 Bug: 261738635 Change-Id: I8323c033c0e29669bd2d11e0cd62d2557033ba8c --- device-oriole.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-oriole.mk b/device-oriole.mk index 3585699..bd68efe 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -171,7 +171,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=42 + ro.vendor.build.svn=43 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From f72569f5f315f5b7e158ed7fc81a5bc028dd4f4c Mon Sep 17 00:00:00 2001 From: Chungkai Mei Date: Thu, 8 Dec 2022 09:47:56 +0000 Subject: [PATCH 19/24] Remove UClampThreshold hint the file node was removed so also remove these dummy setting Bug: 260806701 Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f Signed-off-by: Chungkai Mei --- powerhint-oriole.json | 15 --------------- powerhint-raven.json | 15 --------------- powerhint-slider.json | 15 --------------- powerhint-whitefin.json | 15 --------------- 4 files changed, 60 deletions(-) diff --git a/powerhint-oriole.json b/powerhint-oriole.json index c7a10b1..a356673 100644 --- a/powerhint-oriole.json +++ b/powerhint-oriole.json @@ -167,15 +167,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "UClampThreshold", - "Path": "/proc/vendor_sched/uclamp_threshold", - "Values": [ - "0", - "8" - ], - "ResetOnInit": true - }, { "Name": "ReducePreferIdle", "Path": "/proc/vendor_sched/reduce_prefer_idle", @@ -525,12 +516,6 @@ "Duration": 1000, "Value": "0-3" }, - { - "PowerHint": "LAUNCH", - "Node": "UClampThreshold", - "Duration": 5000, - "Value": "0" - }, { "PowerHint": "LAUNCH", "Node": "ReducePreferIdle", diff --git a/powerhint-raven.json b/powerhint-raven.json index 77e9a45..ea95391 100644 --- a/powerhint-raven.json +++ b/powerhint-raven.json @@ -166,15 +166,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "UClampThreshold", - "Path": "/proc/vendor_sched/uclamp_threshold", - "Values": [ - "0", - "8" - ], - "ResetOnInit": true - }, { "Name": "ReducePreferIdle", "Path": "/proc/vendor_sched/reduce_prefer_idle", @@ -524,12 +515,6 @@ "Duration": 1000, "Value": "0-3" }, - { - "PowerHint": "LAUNCH", - "Node": "UClampThreshold", - "Duration": 5000, - "Value": "0" - }, { "PowerHint": "LAUNCH", "Node": "ReducePreferIdle", diff --git a/powerhint-slider.json b/powerhint-slider.json index 4c50d32..af20ff5 100644 --- a/powerhint-slider.json +++ b/powerhint-slider.json @@ -177,15 +177,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "UClampThreshold", - "Path": "/proc/vendor_sched/uclamp_threshold", - "Values": [ - "0", - "8" - ], - "ResetOnInit": true - }, { "Name": "ReduceRreferIdle", "Path": "/proc/vendor_sched/reduce_prefer_idle", @@ -428,12 +419,6 @@ "Duration": 5000, "Value": "85" }, - { - "PowerHint": "LAUNCH", - "Node": "UClampThreshold", - "Duration": 5000, - "Value": "0" - }, { "PowerHint": "LAUNCH", "Node": "ReduceRreferIdle", diff --git a/powerhint-whitefin.json b/powerhint-whitefin.json index b7f5dea..60c299f 100644 --- a/powerhint-whitefin.json +++ b/powerhint-whitefin.json @@ -177,15 +177,6 @@ "DefaultIndex": 0, "ResetOnInit": true }, - { - "Name": "UClampThreshold", - "Path": "/proc/vendor_sched/uclamp_threshold", - "Values": [ - "0", - "8" - ], - "ResetOnInit": true - }, { "Name": "ReduceRreferIdle", "Path": "/proc/vendor_sched/reduce_prefer_idle", @@ -419,12 +410,6 @@ "Duration": 5000, "Value": "85" }, - { - "PowerHint": "LAUNCH", - "Node": "UClampThreshold", - "Duration": 5000, - "Value": "0" - }, { "PowerHint": "LAUNCH", "Node": "ReduceRreferIdle", From 3f8d5cf7fe373aab70bc720f30feb836c18ef125 Mon Sep 17 00:00:00 2001 From: Andy Hung Date: Fri, 16 Dec 2022 13:42:45 -0800 Subject: [PATCH 20/24] Spatializer: Add tuning to reduce glitches and power. Test: Instrumented Test: adb shell 'uclampset -a -p $(pgrep -of android.hardware.audio.service)' Bug: 261228892 Bug: 261686532 Bug: 262803152 Change-Id: I58bdd4a245b37ec0e0e797fd2501103103304683 --- device-oriole.mk | 4 ++++ device-raven.mk | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/device-oriole.mk b/device-oriole.mk index bd68efe..d408e1a 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -247,6 +247,10 @@ endif PRODUCT_PROPERTY_OVERRIDES += \ ro.audio.spatializer_enabled=true +# optimize spatializer effect +PRODUCT_PROPERTY_OVERRIDES += \ + audio.spatializer.effect.util_clamp_min=300 + PRODUCT_PACKAGES += \ libspatialaudio diff --git a/device-raven.mk b/device-raven.mk index 6932c95..21834ca 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -260,6 +260,10 @@ endif PRODUCT_PROPERTY_OVERRIDES += \ ro.audio.spatializer_enabled=true +# optimize spatializer effect +PRODUCT_PROPERTY_OVERRIDES += \ + audio.spatializer.effect.util_clamp_min=300 + PRODUCT_PACKAGES += \ libspatialaudio From 66fbf4b8eeb8f114bca7e47c6a5bc7cc2d5a236b Mon Sep 17 00:00:00 2001 From: Paul Scovanner Date: Thu, 22 Dec 2022 02:10:52 +0000 Subject: [PATCH 21/24] Update oriole/raven SVN to 44 Bug: 258811679 Change-Id: I3c088448d3189a3df08378a4160521caa76ad2ac --- device-oriole.mk | 2 +- device-raven.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/device-oriole.mk b/device-oriole.mk index d408e1a..e946e91 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -171,7 +171,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=43 + ro.vendor.build.svn=44 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ diff --git a/device-raven.mk b/device-raven.mk index 21834ca..a93075c 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -180,7 +180,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=43 + ro.vendor.build.svn=44 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From ed1c72440f449993c4c42c3b162be01fd540a0c9 Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Thu, 5 Jan 2023 21:23:41 +0000 Subject: [PATCH 22/24] Update oriole SVN to 45 Bug: 261738635 Change-Id: I2d659ce1bcc3ef9a010bf28041a9ab60005f2c88 --- device-oriole.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-oriole.mk b/device-oriole.mk index e946e91..5379b6e 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -171,7 +171,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=44 + ro.vendor.build.svn=45 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From 18e36f747f52e3b74c46b0ac8485c361ec2e3902 Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Thu, 5 Jan 2023 21:27:05 +0000 Subject: [PATCH 23/24] Update raven SVN to 45 Bug: 261738635 Change-Id: I29965fe979c046a3e950e1a659a609fe27dffba3 --- device-raven.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-raven.mk b/device-raven.mk index a93075c..c2a0eae 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -180,7 +180,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=44 + ro.vendor.build.svn=45 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From fe35d2284ef8c2ce1c191fe2721f9b3380961275 Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Fri, 13 Jan 2023 18:43:51 +0000 Subject: [PATCH 24/24] Update raviole SVN to 46 Bug: 265319238 Change-Id: I359adccf70ad468459f17c9990debf85e7834d99 (cherry picked from commit f568936d9e7ec5cb4066daaa1d3d875eac464a82) Merged-In: I359adccf70ad468459f17c9990debf85e7834d99 --- device-oriole.mk | 2 +- device-raven.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/device-oriole.mk b/device-oriole.mk index 5379b6e..cfca19a 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -171,7 +171,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=45 + ro.vendor.build.svn=46 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ diff --git a/device-raven.mk b/device-raven.mk index c2a0eae..9969ef3 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -180,7 +180,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=45 + ro.vendor.build.svn=46 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \