Commit graph

1923 commits

Author SHA1 Message Date
Ankur Bakshi
f739c25468 Merge "Update Akita SVN to 10" into main 2024-04-26 12:43:59 +00:00
Nelson Li
3d903d28ad Convert p23_common/preloaded_nanoapps.json's .mk file to Android.bp.
p23_common includes 4 devices: `ripcurrent`, `shiba`, `husky`, and
`akita`.

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/27008138, ag/27046793, ag/27008143, and
ag/27056982, 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: 332219400
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: Ib33c71773617f7a20b3af982f6140f8f8da0ced4
2024-04-26 06:36:07 +00:00
Thomas Girardier
ef8eac078c Merge "Revert "[BT] Disable BT auto on"" into main 2024-04-26 04:02:59 +00:00
Treehugger Robot
972879ad9b Merge "Refactor product inheritance for akita products" into main 2024-04-26 04:02:19 +00:00
Treehugger Robot
98c88426bf Merge "Adpf:akita: revert heuristic boost triggering condition." into main 2024-04-26 02:42:19 +00:00
Nelson Li
b518294be1 Refactor product inheritance for akita products
Add an additional layer of inheritance for `aosp_akita`, and
`aosp_akita_fullmte`.

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

Non-factory `akita` products now inherits from
`device/google/akita/akita_generic.mk` which inherit from
`device/google/akita/device-akita.mk`.

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

Bug: 332219400
Bug: 335565718
Test: lunch aosp_akita-trunk_staging-userdebug && m
      lunch aosp_akita_fullmte-trunk_staging-userdebug && m

Change-Id: Id98e494f8262e0dfe76349369d2e5c0c34eaaa2b
2024-04-26 02:36:28 +00:00
Android Build Coastguard Worker
485f5a12b1 Snap for 11766482 from 8bb99b0451 to 24Q3-release
Change-Id: I5e0c70b63559d4afb7d87f165a24e2a7935356fa
2024-04-25 23:01:22 +00:00
guibing
1dc6a9f589 Adpf:akita: 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: Ia90372cf08ddc31bfa527553b81e78084ac73f48
2024-04-25 22:51:37 +00:00
Thomas Girardier
2a81201051 Revert "[BT] Disable BT auto on"
This reverts commit 12a88bd045.

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

Change-Id: Ie08238680e2dda30345a5c289b5080e20c674862
2024-04-25 16:22:32 +00:00
Edwin Tung
8bb99b0451 gps: update gps 4.13.2_8
Extend buffer size inside SIT API sitGpsSuplLppPrsInfoSet for larger messages
Provide the option of ignoring SUPL_INIT altogether for testing purposes

Bug: 321191652

Test: b/335776551
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: Ifa5a6fe4393e7a3a4cb16aff2a09322903f9b78c
2024-04-25 08:50:50 +00:00
Android Build Coastguard Worker
b6da1854a5 Snap for 11753769 from c02917b1ca to 24Q3-release
Change-Id: I04b26fad03a08d1bbccba2999b6d986b7abac32e
2024-04-23 23:01:51 +00:00
Ankur Bakshi
dfdf978353 Update Akita SVN to 10
Bug: 336526332
Change-Id: I4edbb23d8fbc5e8d470902447b20f656b54f1c35
2024-04-23 15:30:05 +00:00
Treehugger Robot
c02917b1ca Merge "gps: update gps 4.13.2_7" into main 2024-04-23 01:27:05 +00:00
Android Build Coastguard Worker
2f1060eea9 Snap for 11746631 from d636aef04c to 24Q3-release
Change-Id: I45b1a2a0124cca9f86a0cb41c4c9900497c61172
2024-04-22 23:01:15 +00:00
Android Build Coastguard Worker
0bcc62a3bd Merge cherrypicks of ['googleplex-android-review.googlesource.com/26922141'] into 24Q2-release.
Change-Id: I9cc859f87fb2eef3d8907f25728c9375167e5e32
2024-04-22 17:13:25 +00:00
Clint Chen
8cac5f64ab Enable build flag versioning for radio
Bug:333678577
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cf356ea39c04e694ae2947af8f7614d9fc446eb6)
Merged-In: I9b7c83ab2f0278ae09f171ce47f398ee2cc82eb2
Change-Id: I9b7c83ab2f0278ae09f171ce47f398ee2cc82eb2
2024-04-22 17:07:50 +00:00
Treehugger Robot
d636aef04c Merge "gps: Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET" into main 2024-04-22 06:48:25 +00:00
Android Build Coastguard Worker
fd4e319453 Snap for 11740859 from 6d72feab29 to 24Q3-release
Change-Id: I000c9cced1b55b5bacbcdf71c0889980f60da85e
2024-04-20 01:01:18 +00:00
Treehugger Robot
6d72feab29 Merge "Switch bootloader directory to control by build flag" into main 2024-04-19 06:38:46 +00:00
Edwin Tung
a830dda071 gps: Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET
Disabling RILC_REQ_GPS_GNSS_LPP_PROFILE_SET

