Commit graph

2998 commits

Author SHA1 Message Date
Vilas Bhat
4604f3b565 16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on shusky targets
Test: source build/envsetup.sh
      lunch aosp_{shiba,husky}-trunk_staging-userdebug
      get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Bug: 310232825
Change-Id: Ib005384c58912f53a3294512a175d1c6fd78dbf6
2024-04-29 21:11:02 +00:00
Matt Buckley
58ab0d9afb Merge "Add POWER_EFFICIENCY uclamp max to adpf config" into main 2024-04-29 19:42:14 +00:00
Treehugger Robot
e48dd856cd Merge "Refactor product inheritance for husky products" into main 2024-04-26 04:44:16 +00:00
Treehugger Robot
7435e756b6 Merge "Refactor product inheritance for shiba products" into main 2024-04-26 04:44:11 +00:00
Treehugger Robot
a4e93ba694 Merge "Refactor product inheritance for ripcurrent products" into main 2024-04-26 04:44:04 +00:00
Thomas Girardier
c4317fe1d0 Merge "Revert "bt: set system property Auto-On to false by default"" into main 2024-04-26 04:02:59 +00:00
Treehugger Robot
9701c27615 Merge "Adpf:shusky: revert heuristic boost triggering condition." into main 2024-04-26 02:42:19 +00:00
Nelson Li
c30b3ddd53 Refactor product inheritance for husky products
Add an additional layer of inheritance for `aosp_husky`,
`aosp_husky_pgagnostic`, and `aosp_husky_fullmte`.

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

Non-factory `husky` products now inherits from
`device/google/shusky/husky_generic.mk` which inherit from
`device/google/shusky/device-husky.mk`.

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

Bug: 332219400
Bug: 335567236
Test: lunch aosp_husky-trunk_staging-userdebug && m
      lunch aosp_husky_pgagnostic-trunk_staging-userdebug && m
      lunch aosp_husky_fullmte-trunk_staging-userdebug && m

Change-Id: Ia4b4c63d12343862655f208cec48995cc2e3a672
2024-04-26 02:02:04 +00:00
Nelson Li
0f85bf8c76 Refactor product inheritance for shiba products
Add an additional layer of inheritance for `aosp_shiba`,
`aosp_shiba_fullmte`, and `aosp_shiba_pgagnostic`.

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

Non-factory `shiba` products now inherits from
`device/google/shusky/shiba_generic.mk` which inherit from
`device/google/shusky/device-shiba.mk`.

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

Bug: 332219400
Bug: 335567293
Test: lunch aosp_shiba-trunk_staging-userdebug && m
      lunch aosp_shiba_fullmte-trunk_staging-userdebug && m
      lunch aosp_shiba_pgagnostic-trunk_staging-userdebug && m

Change-Id: Ib825430eaf56c1395c0d955a4bbc46e5512f14b8
2024-04-26 01:38:22 +00:00
Nelson Li
71e02ec7d9 Refactor product inheritance for ripcurrent products
Add an additional layer of inheritance for `aosp_ripcurrent` and
`aosp_ripcurrent`.

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

non-factory `ripcurrent` products now inherits from
`device/google/shusky/ripcurrent_generic.mk` which inherit from
`device/google/shusky/device-ripcurrent.mk`.

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

Bug: 332219400
Bug: 335564645
Test: lunch factory_ripcurrent-trunk_staging-userdebug && m
      lunch aosp_ripcurrent-trunk_staging-userdebug && m
      lunch aosp_ripcurrent_fullmte-trunk_staging-userdebug && m
Change-Id: Ieb552a075e35215cb027b6d5a91d84168d9e6a45
2024-04-26 01:09:20 +00:00
Ankur Bakshi
515a7dbe70 Merge "Update husky SVN to 27" into main 2024-04-26 00:25:27 +00:00
Ankur Bakshi
39a85a735c Merge "Update husky SVN to 26" into main 2024-04-26 00:25:19 +00:00
Ankur Bakshi
c7f5c0c3d8 Merge "Update shiba SVN to 26" into main 2024-04-26 00:25:05 +00:00
guibing
340d8f1f91 Adpf:shusky: 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: I9c7587b6b1507fae685561fcf008c5ab9ae73532
2024-04-25 22:52:15 +00:00
Thomas Girardier
880e707175 Revert "bt: set system property Auto-On to false by default"
This reverts commit 2ee76c4e8f.

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

