Commit graph

1478 commits

Author SHA1 Message Date
Ali K. Zadeh
7563d4d627 Merge "Change PMU_BIG_LIMIT_FREQUENCY of 1298MHz to 1396MHz" into 24D1-dev 2024-05-02 00:49:03 +00:00
Treehugger Robot
7e25ebcdca Merge "Convert p24_common/preloaded_nanoapps.json's .mk file to Android.bp." into main 2024-05-01 11:43:27 +00:00
Treehugger Robot
64a2084474 [automerger skipped] Merge "[P24] remove Thread HAL service" into 24D1-dev am: 50d2756cae -s ours
am skip reason: Merged-In I83c34ab6e44be593d25bb29e883e6e00b967589d with SHA-1 867521c482 is already in history

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

Change-Id: I1ed43e0813abbb291f539152bb6d4434740c9564
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-01 10:30:00 +00:00
shihchienc
6ac1f6142a [automerger skipped] [P24] remove Thread HAL service am: 6a7042decf -s ours
am skip reason: Merged-In I83c34ab6e44be593d25bb29e883e6e00b967589d with SHA-1 867521c482 is already in history

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

Change-Id: I5c9d9304c672be6ae6cd6a2d97ae76c49bbf454c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-01 10:29:55 +00:00
Treehugger Robot
50d2756cae Merge "[P24] remove Thread HAL service" into 24D1-dev 2024-05-01 10:13:57 +00:00
Jikai Ma
6cd3b02b7a thermal: update legacy formula with DVT test data am: e27cfe4bb8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27166098

Change-Id: I8cc64560550f3c23e5453e87ac658340b85be960
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-01 01:50:32 +00:00
Jikai Ma
e27cfe4bb8 thermal: update legacy formula with DVT test data
Bug: 320714468

Test: side load to device and successfully start thermal hal service.
Change-Id: I8189d7d7c94d590cc06ac82893d6b3dfd730585a
Signed-off-by: Jikai Ma <jikai@google.com>
2024-05-01 01:11:26 +00:00
Treehugger Robot
6f3b88fabd Merge "Add POWER_EFFICIENCY uclamp max to adpf config" into 24D1-dev am: dba4c9beb1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27160429

Change-Id: I0de65b01398996e3623037c19a54382bbc5753d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 19:25:26 +00:00
Treehugger Robot
dba4c9beb1 Merge "Add POWER_EFFICIENCY uclamp max to adpf config" into 24D1-dev 2024-04-30 19:07:56 +00:00
Albert Chen
f878d8bcb6 Merge "Fix missing QfpCalibration on userdebug builds" into 24D1-dev am: a6ab3f6d4a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27122343

Change-Id: I83f1b9375199a6dd61dd4bcb5fb9400f4f407a24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 18:10:26 +00:00
Albert Chen
a6ab3f6d4a Merge "Fix missing QfpCalibration on userdebug builds" into 24D1-dev 2024-04-30 17:52:10 +00:00
Matt Buckley
4a19787592 Add POWER_EFFICIENCY uclamp max to adpf config
Add the "UclampMax_EfficientBase" value to the ADPF config in the
powerhint.json to specify efficient core scheduling in the static
case, and "UclampMax_EfficientOffset" for the dynamic case, for this
device.

Bug: 277285195
Test: manual
Change-Id: If377f6384a1a7863abf80f0a4a0cf0fe3074ec21
2024-04-30 16:54:35 +00:00
vincenttew
cd43eae838 audio: remove non-supported analog headset
Bug: 329470379
Change-Id: Id63337a22b584e044e15a36fda34c5cdea9282af
Signed-off-by: vincenttew <vincenttew@google.com>
2024-04-30 18:24:53 +08:00
Nelson Li
33473b8486 Convert p24_common/preloaded_nanoapps.json's .mk file to Android.bp.
p24_common includes 5 devices.

Since `preloaded_nanoapps.json` has different configurations for
`factory` products and `non-factory` products, `soong_namespace {}`
needs to be added to the converted Android.bp file to avoid misuse.

Additionally, due to ag/27080050, ag/27081111, ag/27095942, ag/27095945
ag/27095945, ag/27138057, ag/27138236, a common inheritance layer has
been added to all `non-factory` products. Therefore, setting different
`PRODUCT_SOONG_NAMESPACES` in the corresponding `<DEVICE>_generic.mk`
and `factory_<DEVICE>.mk` files will allow factory products and
non-factory products to use different preloaded_nanoapps.json.

Bug: 336452008
Test: 1. lunch <device_name>-trunk_staging-userdebug && \
         m -j preloaded_nanoapps.json
      2. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
         It should be the <device_name> version.
      3. lunch factory_<device_name>-trunk_staging-userdebug && \
         m -j preloaded_nanoapps.json
      4. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
         It should be the factory version.
Change-Id: I44832b1862da9c000a7baf20ea9d6e4874ed9c54
2024-04-30 07:52:12 +00:00
Treehugger Robot
f52d88caf5 Merge "Refactor product inheritance for tokay products" into main 2024-04-30 05:39:30 +00:00
Treehugger Robot
51acf29fde Merge "Refactor product inheritance for caiman products" into main 2024-04-30 05:39:26 +00:00
Benson Li
a9af1a2b48 Add system property for concurrent encryption on LE and BR/EDR
Bug: 330704060
Change-Id: Idd154d27dedbb15262a4ce4d478fedaa6748b40f
Merged-In: Idd154d27dedbb15262a4ce4d478fedaa6748b40f
Test: make
(cherry picked from commit ca94ed1a3d)
2024-04-30 05:37:56 +00:00
Treehugger Robot
ca3f9e66de Merge "Refactor product inheritance for komodo products" into main 2024-04-30 05:37:45 +00:00
Treehugger Robot
f60203c8d2 Merge "gps: Enable GAAM and disable magnetometer" into 24D1-dev am: ab73d36be4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27150616

Change-Id: Ic89f5d1b6af62f10c8647b0adab89db2fc41a4f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 05:06:08 +00:00
Treehugger Robot
ab73d36be4 Merge "gps: Enable GAAM and disable magnetometer" into 24D1-dev 2024-04-30 04:50:24 +00:00
Sayanna Chandula
59231177a6 thermal: fix typo in thermal config am: dbb9ba6344
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27150336

Change-Id: Ib1874bf1e51f7201bc72d9196408d5a50bc519aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 03:47:06 +00:00
Cheng Chang
8150d89538 gps: Enable GAAM and disable magnetometer
Bug: 337715905
Test: Verified sensor service without magnetometer.
Change-Id: Ib0970f89fcb85b04d4f20e86a4896cb1c532527c
2024-04-30 02:41:25 +00:00
Treehugger Robot
3f96702eca Merge "Add system property for concurrent encryption on LE and BR/EDR" into main 2024-04-30 02:17:21 +00:00
Treehugger Robot
a7f8e39733 Merge "Refactor product inheritance for ripcurrentpro products" into main 2024-04-30 02:15:49 +00:00
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