Bug: 317209136
Test: Gnss Sanity test pass
Change-Id: Ibe08a25eadaaccc167066ca9c877f2ffbc04888c
2024-04-19 13:39:09 +08:00
Treehugger Robot
95584ee8c9 Merge "adpf:akita: update hboost jank check time factor." into main 2024-04-19 02:32:32 +00:00
guibing
cbeff97fef adpf:akita: 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: Ia5b1090d54cd5b8c9490813a8ba74532a50f2b8a
2024-04-18 22:54:09 +00:00
Cyan_Hsieh
da4e047520 Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: I895a1492c7215334e992e39f6fbf6e612ea140cd
2024-04-18 16:47:01 +08:00
Android Build Coastguard Worker
722559205c Snap for 11728787 from d522a7d1e6 to 24Q3-release
Change-Id: I434c7555df43b5f297c4ca30bc9c96eaa74222db
2024-04-17 23:02:42 +00:00
Android Build Coastguard Worker
a7207aed4d Snap for 11722130 from 80b97eb058 to 24Q3-release
Change-Id: I6f1db338aa20af71d031be1e97cd088235286aac
2024-04-16 23:01:36 +00:00
Benson Li
40dcd72a81 Add system property for concurrent encryption on LE and BR/EDR
Bug: 330704060
Change-Id: Iec3a8395031a4d837f11a960216a6e76aa339c7a
Test: make
2024-04-16 05:51:56 +00:00
Juyu Chen
d522a7d1e6 audio: update opus support format
Bug: 329872757
Test: cts tests
Change-Id: I3f83b1afa740dfec3a80b2c488900455d3f9420f
Signed-off-by: Juyu Chen <juyuchen@google.com>
2024-04-16 04:05:41 +00:00
Wei Wang
80b97eb058 Merge "adpf:akita: add hboost junk detection time factor into power hint json files." into main 2024-04-16 03:50:58 +00:00
Charles Yo
d5ad12acf5 Merge "Switch default kernel directory and change build flag naming" into main 2024-04-16 01:34:49 +00:00
guibing
2d10d8f4c3 adpf:akita: 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: I702d835376123985bd042e5d42180eb5558226ff
2024-04-16 00:12:16 +00:00
Android Build Coastguard Worker
38baf389a8 Snap for 11712589 from 174082bf11 to 24Q3-release
Change-Id: Ic22123720d832d0b252a8b3cffbe8079f7fac3da
2024-04-13 21:01:08 +00:00
Treehugger Robot
174082bf11 Merge "akita: Add heuristic boost configs in power hint json files." into main 2024-04-13 01:33:50 +00:00
Clint Chen
2303ee5e84 Merge "Enable build flag versioning for radio" into main 2024-04-13 01:24:31 +00:00
guibing
8783aa3573 akita: Add heuristic boost configs in power hint json files.
Bug: 204204746
Test: Power hal launches in device without configuration parsing issue.
Change-Id: I04a43fab7f866ed4aa516f7b538cb39e7b1942a7
2024-04-12 23:02:11 +00:00
Cyan_Hsieh
02b6cd4d38 Switch default kernel directory and change build flag naming
Bug: 309749142
Change-Id: I3af9d15d38631fbaf854a9d13efe96bb42a81b52
2024-04-12 17:33:47 +08:00
Android Build Coastguard Worker
7d0c64e4a7 Snap for 11704135 from 87bf047646 to 24Q3-release
Change-Id: I6376fa9ab3e0064d6dba705987d86e09066322e4
2024-04-11 23:01:20 +00:00
Wei Wang
87bf047646 Merge "Disable auto prefer idle explictly for some conditions" into main 2024-04-11 16:19:03 +00:00
Clint Chen
cf356ea39c Enable build flag versioning for radio
Bug:333678577
Change-Id: I9b7c83ab2f0278ae09f171ce47f398ee2cc82eb2
2024-04-11 11:09:37 +00:00
Tom Huang
e062b97532 Merge "[BT] Disable BT auto on" into main 2024-04-11 08:07:56 +00:00
Rick Yiu
290188c349 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: I539c3e65720e3496859bce9a752d13432b62a59a
2024-04-11 07:57:11 +00:00
kuanyuhuang
12a88bd045 [BT] Disable BT auto on
Bug: 333830110
Test: build and check system property
Change-Id: I38c6ee0f7aa76b4f8e00ae700a2686a7dcb86fcc
2024-04-11 06:35:22 +00:00
Android Build Coastguard Worker
473b0b2452 Snap for 11697857 from 81f54c3c80 to 24Q3-release
Change-Id: I47b01b0ff0b838fa90725287f808078a1aa50afe
2024-04-10 23:01:16 +00:00
Treehugger Robot
81f54c3c80 Merge "powerhint.json: enable gpu capacity signalling." into main 2024-04-10 19:31:10 +00:00
Ankur Bakshi
58e78e1e9f Merge "Update Akita SVN to 9" into main 2024-04-10 02:20:06 +00:00
Android Build Coastguard Worker
0bd5666010 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26848777', 'googleplex-android-review.googlesource.com/26848778', 'googleplex-android-review.googlesource.com/26890937'] into 24Q2-release.
Change-Id: I3a5fd85a959c4c98a15f2bf82a8f968fcfa3cb2a
2024-04-09 18:04:03 +00:00
Ankur Bakshi
bb8391fbcd Update Akita SVN to 9
Bug: 330382848
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ebd75fde22955f4655b32473d323a1bc939dd568)
Merged-In: I5b1e74d710ce6211f1fe1b67cb59b9b4837ab6f9
Change-Id: I5b1e74d710ce6211f1fe1b67cb59b9b4837ab6f9
2024-04-09 18:02:34 +00:00
Cyan_Hsieh
6b7fb29dae Update Akita SVN to 8
Bug: 325984251
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bf23011f27925bbac6f1106045c46e90f934b46e)
Merged-In: I1045994dad8112ab07b341cce6474d2f07a3c66d
Change-Id: I1045994dad8112ab07b341cce6474d2f07a3c66d
2024-04-09 18:02:21 +00:00
Cyan_Hsieh
a64f9b2c01 Update Akita SVN to 7
Bug: 325984251
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b48319f3783931c60384351c629cabd68cdb6b92)
Merged-In: Ifa6fcf862ec5cbd01a8e46571634f0dddee406ea
Change-Id: Ifa6fcf862ec5cbd01a8e46571634f0dddee406ea
2024-04-09 18:02:05 +00:00
Ankur Bakshi
ebd75fde22 Update Akita SVN to 9
Bug: 330382848
Change-Id: I5b1e74d710ce6211f1fe1b67cb59b9b4837ab6f9
2024-04-09 14:13:03 +00:00
Edwin Tung
cf48db5512 gps: update gps 4.13.2_7
Prioritize sending position response in HM
Set CHPP BETP batching nav cycle state to false during unexpected HM_GNSSMain
CHPP BETP Batching Improvements
Add logging for pos resp latency measurement
Handle RTC 32bit rollover for RTC time aiding on Host side
Host should get RTC frequency just once
Report engine status on modem crash/reset/Report GNSS stop status early
fix precise time retry assert
Reduce GNSS startup wait-for-CP time
Provide configuration to toggle ril libraries
Cleanup Coverity warnings, wrong dates, units

Bug: 320565299
Bug: 313128858
Bug: 329012293
Bug: 318809134
Bug: 301029126
Bug: 330911260
Bug: 330911260
Bug: 312855779

Test: b/333463720
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I71ddb56aa41fad4612e564adb67c439cf4dea6e7
2024-04-09 09:12:24 +08:00