Change-Id: I632b92cd1facf4a1548cecaf3c74627d5d7058c5
2024-04-25 16:23:15 +00:00
Treehugger Robot
388f467765 Merge "Switch kernel directory to control by build flag" into main 2024-04-25 08:43:40 +00:00
Randall Huang
8e7bd1260e Switch kernel directory to control by build flag
Bug: 334076212
Test: local build
Change-Id: Ib170f5253fae70f415cc920aa26a911500a69a8b
Signed-off-by: Randall Huang <huangrandall@google.com>
2024-04-25 16:00:36 +08:00
Ankur Bakshi
ad5cbe7e1d Update husky SVN to 27
Bug: 336526332
Change-Id: If58957f829a5e1e7ce3180dcff86a1fc67cb0263
2024-04-25 03:52:00 +00:00
Ankur Bakshi
ee1d0f353a Update shiba SVN to 26
Bug: 336526332
Change-Id: I10f3ff0994ce6c6f15fe73f721aad6ce7408e99b
2024-04-24 19:06:27 +00:00
Ankur Bakshi
18c172a490 Update husky SVN to 26
Bug: 336526332
Change-Id: I9921b837eebe742953ac8d7300d6131bd39e2495
2024-04-24 01:09:29 +00:00
Kyle Hsiao
f3cbfdf2a8 Merge "Enable secure NFC support" into main 2024-04-22 04:01:14 +00:00
Kyle Hsiao
48ee7f3da8 Enable secure NFC support
Bug: 314858460
Test: manual
Change-Id: Id2f3c5963f5027a04ba557b1615d53366552711f
2024-04-22 03:19:58 +00:00
Treehugger Robot
d34ee0e34b Merge "Switch bootloader directory to control by build flag" into main 2024-04-19 06:38:45 +00:00
Treehugger Robot
6358b83b19 Merge "adpf:shusky: update hboost jank check time factor." into main 2024-04-19 02:32:32 +00:00
guibing
01660ca736 adpf:shusky: update hboost jank check time factor.
Update it to align with the HWUI target duration scale factor,
so the adjusted jank check time duration is same as expected frame
timeline's duration.

