Commit graph

1282 commits

Author SHA1 Message Date
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
Kyle Hsiao
fa53e1e7e3 [automerger skipped] Add antenna position coordinates am: c9ea059e76 -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: Idd4d448796664c5f97859aa4680236a3627c0555
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 09:31:53 +00:00
Treehugger Robot
3683771691 Merge "Add antenna position coordinates" into 24D1-dev 2024-04-24 09:15:22 +00:00
samou
aaddc6d97e bm: config: add quick save br_stats and deglitch ms
Bug: 336215786
Change-Id: I0c8548e84e08f0106b2a88f6afadba0dc1021bcc
Signed-off-by: samou <samou@google.com>
2024-04-24 06:58:26 +00:00
James Huang
abf6f68528 gps: Update GNSS FW 4.15.1_5_P4 with config change for P24
Add Chip_Configuration_FeatureCfg_MTPL = 0 to disable MTPL

Bug: 336179125
Test: CTS/VTS, GNSS sanity test and SST in b/336424148
Change-Id: I56c9859a13dba388321b499d11e16cd4ec2bf56e
2024-04-24 12:01:10 +08:00
Shinru Han
d3269be0fc Merge "Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET" into 24D1-dev am: a792368a2a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27008220

Change-Id: Ia35b592872a33fac5d7a706f00f20929652ff788
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 01:15:46 +00:00
Shinru Han
2b6ecbc33e [automerger skipped] Merge "gps: update gps makefile" into 24D1-dev am: 3c2cde09f0 -s ours
am skip reason: Merged-In Ib4c9e9251e3d3dbb5b7bdfc24477cdc2e106a5e0 with SHA-1 308b316578 is already in history

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

Change-Id: I5857519592cc19ee473752ef2af78e6cdb6d320f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 01:15:37 +00:00
Shinru Han
bdec45919d [automerger skipped] gps: update gps makefile am: 2b0b39e63e -s ours
am skip reason: Merged-In Ib4c9e9251e3d3dbb5b7bdfc24477cdc2e106a5e0 with SHA-1 308b316578 is already in history

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

Change-Id: Ie4fe020d5ef11b551fde7135aa1acc9a480233c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 01:15:26 +00:00
Shinru Han
a792368a2a Merge "Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET" into 24D1-dev 2024-04-24 00:59:37 +00:00
Shinru Han
3c2cde09f0 Merge "gps: update gps makefile" into 24D1-dev 2024-04-24 00:59:37 +00:00
Taeju Park
04a98d59e4 powerhint: remove lcpi parameter for PMU limit
PMU-based soft freq limit no longer use lcpi parameter

Bug: 295054083
Change-Id: I0d4eb0d90934dcd441e7272292c34cffa533ae25
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-23 20:29:56 +00:00
David Li
36fa0f3094 Merge "audio: change in-call-capture paths and remove unused ctls" into 24D1-dev am: f04d29f270
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27018295

Change-Id: Id63d44a1dfbdebacbc01956d062deb48b0d33241
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 19:38:35 +00:00
David Li
f04d29f270 Merge "audio: change in-call-capture paths and remove unused ctls" into 24D1-dev 2024-04-23 19:21:48 +00:00
John Chang
b2019313f7 [automerger skipped] Merge "display: remove 10 Hz blocking zone" into 24D1-dev am: 528fb87965 -s ours
am skip reason: Merged-In I8ef71536f6cda69c2c55130b7463f5656fde3cee with SHA-1 aac0caa551 is already in history

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

Change-Id: I397b4b27c2f24f14d254d75f82443c1a165e0059
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 17:37:22 +00:00
cweichun
99c3d766b9 [automerger skipped] display: remove 10 Hz blocking zone am: bc2f58551c -s ours
am skip reason: Merged-In I8ef71536f6cda69c2c55130b7463f5656fde3cee with SHA-1 aac0caa551 is already in history

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

Change-Id: I8aef87b32633ea3a42eaa1441d5acbbef61fd439
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 17:37:18 +00:00
John Chang
528fb87965 Merge "display: remove 10 Hz blocking zone" into 24D1-dev 2024-04-23 16:57:02 +00:00
Treehugger Robot
325676eb0f Merge "[Cutout] Make cutout rect approximation intersect with y=0" into 24D1-dev am: 2bdbf60d51
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27056064

Change-Id: I45e0abec40857f5327bf501fbdc00e24d4986114
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 15:40:39 +00:00
Treehugger Robot
2bdbf60d51 Merge "[Cutout] Make cutout rect approximation intersect with y=0" into 24D1-dev 2024-04-23 15:21:01 +00:00
Anton Potapov
65e7eaf5a1 Move volume panel from activity to a dialog.
Flag: aconfig new_volume_panel TRUNKFOOD
Test: manual on phone and tablet. Open and close Volume Panel with x10 animation multiplier.
Bug: 33080852
Change-Id: I54302de39f1096cd9e66c7ca3ebb22d5c97020e4
2024-04-23 15:40:12 +01:00
Treehugger Robot
34f02b3954 Merge "gps: Update SUPL UT1 timer" into 24D1-dev am: 911547e2e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27018113

Change-Id: Ibec88e342198a805edd397388ca5d4dd35189c9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 12:19:36 +00:00
cweichun
bc2f58551c display: remove 10 Hz blocking zone
Bug: 335656648
Test: check blocking zone correctness
Change-Id: I8ef71536f6cda69c2c55130b7463f5656fde3cee
Merged-In: I8ef71536f6cda69c2c55130b7463f5656fde3cee
(cherry picked from commit aac0caa551)
2024-04-23 12:13:17 +00:00
Treehugger Robot
911547e2e4 Merge "gps: Update SUPL UT1 timer" into 24D1-dev 2024-04-23 11:56:57 +00:00
Kyle Hsiao
c9ea059e76 Add antenna position coordinates
Bug: 336231717
Test: manual
Merged-In: Ifc002eb234cf5df8b0fcbc7a78f2790fdd98496b
Change-Id: Ifc002eb234cf5df8b0fcbc7a78f2790fdd98496b
2024-04-23 07:19:55 +00:00