Commit graph

1143 commits

Author SHA1 Message Date
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
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
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
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
Michelle Ho
62df39a3f6 Enable concurrent foldable front feature
Enable concurrent foldable front feature
by platforms

Bug: 333986739
Test: build pass
Change-Id: I773c00bff5f1336f976d8ec28542fbd80a679adc
2024-05-27 16:37:32 +00:00
Michelle Ho
098e715e1e Enable concurrent foldable front feature
Enable concurrent foldable front feature
by platforms

Bug: 333986739
Test: build pass
Change-Id: I773c00bff5f1336f976d8ec28542fbd80a679adc
Merged-In: I773c00bff5f1336f976d8ec28542fbd80a679adc
2024-05-27 16:21:57 +00:00
Jared Hallett
a3d124163f Add Pyr binning sysprop to Comet
Bug: 336311209
Test: manual
Change-Id: I220f6d835f4302ae2c7e8a79ef6ed0ae66599bbc
2024-05-27 11:12:17 +00:00
Cheng Chang
569cbb0425 Merge "Revert "gps: Enable MTPL function"" into 24D1-dev am: 21530520ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27510941

Change-Id: I902bea359587bae81c12042bd7a25b0bc30f0431
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-27 10:38:37 +00:00
Cheng Chang
21530520ca Merge "Revert "gps: Enable MTPL function"" into 24D1-dev 2024-05-27 10:24:05 +00:00
Cheng Chang
3fb994fb05 Revert "gps: Enable MTPL function"
This reverts commit 304c52f555.

Reason for revert: b/342971015 stability issue

Change-Id: Id89154cd22db62d11df3aad19b3a674932f616ce
2024-05-27 07:58:03 +00:00
Treehugger Robot
7f88d97f36 Merge "Enable bootstrap for only t mobile and verizon devices" into 24D1-dev am: 9bf0280719
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27367663

Change-Id: Ib3873f63f5c9546b43b208116a30efd568827af5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-27 06:04:42 +00:00
Treehugger Robot
9bf0280719 Merge "Enable bootstrap for only t mobile and verizon devices" into 24D1-dev 2024-05-27 05:51:34 +00:00
pashalee
bad5a384c4 [Project11] CPU scheduling update. am: 1d2b4db33f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27477178

Change-Id: Ica4fafe5188165632c4d1e140f146e7cde381d6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 18:45:45 +00:00
pashalee
1d2b4db33f [Project11] CPU scheduling update.
Bug: 341968564
Test: power and performance test are updated to
      b/341968564#comment38.

- Use newly tuned STREAMING_STANDARD setting.

Change-Id: Ida2e73b7d295bed53cff04cca0004fcaa78a696c
2024-05-24 09:00:00 +00:00
Cyan_Hsieh
06531768ae Switch makefile owners to MK_OWNERS
Bug: 278167548
Change-Id: Ie3cdbb8bbe9134b3acaa00ce6dc824327a859ded
2024-05-24 15:52:26 +08:00