Commit graph

1204 commits

Author SHA1 Message Date
Sayanna Chandula
dbb9ba6344 thermal: fix typo in thermal config
Bug: 337094450
Test: Build and boot on device

Change-Id: I5884945aa8be3e1c881b49f5bb379a2ab3e05afb
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-29 18:29:26 -07:00
Sayanna Chandula
138e40e300 Merge changes from topic "p24-vt-dvt" into 24D1-dev am: 670fd87775
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27130937

Change-Id: Ic430c75a6a3192bd4ae2d9785105ba37264afa83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 20:44:35 +00:00
Ali K. Zadeh
c67b4aa7eb Merge "Disable CDPreferIdle, set DSUMin to 610MHz for 60fps" into 24D1-dev am: 32364863c3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27091363

Change-Id: Iab05035312bfe3c13afb5b0c3f8495af9932f2b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 20:44:19 +00:00
Sayanna Chandula
670fd87775 Merge changes from topic "p24-vt-dvt" into 24D1-dev
* changes:
  thermal: update vt models with dvt data
  thermal: add smooth transition from model to legacy vt
2024-04-29 20:30:39 +00:00
Ali K. Zadeh
32364863c3 Merge "Disable CDPreferIdle, set DSUMin to 610MHz for 60fps" into 24D1-dev 2024-04-29 20:22:15 +00:00
Anton Potapov
e2850749ff Merge "Move volume panel from activity to a dialog." into main 2024-04-29 15:00:56 +00:00
Cheng Chang
d9e3a24a1d gps: Disable AAM feature am: 66b4d16914
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27138876

Change-Id: Ib95f078bb038f6229e244e59a4e5543bf50170f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 11:37:14 +00:00
Cheng Chang
66b4d16914 gps: Disable AAM feature
Bug: 337715905
Test: Function verification at b/337735228
Change-Id: I957ac31df3cc807a31326447669b65558da135c8
2024-04-29 08:26:49 +00:00
Nelson Li
f5c81992db Refactor product inheritance for tokay products
Add an additional layer of inheritance for `factory_tokay`,
`aosp_tokay`, and `aosp_tokay_fullmte`.

This change adds a common layer of inheritance for non-factory
products (tokay_generic.mk). This makes it easier to configure
factory and non-factory products differently.

