Commit graph

1206 commits

Author SHA1 Message Date
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
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
Treehugger Robot
be58a50544 Merge "gps: Update official binary release 4.15.1_11_240527_R3 config for CT3" into 24D1-dev am: be3d6d582c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27512237

Change-Id: I1c2cbe971639f419dc8d1588e300fa3ea244bbfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 17:55:39 +00:00
Treehugger Robot
be3d6d582c Merge "gps: Update official binary release 4.15.1_11_240527_R3 config for CT3" into 24D1-dev 2024-05-29 17:39:54 +00:00
Treehugger Robot
ee4dc6c8f9 Merge "Add Pyr binning sysprop to Comet" into 24D1-dev am: 4cc8fe6617
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27480039

Change-Id: I0ac457706d10f1c415fd8054deea22d1c58e0f54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 15:58:05 +00:00
Treehugger Robot
4cc8fe6617 Merge "Add Pyr binning sysprop to Comet" into 24D1-dev 2024-05-29 15:46:53 +00:00
James Huang
b5eede4d42 gps: Update official binary release 4.15.1_11_240527_R3 config for CT3
Add isUseUncalMagn=0 to use calibrated data (PDR)

Test: CTS/VTS, GNSS sanity test/Stress test/SST
Change-Id: I310221b61f03b4216b6819b69aa86fe3546429cb
2024-05-29 23:12:47 +08:00
Robin Peng
e514a3b9be [automerger skipped] Update SVN to 1 am: 7bd80bc5b1 -s ours
am skip reason: Merged-In I56944d8ddf2909e95c63f58fbd397df946f61c94 with SHA-1 0581ddfb0e is already in history

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

Change-Id: I4c6e8d9d04d7d654086c4dcce61efc3a10c696a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 09:58:44 +00:00
Robin Peng
7bd80bc5b1 Update SVN to 1
Bug: 343297621
Change-Id: Iaf5c051c3afdf3021afb1f82966636f33be04b24
Merged-In: I56944d8ddf2909e95c63f58fbd397df946f61c94
2024-05-29 05:53:03 +00:00
Robin Peng
1777ac3dbc Update SVN to 1
Bug: 343297621
Change-Id: Iaf5c051c3afdf3021afb1f82966636f33be04b24
2024-05-29 05:41:51 +00:00
Treehugger Robot
4a5e9b3fb7 [automerger skipped] Merge "Enable concurrent foldable front feature" into 24D1-dev am: 8125879cc9 -s ours
am skip reason: Merged-In I773c00bff5f1336f976d8ec28542fbd80a679adc with SHA-1 62df39a3f6 is already in history

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

Change-Id: Ia07267c2e5455b69cc80c991ff4a307b9d76e73c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 04:13:52 +00:00
Michelle Ho
b52ab5d309 [automerger skipped] Enable concurrent foldable front feature am: 098e715e1e -s ours
am skip reason: Merged-In I773c00bff5f1336f976d8ec28542fbd80a679adc with SHA-1 62df39a3f6 is already in history

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

Change-Id: I7010ee5dc46de084e99a2ea6bda1f36bbd234521
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 04:13:48 +00:00
Treehugger Robot
8125879cc9 Merge "Enable concurrent foldable front feature" into 24D1-dev 2024-05-29 03:50:17 +00:00
Rios Kao
6df65cafac comet: correct property name for gsenet.
Test: build pass.
Bug: 333497194
Change-Id: Iebeddc4d1ca3447278d31233bcd586aaf8fa0638
2024-05-29 02:54:22 +00:00
Chungkai Mei
7cdccf0d20 Add Ownership to powerhint file
Bug: 343198372
Test: NA
Change-Id: Ie0c3b09b874ba5d69e872416c66bb279d8893b9f
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-05-29 02:15:28 +00:00
Treehugger Robot
fa66725187 Merge "Enable concurrent foldable front feature" into main 2024-05-29 00:30:48 +00:00
Minchan Kim
a4f776fff3 Merge "powerhint: add proactive kill hint for camera launch" into main 2024-05-28 17:01:59 +00:00
Massimo Carli
addfa93de8 Merge "Increase thin letterbox width" into 24D1-dev am: c7e2d100aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27514886

Change-Id: Ie4124b80461c9a76cbb8507065b9160bee624920
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-28 16:37:28 +00:00
Massimo Carli
c7e2d100aa Merge "Increase thin letterbox width" into 24D1-dev 2024-05-28 16:15:48 +00:00
Massimo Carli
d6eb9033bd Increase thin letterbox width
Increase to 150px = 62dp for a better heuristic

Bug: 334077350
Test: manual

Change-Id: I21f2392f56789d41d7f4c7e8110c9320684fb77a
2024-05-28 15:57:20 +00:00
Treehugger Robot
2a8167aa65 Merge "[Camera] Update CPU DVFSHeadroom for CAMERA_STREAMING_STANDARD/PROJECT11 and CDPreferHighCap for Video Call" into 24D1-dev am: b5be70e813
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27512047

Change-Id: Ic1aed2cbd13cf4c06460583fa04d051bff24a5e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-28 07:01:55 +00:00
Treehugger Robot
b5be70e813 Merge "[Camera] Update CPU DVFSHeadroom for CAMERA_STREAMING_STANDARD/PROJECT11 and CDPreferHighCap for Video Call" into 24D1-dev 2024-05-28 06:39:55 +00:00
Pointer Kung
37033c37c6 [Camera] Update CPU DVFSHeadroom for CAMERA_STREAMING_STANDARD/PROJECT11 and CDPreferHighCap for Video Call
sync from ag/27120048 and ag/26555645

Bug: 343101802
Test: Build pass
Test: Save photo preview ~38mW and 30fps/120fps recording ~12mW without frame drop impact. (https://docs.google.com/spreadsheets/d/1ibQabthI6kUL6mOxGpxDKS__1tcbRBoUUDgi2Urf6H8/edit?usp=sharing)
Test: Save Meet front video call ~7mW (https://docs.google.com/spreadsheets/d/1rfDGESnMuT2KfGjtYrE7rLAJ5qt-F4DYWUYAB8anKbY/edit?usp=sharing)
Change-Id: I5c5e255a035ab0c42fa8d3441051a4856fa12a7f
2024-05-28 04:39:11 +00:00