Commit graph

1377 commits

Author SHA1 Message Date
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
Sam Paradis
3cbcddeca3 Switch Faceauth FACE_UNLOCK_BOOST Power Hint to Mid Cluster
Faceauth is pinning to the mid-core for this device. Adjust the power hint to boost the appropriate cluster.

Bug: 329893113
Change-Id: Ifcb27e61752ef5ddb8484888adc77b894f5a5cf8
2024-06-04 19:13:37 +00:00
Piotr Wilczyński
28b4ee67ef Set persistBrightnessNitsForDefaultDisplay to true
Bug: 330254981
Test: adb shell dumpsys display
Change-Id: I1d8ff3146752294fc6a217f2cf8e67babf976150
2024-06-04 10:57:24 +00:00
Kimi Hsu
15b9ecd5af Update display shape
Bug: 337202957
Test: make
Change-Id: I8a1601a9d5643308cca1bd6800fb864f4655d346
2024-06-04 10:32:51 +00:00
Kimi Hsu
98295ba148 Update display shape
Bug: 337202957
Test: make
Change-Id: I8a1601a9d5643308cca1bd6800fb864f4655d346
2024-06-04 08:47:11 +00:00
Shinru Han
7fd73e4c82 Merge "gps: maintain one solution" into main 2024-06-04 06:41:30 +00:00
Rios Kao
2b6db416e8 comet: update libspeechenhancer
note:
     version from 0520.

Test: manually test.
Bug: 344695037
Change-Id: Ibd3cf2011de9ae3800f21bb9cad69e2ad1e7f10f
2024-06-04 03:52:04 +00:00
Allen Xu
bdb0ac67dc Enable satellite eSOS persistent logging
Bug: 343478281
Test: make
Change-Id: Ia915218d10a5ee7c0e45f3710531d278b0daaeaa
2024-06-03 21:19:12 +00:00
Cyan_Hsieh
04bb3b12b8 Move PRODUCT_SHIPPING_API_LEVEL to define by device
Bug: 312876454
Change-Id: I334f31126e0c4c10a218425948ecdf5b95be4762
2024-06-03 17:14:20 +08:00
Jongduck You
8de72394a3 Enable dynamic routing
Enable dynamic routing feature for India, Israel, Taiwan, Singapore,
Switzerland, Slovakia, Poland, Slovenia, and Bosnia and Herzegovina.

Add emergency numbers requiring normal routing for India, Israel, France, Taiwan, Singapore, Switzerland, Guadeloupe, Slovakia, Poland, Reunion, Slovenia, and Bosnia and Herzegovina.

Bug: 336759603
Test: build and manual test

Change-Id: I9ec0bc0c00a9bb66d39cd9b1acb2a22a9d593eed
2024-06-02 01:58:38 +00:00
Wayne Lin
a80b17f7d0 Revert "gps: Disable NFW lock" am: 8e0f9b8d1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27430641

Change-Id: I2b4d630ac1658e302376abbfcba243f0decded3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-30 18:33:51 +00:00
Treehugger Robot
b159499952 Merge "Switch makefile owners to MK_OWNERS" into main 2024-05-30 08:16:16 +00:00
Treehugger Robot
3797f412b1 Merge "Revert "powerhint: add proactive kill hint for camera launch"" into main 2024-05-30 03:39:47 +00:00
Rios Kao
3f15baa2ab Merge "comet: correct property name for gsenet." into main 2024-05-30 03:38:36 +00:00
Wayne Lin
8e0f9b8d1b Revert "gps: Disable NFW lock"
Revert submission 27263809-disable-nfw-lock

Reason for revert: enable NFW after LOCSW-21052 is reverted in b/326439267 and fix test case failure in b/343511469

Reverted changes: /q/submissionid:27263809-disable-nfw-lock

Change-Id: Id4eae6d381e18b4a696a184830332e603763ad2f
2024-05-30 01:43:34 +00:00
Minchan Kim
beed8e1a34 Revert "powerhint: add proactive kill hint for camera launch"
Revert submission 27473137-P24_PA_KILL_HINT_24Q4

Reason for revert: will merge after mid of June

Reverted changes: /q/submissionid:27473137-P24_PA_KILL_HINT_24Q4

Change-Id: Ic7a87141616ea44c30cf88493d2d46dbee8da014
Bug: 322916612
2024-05-30 00:59:16 +00:00
Wei Wang
35bc06e4c1 Merge "Add Ownership to powerhint file" into 24D1-dev am: 490c9dab3b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27551820

Change-Id: Icdea89833e3495da33b16b2e63ec18619ee92f93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 18:04:13 +00:00
Wei Wang
490c9dab3b Merge "Add Ownership to powerhint file" into 24D1-dev 2024-05-29 17:58:47 +00:00