Non-factory `tokay` products now inherits from
`device/google/caimito/tokay_generic.mk` which inherit from
`device/google/caimito/device-tokay.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 336452008
Bug: 336706866
Test: lunch aosp_tokay-trunk_staging-userdebug && m
      lunch aosp_tokay_fullmte-trunk_staging-userdebug && m

Change-Id: Ided24b5d180bcfdf8ff2b1f9964fa42c0c53ef99
2024-04-29 02:06:29 +00:00
Jason Hsu
4b8beee6fd audio: 2024/04/26 Fortemedia tuning settings for RC v1
<Overall table path>
Fortemedia tables => /vendor/etc/aoc

<change list>
KM4
- Handset (Owen)
1. Tx: WB/SWB EC V0417tuning and SWB Tx DRC from 16.5 to 17dB
2. Rx: Modify SWB Rx DRC gain from 9.5 to 10dB and WB Rx EQ at Vol_0-3
3. Batch copy from generic to co-use case

- Headset (Gene)
    - More margin for HE ac WB/SWB RFR test.

CM4
- Headset (Gene)
    - More margin for HE ac WB/SWB RFR test.

TK4
- Headset (Gene)
    - More margin for HE ac WB/SWB RFR test.

-Handsfree (Ricky)
1. Fine tune HHWB parameter for HHNB distortion
2. Fine tune HHWB EAD for TX POLQA drop issue

Bug: 337194762
Test: Verified by Acoustic team

Change-Id: Icd619baa2107796873e7573d61fec443a4ebbc5b
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-04-28 15:18:52 +08:00
Sayanna Chandula
f90c98757f thermal: update vt models with dvt data
prev_sample_order = 3
activation = leaky_relu
sample_interval_ms = 7000
max_sample_interval_ms = 12000

Bug: 337512118
Test: Build and boot on device. Check VIRTUAL-SKIN temperature

Change-Id: Ia13654991d88435f13c86fc1535caca054e1cc09
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-27 14:24:57 -07:00
Sayanna Chandula
dd66c5faaa thermal: add smooth transition from model to legacy vt
- Remove backup sensor and enable under sampling
- Clamp VT_MODEL prediction based on training set max_surface
- Use VT_MODEL_LEGACY_DIFF to decide on switch
- Enable smooth transition with weights

Bug: 336265406
Test: Build and boot on device. Test smooth transition

Change-Id: If30a87a24b12b0af5527d9c05be7a14bb06dcfac
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-27 12:15:26 -07:00
Ali K. Zadeh
c4c7bb09b2 Merge "Reduce DVFSHeadroom to 1100 for CAMERA_STREAMING_STANDARD" into 24D1-dev am: a4151229c8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27120048

Change-Id: I64b267ca92676ff44e3eb44f7a6fb9f36b1aa67c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 22:21:03 +00:00
Ali K. Zadeh
a4151229c8 Merge "Reduce DVFSHeadroom to 1100 for CAMERA_STREAMING_STANDARD" into 24D1-dev 2024-04-26 22:03:46 +00:00
Alec Foster
0bbb1fd8fe Fix missing QfpCalibration on userdebug builds
Bug: 337315950
Test: QfpCalibration present on userdebug builds
 but not on user builds.
Change-Id: I716526727f537e749775e5e207b27f7008ca44c6
2024-04-26 22:00:48 +00:00
Taeju Park
cbc71795e2 powerhint: tune default value for PMU limit parameter am: 635801795b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27120732

Change-Id: Ia2f92c7c44e81d2f18e543ba2ece868a5e07698f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 21:27:42 +00:00
Taeju Park
635801795b powerhint: tune default value for PMU limit parameter
Bug: 310237445
Change-Id: I0ed334a447afdc420655ca1733125e8ab0ab43f1
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-26 18:32:42 +00:00
Wei Wang
7e62ae947e Merge "powerhint: remove lcpi parameter for PMU limit" into 24D1-dev am: 95295f6e14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27004355

Change-Id: Id56747874c0f6840e57813b880bedfdd47cb33a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 18:08:08 +00:00
Wei Wang
5a875bc6f4 Merge "thermal: use frequency to define hard limit and cdev ceiling" into 24D1-dev am: c5a9cdb1ff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27078532

Change-Id: I3ef9573231ec96734f1ba9ad82ef0a9ad5875165
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 18:02:47 +00:00
Wei Wang
95295f6e14 Merge "powerhint: remove lcpi parameter for PMU limit" into 24D1-dev 2024-04-26 17:49:54 +00:00
Wei Wang
c5a9cdb1ff Merge "thermal: use frequency to define hard limit and cdev ceiling" into 24D1-dev 2024-04-26 17:43:37 +00:00
shihchienc
6a7042decf [P24] remove Thread HAL service
as thread software is not POR of p24 on TA, remove thread hal service
here. will put it back once change goes into p24 branch.

Bug: 333516795
Test: manual flash and check if thread hal service exists by adb shell
ps |grep "thread_network"

Change-Id: I83c34ab6e44be593d25bb29e883e6e00b967589d
Merged-In: I83c34ab6e44be593d25bb29e883e6e00b967589d
(cherry picked from commit 867521c482)
2024-04-26 17:14:30 +00:00
Ali K. Zadeh
f81ce08592 Reduce DVFSHeadroom to 1100 for CAMERA_STREAMING_STANDARD
With CDPreferIdle enabled, the current DVFSHeadroom pushes the CL0
frequency too high. This CL reduces this value to 1100, resulting in a
lower CPU power while performance remains mostly intact.

Bug: 304536786
Test: 1080p30fps - https://docs.google.com/spreadsheets/d/1A6Ck6Hyhs5su_xhn_6YIrLKSGc-tVIbzMIcGP4ucp-w/edit?resourcekey=0-Tj0KiAgzcejZJAUem9D2Ew#gid=2127971741
Test: 4k30fps - https://docs.google.com/spreadsheets/d/1scT3e3jeAekH6L7vZ3WtLLJsRxyxaq6JxbXKW4_tkH8/edit#gid=1060301792
Test: Photo preview - https://docs.google.com/spreadsheets/d/1W8WhkDqZccYvh4Zd0wXNFaCxWrUY-TOuXoFuBSVkk88/edit?resourcekey=0-i8drOxv0D8QioXYJNhZyGA#gid=380332953
Test: Portrait preview - https://docs.google.com/spreadsheets/d/1g9olzsTKNodKH8o0EtlcYbmLHOSbwnUVLyHAGs89tTE/edit?resourcekey=0-az_TeGJi_aH-B_DGqyTugQ#gid=524055346
Test: Video Bokeh - https://docs.google.com/spreadsheets/d/162XjO8vhbL9JFolzjqDUhaMp40NWWQP7PMr_34JS8PE/edit?resourcekey=0-gtA-l_Z0c_aDK5Y898XnrA#gid=1290026232
Test: 120fps - https://docs.google.com/spreadsheets/d/1nSA2ybed-fu6RqBdsa0JZ4CRM6002HPYiW3dJC_rxvw/edit#gid=961019110
Test: loaded test - https://docs.google.com/spreadsheets/d/1wGlPn_WdX5ZJAhppmZBh_Iih3UcSwGQeDb8R-OG2Jhk/edit?resourcekey=0-NKPtSKHqq1HwPwZDw7OljA#gid=1710307951
Change-Id: I1271c60e669dbf437467f28903254bb95a07beb0
2024-04-26 17:13:32 +00:00
Nelson Li
574cb9ead9 Refactor product inheritance for caiman products
Add an additional layer of inheritance for `aosp_caiman`, and
`aosp_caiman_fullmte`.

This change adds a common layer of inheritance for non-factory
products (caiman_generic.mk). This makes it easier to configure
factory and non-factory products differently.

Non-factory `caiman` products now inherits from
`device/google/caimito/caiman_generic.mk` which inherit from
`device/google/caimito/device-caiman.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 336452008
Bug: 336707436
Test: lunch aosp_caiman-trunk_staging-userdebug && m
      lunch aosp_caiman_fullmte-trunk_staging-userdebug && m

