Commit graph

1495 commits

Author SHA1 Message Date
Vince Chiu
796c46dc00 Reduce CPUDVFSHeadroom for mid and big core (for 60fps and 240fps)
Reducing CPUDVFSHeadroom can help save power in 60fps and 240fps
use-cases once RT threads are enabled. Even without the RT patch
(ag/27725456), we can see savings without any impact to framedrop rate.

sync from ag/27765730

Bug: 341495529
Test: GCA
Change-Id: I8692df07c2a52115a497b7e71ccbe9638add1cc8
2024-06-12 23:43:46 +00:00
Cheng Chang
97af2f757e gps: Enable MTPL configuration
Bug: 342937957
Test: SST test for 4 days.
Test: Verification test verification.
Change-Id: I430bc7111ca2e97e4ab002b876b84f81169c5bb1
2024-06-12 14:35:44 +00:00
Cheng Chang
5f208452e1 gps: Enable Pps function
Bug: 346665757
Test: b/346665757#comment7 boot-health-check-extra.
Test: Function verification at b/346665757#comment8.
Change-Id: I5aa9d13cab822ac1b30e1baee99d4627c40a0891
2024-06-12 08:00:07 +00:00
Timothy Wang
6f01681963 Enable camera exif model/make reporting
Reveal real model and make name in the exif.

Test: CTS StillCaptureTest#testFocalLengths
Bug: 341062345
Change-Id: Ia8188cf46099524b0d318de1c72d17f1242873c4
Merged-In: Ia8188cf46099524b0d318de1c72d17f1242873c4
2024-06-12 07:40:01 +00:00
Timothy Wang
187c87f88a Enable camera exif model/make reporting
Reveal real model and make name in the exif.

Test: CTS StillCaptureTest#testFocalLengths
Bug: 319743372
Change-Id: Ia8188cf46099524b0d318de1c72d17f1242873c4
2024-06-12 14:20:46 +08:00
Treehugger Robot
93213a5fc2 Merge "Update IDisplay to V12" into main 2024-06-12 03:20:59 +00:00
Lynn Yeh
fd74a79aa5 Merge "uwb: update calibration for TTC failure" into 24D1-dev am: 280ab0b4b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27790958

Change-Id: Ic4194e9e7f08d57e5d6f07f3c607356cca506199
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 02:43:16 +00:00
Lynn Yeh
b03a7724ee Merge "Update display shape" into 24D1-dev am: 26da4dcf26
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27666200

Change-Id: Ia82a0f370de72370c2794ed494563a07f1c8cbd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 02:43:00 +00:00
Lynn Yeh
280ab0b4b4 Merge "uwb: update calibration for TTC failure" into 24D1-dev 2024-06-12 02:33:32 +00:00
Lynn Yeh
26da4dcf26 Merge "Update display shape" into 24D1-dev 2024-06-12 02:10:08 +00:00
Hasan Awais
c0f6e86b0f uwb: update calibration for TTC failure
Bug: 346412002
Change-Id: Ib92f3c808879892711a1eb3c26ff68a8a343f419
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-06-11 15:24:25 +00:00
James Huang
85c7febe7b gps: Disable Magnetometer sensor in gps.cfg for CT3
Set Chip_Configuration_mems_data_Configuration=0x25

Bug: 346490557
Test: CTS/VTS, sanity test/Stress test/SST
Change-Id: I57940f9eb38e2b0eaf2be6f81e02fb497ddfaa1d
2024-06-11 17:27:10 +08:00
Rios Kao
4287cbbee3 comet: correct microphone devices for voip
note:
     In VOICE_COMMUNICATION case, microphones need
     extras string to be identified as voice device.

Bug: 346302191
Test: adb shell tinymix | grep "MIC HW Gain"
Change-Id: I97b005232514f922b5da151b650f455905b6bafc
2024-06-11 08:57:31 +00:00
Hsiu-Chang Chen
8b25698142 wifi: Enable WIFI_BRCM_OPEN_SOURCE_MULTI_AKM
Bug: 345118973
Test: Build pass
Change-Id: I9cbbbee8557cd0c1aed099b36620553a99a2dfb2
2024-06-11 15:35:18 +08:00
Jongduck You
a59083d697 Merge "Enable dynamic routing" into 24D1-dev am: da60dc4397
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27454897