HWUI target duration scale factor is 70%, and its inverse value is
approximately 1.43.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: I8565fa1352769e6f879ea5fc12412d00f254da3b
2024-04-18 22:52:12 +00:00
Cyan_Hsieh
7e6f1e6cf0 Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: I71813042214ef6407b6389a1f2e57c1ffd84a2f9
2024-04-18 16:27:53 +08:00
Treehugger Robot
ae15605e66 Merge "audio: update opus support format" into main 2024-04-17 18:09:26 +00:00
Poomarin Phloyphisut
9aa8fd6d35 [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: I8d68a7af2605ea0d34baae0bc2dbdee8d5df3c05
2024-04-17 04:16:22 +00:00
Juyu Chen
e442d42a04 audio: update opus support format
Bug: 329872757
Test: cts tests

Change-Id: Ie2dd241a1d104028a0ebacc77efc12b6972e226b
Signed-off-by: Juyu Chen <juyuchen@google.com>
2024-04-16 04:11:12 +00:00
Wei Wang
6ae60dd4b7 Merge "adpf:shusky: add hboost junk detection time factor into power hint json files." into main 2024-04-16 03:50:58 +00:00
Charles Yo
21a104891d Merge "Switch kernel directory to control by build flag" into main 2024-04-16 01:34:48 +00:00
guibing
e6fe682d22 adpf:shusky: add hboost junk detection time factor into power hint json files.
Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: If4c116e172b101eebe8a8b9b539f3a55e4299ca8
2024-04-16 00:17:11 +00:00
Treehugger Robot
6fdf23cbf2 Merge "shusky: Add heuristic boost configs in power hint json files." into main 2024-04-13 01:33:50 +00:00
guibing
97c7f4861e shusky: Add heuristic boost configs in power hint json files.
Bug: 204204746
Test: Power hal launches in device without configuration parsing issue.
Change-Id: I5f85f88699b468f2c5e0af05dcea0bfa3fba56d2
2024-04-12 23:29:12 +00:00
Cyan_Hsieh
38562b32f8 Switch kernel directory to control by build flag
Bug: 309749142
Change-Id: If82fdbbd87cccba0763479e075289efd739e7e34
2024-04-12 18:35:02 +08:00
Juan Yescas
bba25ed8e0 16kb: 16kb: Remove shusky pg agnostic am: 10c2808197 am: 5f2657e2a9
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3039896

Change-Id: I9b3c8446a9f06ffda4a7c5b7343e206682f276f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 02:11:07 +00:00
Juan Yescas
5f2657e2a9 16kb: 16kb: Remove shusky pg agnostic am: 10c2808197
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3039896

Change-Id: I37952534c56c6f71f528bd05f271ea3d9d7a9520
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 01:54:59 +00:00
Juan Yescas
10c2808197 16kb: 16kb: Remove shusky pg agnostic
Bug: 306537850
Test: N/A
Change-Id: I972e4bf8c94798dd253a4bfb3ea68be854110f07
2024-04-11 18:02:31 -07:00
Juan Yescas
f12ccd275e 16kb: Remove the pg agnostic targets for 6.1 kernels
Bug: 306537850
Test: Build targets manually
Change-Id: I46f8d6872c67c8e8dc34684ea45f9b3c7a04d431
2024-04-11 12:38:05 -07:00
Wei Wang
4e843ce35f Merge "Disable auto prefer idle explictly for some conditions" into main 2024-04-11 16:19:20 +00:00
Rick Yiu
bfb341fb00 Disable auto prefer idle explictly for some conditions
In auto prefer idle mode, a task in top-app will be granted prefer
idle if it satisfied the conditions. So turn auto prefer idle off
if top-app prefer_idle is explictly disabled. Also turn auto prefer
off when other group enables prefer_idle explictly.

Bug: 236868627
Test: build pass
Change-Id: Id0dc5bda64686826f72aad4549b8edcb1ceb4502
2024-04-11 14:05:00 +00:00
Limon Mia
2ee76c4e8f bt: set system property Auto-On to false by default
Bug: 333829874
Test: build & install & adb getprop
Change-Id: I8b28b547113a7e3e303e4992956ea2c1264339e6
2024-04-11 06:54:17 +00:00
Treehugger Robot
745091a821 Merge "powerhint.json: enable gpu capacity signalling." into main 2024-04-10 19:31:11 +00:00
Jimmy Shiu
d51ff23214 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values am: a928cbb681
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/26902700

Change-Id: I3edaf8ffc84231ec5c188ce1ed07791c04f087f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 16:37:22 +00:00
Jimmy Shiu
a928cbb681 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: Manual Test
Change-Id: I2b4be8ee1d4f8a91196478d7b3c898f236365dff
2024-04-10 11:45:10 +00:00
Kevin DuBois
fe02aeed6d powerhint.json: enable gpu capacity signalling.
Enables a signal indicating that the app has janked as
detected by the ADPF API.

Bug: 290625326
Test: perf / power tests

Change-Id: Iaf0f131cab90e4225642af243303473f56a34320
2024-04-08 11:27:12 -07:00
Ankur Bakshi
2c982ee612 Merge changes from topic "svn-set-3" into main
* changes:
  Update shiba SVN to 25
  Update shiba SVN to 24
2024-04-05 02:13:25 +00:00
Ankur Bakshi
db65aea9d1 Merge changes from topic "svn-set-3" into main
* changes:
  Update husky SVN to 25
  Update husky SVN to 24
2024-04-05 02:13:25 +00:00
Treehugger Robot
a98c8d14d5 Merge "display: low-light blocking zone support" into 24D1-dev am: fabf38556b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/26801409

Change-Id: I5886c8ba7eb4ba15e0e86e55bbfa3a3ffa86cb64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-04 03:27:45 +00:00
Treehugger Robot
fabf38556b Merge "display: low-light blocking zone support" into 24D1-dev 2024-04-04 02:46:42 +00:00