Change-Id: Idc9c0e6862f10e2b2543637804af588b382395d9
2024-04-26 07:57:51 +00:00
Nelson Li
c2a63a8e0b Refactor product inheritance for komodo products
Add an additional layer of inheritance for `aosp_komodo`, and
`aosp_komodo_fullmte`.

This change adds a common layer of inheritance for non-factory
products (komodo_generic.mk). This makes it easier to configure
factory and non-factory products differently.

Non-factory `komodo` products now inherits from
`device/google/caimito/komodo_generic.mk` which inherit from
`device/google/caimito/device-komodo.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 336452008
Bug: 336707135
Test: lunch aosp_komodo-trunk_staging-userdebug && m
      lunch aosp_komodo_fullmte-trunk_staging-userdebug && m

Change-Id: I670082760bc6775f18b6f235b9e7c981d3649688
2024-04-26 07:39:32 +00:00
Nelson Li
631904912e Refactor product inheritance for ripcurrentpro products
Add an additional layer of inheritance for `aosp_ripcurrentpro`, and
`aosp_ripcurrentpro_fullmte`.

This change adds a common layer of inheritance for non-factory
products (ripcurrentpro_generic.mk). This makes it easier to configure
factory and non-factory products differently.

Non-factory `ripcurrentpro` products now inherits from
`device/google/caimito/ripcurrentpro_generic.mk` which inherit from
`device/google/caimito/device-ripcurrentpro.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 336452008
Bug: 336706040
Test: lunch aosp_ripcurrentpro-trunk_staging-userdebug && m
      lunch aosp_ripcurrentpro_fullmte-trunk_staging-userdebug && m