Change-Id: I34b769e9588c224e78c26cef3b12bb24890cef63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 06:56:22 +00:00
Jongduck You
da60dc4397 Merge "Enable dynamic routing" into 24D1-dev 2024-06-11 06:38:30 +00:00
Lynn Yeh
bf6449b2e6 [automerger skipped] Merge "gps: maintain one solution" into 24D1-dev am: c4477bbe84 -s ours
am skip reason: Merged-In I886db2dcf8f0c2b30a208db1e83140205e681253 with SHA-1 828c85cc70 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27081135

Change-Id: I9a97380b4198756a52f9c71a386340bc378b91c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 02:49:58 +00:00
Wayne Lin
7514ca5c7c [automerger skipped] gps: maintain one solution am: 9aedba2b46 -s ours
am skip reason: Merged-In I886db2dcf8f0c2b30a208db1e83140205e681253 with SHA-1 828c85cc70 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27081135

Change-Id: If51c2187a6df42d4959614334e37bd03a93200c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 02:49:51 +00:00
Lynn Yeh
c4477bbe84 Merge "gps: maintain one solution" into 24D1-dev 2024-06-11 02:25:19 +00:00
Pointer Kung
6b22f33b50 Update PMU thresholds with PMU ignorance logic disabled
pa/2830448 removes the core ignorance logic in PMU and causes the
behavior of PMU to change. With the new PMU logic, we need to re-tune
all the SPC thresholds for camera use-cases. This CL adjusts SPC
thresholds accordingly, so that we do not have power regression once the
PMU change in the kernel is merged.

Refer to ag/27702721