Change-Id: I852a670a40846722274e2232e390d2ce4235bb6c
2024-04-26 07:21:19 +00:00
Treehugger Robot
a9d1ff49b1 Merge "thermal: fix thermal config typo" into 24D1-dev am: b086079cb4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27112333

Change-Id: I84331ca6407001757e60e298d5c872557b4d2369
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 06:20:08 +00:00
Treehugger Robot
b086079cb4 Merge "thermal: fix thermal config typo" into 24D1-dev 2024-04-26 05:56:46 +00:00
Treehugger Robot
45aae62864 Merge "[P24] remove Thread HAL service" into main 2024-04-26 05:48:49 +00:00
shihchienc
867521c482 [P24] remove Thread HAL service
as thread software is not POR of p24 on TA, remove thread hal service
here. will put it back once change goes into p24 branch.

Bug: 333516795
Test: manual flash and check if thread hal service exists by adb shell
ps |grep "thread_network"

Change-Id: I83c34ab6e44be593d25bb29e883e6e00b967589d
2024-04-26 04:51:43 +00:00
Treehugger Robot
8ab79fd705 Merge "Set big core to cpu skip mask by default" into 24D1-dev am: 5c92151009
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/26875089

Change-Id: Ic8e31a313e8a1b93718113fc1ca3d169712dd227
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 04:32:14 +00:00
Treehugger Robot
5c92151009 Merge "Set big core to cpu skip mask by default" into 24D1-dev 2024-04-26 04:14:05 +00:00
Thomas Girardier
3e60c52003 Merge "Revert "[Bluetooth] Disable BT auto on feature"" into main 2024-04-26 04:03:00 +00:00
Treehugger Robot
05cbb24496 Merge "Adpf:caimito: revert heuristic boost triggering condition." into 24D1-dev am: 4c7c69f0e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27103268

Change-Id: I92ba1771466ddbd92c6ddc47cb82646ebbdfa2ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 03:02:16 +00:00
Jikai Ma
878c5bad5c thermal: fix thermal config typo
Bug: 337094450
Test: side loaded to device and successfully start thermal service.
Change-Id: Ied79a83d5c0e9d4c9393ffa4ef550b382b7b79e1
2024-04-25 19:57:19 -07:00
Treehugger Robot
4c7c69f0e3 Merge "Adpf:caimito: revert heuristic boost triggering condition." into 24D1-dev 2024-04-26 02:42:19 +00:00
Peter (YM)
681064ae17 thermal: use frequency to define hard limit and cdev ceiling
Test: Boot to home and flash on device
Bug: 330780045
Change-Id: I428e14f354a5897601cbcaf8f7bbbeb6a0cc5d8f
Signed-off-by: Peter (YM) <peterym@google.com>
2024-04-26 02:38:45 +00:00
Yadong Xu
baf9f99098 Merge "Fix face auth powerhint for face unlock boost" into 24D1-dev am: 5b49713231
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27006675

Change-Id: I23d123533be2c545f542e87c4f7e3fc2b2fa82c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 00:38:05 +00:00
Yadong Xu
5b49713231 Merge "Fix face auth powerhint for face unlock boost" into 24D1-dev 2024-04-26 00:18:11 +00:00
Yadong Xu
71395ffb99 Fix face auth powerhint for face unlock boost
Test: Not required.

Fixed:335714087