Bug: 341495529
Test: Build pass, Boot to home
Test: With pa/2830448 and 30fps(ag/27631025)/60fps(ag/27725456) RT changes, it will increase ~40mW without frame drop impact to improve performace issue.
30fps/120fps test results (https://docs.google.com/spreadsheets/d/1yhYV8LUaraO8mt1cYNFhXj-QzNBkTTtc3xXh-ryH2Eo/edit?usp=sharing&resourcekey=0-xs3Qtufdju8eYOZDTAC7oQ)
60fps/240fps test results (https://docs.google.com/spreadsheets/d/1uiG4jCR9rsLuD7WseiaptpktbUAt5BLRnyN3Teg8JII/edit?usp=sharing&resourcekey=0-lBJxBct6NT_rtkp1brC4Vg)
Change-Id: Id7bd8704039d8a7f35bee93c491327fed3101211
2024-06-11 09:39:37 +08:00
David Lin
27d28c1767 Merge "gps: Update official release 4.15.1_15_240610_R2 config for CT3" into 24D1-dev am: 2ffe2c46ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27765215

Change-Id: Ib2682a2ba37fb44a6f0a75918b3d7374d4b371c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 01:30:37 +00:00
David Lin
2ffe2c46ef Merge "gps: Update official release 4.15.1_15_240610_R2 config for CT3" into 24D1-dev 2024-06-11 01:27:18 +00:00
David Lin
a829177f7a Merge "Set persistBrightnessNitsForDefaultDisplay to true" into 24D1-dev am: af33a1a6ee
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27706481

Change-Id: I416fd061b12f2765ceb3ffdde49ef58ca909daa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 01:10:44 +00:00
David Lin
912591aca2 Merge "Enable satellite eSOS persistent logging" into 24D1-dev am: 711ecefb7c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27578432

Change-Id: I1d9214cc556a22f7066fdf0a1a6c1f58245e0a44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 01:09:21 +00:00
David Lin
e708fa4127 Merge "thermal: update vskin-open sub1 equation" into 24D1-dev am: 05f5f6288e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27542141

Change-Id: Ie95c5746180b5cb3fa6f5202cfc7669eb8634775
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 01:07:19 +00:00
David Lin
af33a1a6ee Merge "Set persistBrightnessNitsForDefaultDisplay to true" into 24D1-dev 2024-06-11 00:59:53 +00:00
David Lin
f80426a889 Merge "audio: waves: use SPEAKER_MUSIC in call screen" into 24D1-dev am: 82292e57ec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27551825

Change-Id: I70bfbb059b19ec5906862261260a8dc9e93875b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 00:58:23 +00:00
David Lin
8610dd7ce1 Merge "Update Bluetooth SAR table for EU and JP region" into 24D1-dev am: ec9f3ef909
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27647855

Change-Id: I45e37f5bc542f6bd20812fa600dd5a282ed61171
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 00:58:12 +00:00
David Lin
711ecefb7c Merge "Enable satellite eSOS persistent logging" into 24D1-dev 2024-06-11 00:57:46 +00:00
David Lin
05f5f6288e Merge "thermal: update vskin-open sub1 equation" into 24D1-dev 2024-06-11 00:51:46 +00:00
David Lin
82292e57ec Merge "audio: waves: use SPEAKER_MUSIC in call screen" into 24D1-dev 2024-06-11 00:49:32 +00:00
David Lin
ec9f3ef909 Merge "Update Bluetooth SAR table for EU and JP region" into 24D1-dev 2024-06-11 00:37:15 +00:00
James Huang
dc167364c6 gps: Update official release 4.15.1_15_240610_R2 config for CT3
Add allow_logging_if_disconnected=0

Bug: 344006818
Test: CTS/VTS, Sanity test/Stress Test/SST
Change-Id: If7fc65ba7b3fb330d7cd52e0559e097df6013b29
2024-06-10 22:56:45 +08:00
Treehugger Robot
16ae99c8bd Merge "thermal: Update charging thermal throttling" into main 2024-06-07 17:51:07 +00:00
Ted Wang
2d7620cd70 Update Bluetooth SAR table for EU and JP region
Bug: 345145096
Test: flash and check the tables.
Change-Id: Ic2cf2993f1715906d57d4c9c990eff7ebd5fd9ab
2024-06-07 09:55:58 +00:00
sashwinbalaji
2f57f9b356 thermal: update vskin-open sub1 equation
Update vskin-open-sub-1 equation to have better correlation for safety
cases.

Bug: 322147413
Test: Push config and verify lshal
Change-Id: I338f4ddf289f9388c3601149bf22312a81f6af43
2024-06-07 15:45:03 +08:00
S Ashwin Balaji
0af57312f1 Merge "thermal: update vskin-open sub1 equation" into main 2024-06-07 05:54:53 +00:00
Jasmine Cha
2755a754d3 audio: waves: use SPEAKER_MUSIC in call screen
Presets in call screen:
Before:
 - SPEAKER_SAFE_MUSIC_LITE
 - SPEAKER_SAFE_MUSIC_THROTTLE_LITE
After:
 - SPEAKER_MUSIC_FOLDED
 - SPEAKER_MUSIC_FOLDED_NX
 - SPEAKER_MUSIC_CLAMSHELL
 - SPEAKER_MUSIC_CLAMSHELL_NX
 - SPEAKER_MUSIC_UNFOLDED
 - SPEAKER_MUSIC_UNFOLDED_NX
 - SPEAKER_MUSIC_FOLDED_THROTTLE
 - SPEAKER_MUSIC_FOLDED_THROTTLE_NX
 - SPEAKER_MUSIC_CLAMSHELL_THROTTLE
 - SPEAKER_MUSIC_CLAMSHELL_THROTTLE_NX
 - SPEAKER_MUSIC_UNFOLDED_THROTTLE
 - SPEAKER_MUSIC_UNFOLDED_THROTTLE_NX
 - SPEAKER_SAFE_MUSIC
 - SPEAKER_SAFE_MUSIC_THROTTLE

Bug: 341930605
Test: manual test b/341930605#comment16

Change-Id: I92e91bf4b245713c4b899200f2b4baf1c3da2170
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-06-07 03:08:57 +00:00
David Chao
fffedb6361 thermal: Update charging thermal throttling
Reduce temperature and charging throttling overshoots by fine-tuning PID
parameters.

Bug: 303547723
Test: boot and charging thermal throtlting worked properly.
Change-Id: Ief0aec34e05cc9639ae995e1a230228e7591cf36
2024-06-06 18:40:00 +00:00
Michael Williams
2f81bc8e45 Merge "Switch Faceauth FACE_UNLOCK_BOOST Power Hint to Mid Cluster" into main 2024-06-06 15:19:29 +00:00
Piotr Wilczyński
899ccfe130 Set persistBrightnessNitsForDefaultDisplay to true
Bug: 330254981
Test: adb shell dumpsys display
Change-Id: I1d8ff3146752294fc6a217f2cf8e67babf976150
(cherry picked from commit 28b4ee67ef)
2024-06-06 09:42:06 +00:00
Kimi Hsu
b23f4ef0f3 Merge "Update display shape" into main 2024-06-06 07:26:28 +00:00
sashwinbalaji
dae7860b75 thermal: update vskin-open sub1 equation
Update vskin-open-sub-1 equation to have better correlation for safety
cases.

Bug: 322147413
Test: Push config and verify lshal
Change-Id: I338f4ddf289f9388c3601149bf22312a81f6af43
2024-06-06 10:59:56 +08:00
sashwinbalaji
8d517a9b49 thermal: Update vskin-speaker model
- Use dvt data to train the model
- Fall back to vskin-speaker-legacy:
	- if all samples not collected
	- if vskin-speaker-model temp < 20degC
	- if vskin-speaker-model temp >= 57degC
- Add timeResolution to avoid duplicate readings issue.

Bug: 343157242
Test: Push config and tflite model to verify lshal and logcat
Change-Id: I2140a92ae3b19825ec9542e3ec65a365bec2e66f
2024-06-06 10:59:56 +08:00
sashwinbalaji
f29dae4163 thermal: Update vskin-model
Continue with existing model but with minor changes:
	- Add max_sample_interval_ms
	- Add backupSensor
	- Add TimeResolution

Bug: 343189782
Test: Local push and verify logs
Change-Id: I31744360d6fcb21542139b78486a35324f5ce94a
2024-06-06 10:59:56 +08:00
sashwinbalaji
754a1ba418 thermal: Add residency stats for vskin-charge by charger type
Use thb_hda value to find charger type and split vskin-charge into
different categories on basis of charger type.
For each category if charger not active, store time in bucket 0 and if
active store residency in higher buckets.
Thresholds: [-200, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55]

Bug: 341872098
Test: Push locally and verify stats by connecting to different chargers
Change-Id: I15738686a0a6b263ab4b3f2caf1a22d7c31c4518
2024-06-06 10:59:56 +08:00
sashwinbalaji
b34f70a943 thermal: Update residency stats
- Add residency monitoring for vskin-od by severity and by threshold as
  [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57]
- Update vskin-speaker model threshold to align with other vskin
  thresholds.
- Add vskin-legacy and set vskin-legacy and vskin-model threshold also
  to align with other thresholds.

Bug: 343098605
Test: Local push and verify lshal
Change-Id: I6fc484c20910a4faff8885d8b3d21d4b901b9823
2024-06-06 10:59:56 +08:00
Rios Kao
83cf90fad7 Merge "comet: update libspeechenhancer" into main 2024-06-06 02:30:01 +00:00
James Huang
c085e7dccc gps: Update release 4.15.1_13_240603_R2 config to enable PDR on CT3 am: 8b879fc372
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27644645

Change-Id: I02b679afadb290a8a6ff6403732e010944da1754
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 01:25:51 +00:00
James Huang
8b879fc372 gps: Update release 4.15.1_13_240603_R2 config to enable PDR on CT3
Add NavOptions=0x2443 to enable PDR
Add Chip_Configuration_mems_data_Configuration=0x27 to support Step
counter and Magnetometer

Test: CTS/VTS, sanity test/stress test/SST
Change-Id: I4d3df40021af7dbd3ad56ece815d921e6a798e35
2024-06-05 13:12:04 +08:00