Change-Id: I2f19bd4df763a6665762d67c3df66d444805e5a4
2024-04-26 00:17:54 +00:00
guibing
2ea470d49a Adpf:caimito: revert heuristic boost triggering condition.
This reverts previous JankCheckTimeFactor from 1.43 to 1.2.

Since the current reported duration doesn't include the GPU
part, the JankCheckTimeFactor needs to be smaller for matching
jank frame detection.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.Ipower/default;
      check adpf sessions' traces.
Change-Id: I36ab5e699187650011a91a2c0814c33e62e4e125
2024-04-25 22:52:05 +00:00
Thomas Girardier
3b8c06c9d3 Revert "[Bluetooth] Disable BT auto on feature"
This reverts commit 6843e6c008.

Reason for revert: Auto On has been approved for 24Q3

Change-Id: Ibbcd4ac49d7aa2844a92b8a7cbdbcc8fb42208c7
2024-04-25 16:22:05 +00:00
Chaohui Wang
e229aee49e [P24] Implement Final MIC e-label for Japan Dogfood am: 8b9a13f1c8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27095936

Change-Id: I127d70bd6a12199bc764272fcd4a8f3a1c602ef5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 09:09:53 +00:00
Chaohui Wang
8b9a13f1c8 [P24] Implement Final MIC e-label for Japan Dogfood
Bug: 317147035
Test: visual
Change-Id: I6626a9666a15b65c6aa9cf1c6f0b0445a0dca43f
2024-04-25 13:31:26 +08:00
Sam Ou
be6325ee63 Merge "bm: config: add quick save br_stats and deglitch ms" into 24D1-dev am: 12f0ba7641
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27052635

Change-Id: Ice24557e3059e14801046db181ad764582a8e179
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-25 02:51:05 +00:00
Sam Ou
12f0ba7641 Merge "bm: config: add quick save br_stats and deglitch ms" into 24D1-dev 2024-04-25 02:33:57 +00:00
Ali K. Zadeh
9c39373a33 Disable CDPreferIdle, set DSUMin to 610MHz for 60fps
With MulticamRoutingNode on RT, the performance is no longer impacted by
having CDPreferIdle disabled. Additionally, this CL reduces DSUMin to
610MHz, saving overall up to 50mW in CPU power.

Test: 1080p60: https://docs.google.com/spreadsheets/d/1KoMO-hFl8t5KxLOWTn9eGSEXJqMVhDh4PRgn94_aTfk/edit?usp=sharing&resourcekey=0-DnXRxfkqmKNE8Cbh664inA
Test: 4k60: https://docs.google.com/spreadsheets/d/1PntdXFCyBL4H3kswAoIRota-FGbqSHXRZCQP3opnuj8/edit?usp=sharing&resourcekey=0--wdtPAqsz2XbsHQq67rgeg
Bug: 334945465
Bug: 304536786
Change-Id: Ic1d24975c01c65f8495a26ad9b29c97efed85ee1
2024-04-24 22:38:19 +00:00
Treehugger Robot
ebf0a11896 Merge "gps: Update GNSS FW 4.15.1_5_P4 with config change for P24" into 24D1-dev am: 06a5da28a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27064797

Change-Id: I9f87d8432efe11fde11a8e8b81084717a8ada3c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 13:16:47 +00:00
Treehugger Robot
06a5da28a3 Merge "gps: Update GNSS FW 4.15.1_5_P4 with config change for P24" into 24D1-dev 2024-04-24 13:05:28 +00:00
Treehugger Robot
4c6d5a0a96 [automerger skipped] Merge "Add antenna position coordinates" into 24D1-dev am: 3683771691 -s ours
am skip reason: Merged-In Ifc002eb234cf5df8b0fcbc7a78f2790fdd98496b with SHA-1 ec40c5c2e9 is already in history

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

Change-Id: Ic0b631b9bbce9a5b9b005cbe392670ea95a8e121
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 09:31:56 +00:00