Commit graph

6269 commits

Author SHA1 Message Date
Cyan_Hsieh
43646cd025 Update bootloader pdk folder and soong config
Bug: 333834221
Change-Id: I7272b4b92575a12af8086d0d46d237f4f0674c2b
2024-05-15 14:01:17 +00:00
Cheng Chang
ac3fb0c183 gps: Reduce logging mask
Bug: 267729515
Bug: 312716075
Test: Verification for logging system.
Test: Verification at b/267729515#comment152
Change-Id: I1f32da32f28c3e0f3cf9964485e6569eea5fa0c3
2024-05-13 01:50:53 +00:00
Nelson Li
1413e4537f Convert raven/preloaded_nanoapps.json's .mk file to Android.bp.
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/27170563, 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: 338005353
Test: 1. lunch <product_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: Ie4551fc30c75a401a615a729e651949696117352
2024-05-07 00:51:58 +00:00
Nelson Li
2dd9ebfb37 Convert slider/preloaded_nanoapps.json's .mk file to Android.bp.
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/27170565, ag/27170566, 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: 338332183
Test: 1. lunch <product_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: I97798f0e7876ceb016a31f7da74508fe5a701915
2024-05-06 02:22:05 +00:00
Nelson Li
0b36ca29a6 Refactor product inheritance for raven products
Add an additional layer of inheritance for `aosp_raven`,
`aosp_raven_64`, `aosp_raven_pkvm`, `aosp_raven_pgagnostic_64`,
`aosp_raven_hwasan`, and `aosp_raven_61`.

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

Non-factory `raven` products now inherits from
`device/google/raviole/raven_generic.mk` which inherit from
`device/google/raviole/device-raven.mk`.

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

Bug: 338005353
Test: lunch aosp_raven-trunk_staging-userdebug && m
      lunch aosp_raven_64-trunk_staging-userdebug && m
      lunch aosp_raven_pkvm-trunk_staging-userdebug && m
      lunch aosp_raven_pgagnostic_64-trunk_staging-userdebug && m
      lunch aosp_raven_hwasan-trunk_staging-userdebug && m
      lunch aosp_raven_61-trunk_staging-userdebug && m
Change-Id: Id5faed5a4be4c6480ee64654203d7f7e840c5c23
2024-05-06 01:10:49 +00:00
Qian-Hao Huang
2a09185780 Load fips140.ko before all other kernel modules
Bug: 337838109
Bug: 331791671
Change-Id: I4186255ad1b9baccf4f2c1e65560515aa6dc42a2
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-05-03 07:03:18 +00:00
Nelson Li
89304e99bb Refactor product inheritance for whitefin products
Add an additional layer of inheritance for `aosp_whitefin`,
`aosp_whitefin_64`, `aosp_whitefin_pkvm`, and `aosp_whitefin_hwasan`.

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

Non-factory `whitefin` products now inherits from
`device/google/raviole/whitefin_generic.mk` which inherit from
`device/google/raviole/device-whitefin.mk`.

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

Bug: 338332183
Bug: 338332464
Test: lunch aosp_whitefin-trunk_staging-userdebug && m
      lunch aosp_whitefin_64-trunk_staging-userdebug && m
      lunch aosp_whitefin_pkvm-trunk_staging-userdebug && m
      lunch aosp_whitefin_hwasan-trunk_staging-userdebug && m
Change-Id: I151d3e59141e566fad54f62ac01ab4372522fd5f
2024-05-03 00:53:24 +00:00
Nelson Li
4d90bc1647 Refactor product inheritance for slider products
Add an additional layer of inheritance for `aosp_slider`,
`full_slider`, and `aosp_slider_hwasan`.

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

Non-factory `slider` products now inherits from
`device/google/raviole/slider_generic.mk` which inherit from
`device/google/raviole/device-slider.mk`.

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

Bug: 338332183
Bug: 338333277
Test: lunch aosp_slider-trunk_staging-userdebug && m
      lunch full_slider-trunk_staging-userdebug && m
      lunch aosp_slider_hwasan-trunk_staging-userdebug && m
Change-Id: If0bbcdf2d4de3c2eca14e514b863f7416ef12e45
2024-05-02 07:30:50 +00:00
Juan Yescas
0ee0ed9661 16kb: Set platform elf alignment to 16kb for raviole targets am: d568b025b3 am: 479cbee36e
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/3063575

Change-Id: I1f10a95108f2a5e608278745fc9e2c23f5b64cfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 21:38:22 +00:00
Juan Yescas
479cbee36e 16kb: Set platform elf alignment to 16kb for raviole targets am: d568b025b3
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/3063575

Change-Id: I07efc06edc51c699ed0f618d5c33a256842d55c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 21:19:30 +00:00
Matt Buckley
5e29ddf52b Add POWER_EFFICIENCY uclamp max to adpf config
Add the "UclampMax_Efficient" value to the ADPF config in the
powerhint.json in order to allow efficient core scheduling for this
device.

Bug: 277285195
Test: manual
Change-Id: I3435eb6fce99afe732623dec813311a19623fde6
2024-04-29 19:42:06 +00:00
Wei Li
b26532f95e Move license metadata declarations to meta-lic.mk and remove the Android.mk file. am: 87ab726d0f am: f46d0c27e5
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/3063227

Change-Id: Id660544670d348e03f73aad1a4b3a7368fae1941
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 19:06:07 +00:00
Wei Li
f46d0c27e5 Move license metadata declarations to meta-lic.mk and remove the Android.mk file. am: 87ab726d0f
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/3063227

Change-Id: I2d4d47dfb0608dd5e95011cc75a9571d11f13505
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 18:49:13 +00:00
Juan Yescas
d568b025b3 16kb: Set platform elf alignment to 16kb for raviole targets
Test: source build/envsetup.sh
      lunch aosp_raven_pgagnostic-trunk-userdebug
      m
Bug: 310232825
Change-Id: I9c62dcb94bc01dc7f3b76da7d8c9bb1c18ea6a2a
2024-04-29 11:35:23 -07:00
Wei Li
87ab726d0f Move license metadata declarations to meta-lic.mk and remove the Android.mk file.
Bug: 311522698
Test: CIs
Change-Id: Id7daef4f9a9b0e95764493a5336ec6c6240304ba
2024-04-26 12:22:24 -07:00
Cyan_Hsieh
edd9532ef3 Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: I2d8ad5079fcd2b8d76148decb996cab0dd375dfb
2024-04-18 15:26:16 +08:00
Cyan_Hsieh
4ecf6b4755 Branch bootloader prebuilts for 24Q3 release
Bug: 326002225
Change-Id: Ibc0b69bd4e5156ca0f6e51a5b2a55fc6e93471f8
2024-04-17 14:19:36 +00:00
Cyan_Hsieh
c55ff3407c Switch default kernel directory and change build flag naming
Bug: 309749142
Change-Id: If05bbfd7d4b79993fe10c1a206ce78fd3c3e3e5c
2024-04-16 01:34:13 +00:00
Jimmy Shiu
ac95e3badc powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values am: e448b6f861
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/26905138

Change-Id: Ie7caff3de24b60707d5043eef85bc5bb183d092f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 16:37:23 +00:00
Jimmy Shiu
e448b6f861 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: Manual Test
Change-Id: Id0e0ac998b3da529c9d07d5c1dc25037b46c5f9a
2024-04-10 11:45:05 +00:00
Melvin Huang
e626be7a92 R4O6: : Update BQR Event Mask property value
Bug: 331942476
Test: Build Pass
Change-Id: I737f969b4ac95ec84ff6f26561e0da1c64def093
2024-04-08 11:37:31 +00:00
Ankur Bakshi
5f1473c89d Update raven SVN to 83
Bug: 330382848
Change-Id: I912e6b183cb6f8f4d996d082f8da50ae8b09b337
2024-04-05 02:13:13 +00:00
Ankur Bakshi
eec592871f Update oriole SVN to 83
Bug: 330382848
Change-Id: I7e4511d4c55bf6ba9cf58400cff7f0551a198638
2024-04-05 02:13:13 +00:00
Jimmy Shiu
ec0b8256e7 powerhint: set uclampmin_init value for applying CPU Load boost am: 158e5fb33e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/26809489

Change-Id: Ie2bfd655ec4ef36109a01c0bea2f9489e67f9fec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:19:43 +00:00
Jimmy Shiu
158e5fb33e powerhint: set uclampmin_init value for applying CPU Load boost
Bug: 329483662
Test: Manual Test
Change-Id: Ic8490589ee2521d8a6295b701cc169dbc8302e49
2024-04-03 01:04:44 +00:00
Ankur Bakshi
4b6dd87db0 Update raven SVN to 82
Bug: 325156176
Change-Id: I2d9b565dd6e97439876096ae7e5c88678b178087
2024-03-26 22:20:35 +00:00
Ankur Bakshi
fb927e4184 Update oriole SVN to 82
Bug: 325156176
Change-Id: I35f54125ce811d5788dc4bb779da6cb0da97c1b3
2024-03-21 21:42:52 +00:00
Ankur Bakshi
75f2060945 Update raven SVN to 81
Bug: 325156176
Change-Id: Id52b92f08a2ab38985ad4df391d904548c21d8ed
2024-03-20 05:01:16 +00:00
Ankur Bakshi
f5439f1e84 Update oriole SVN to 81
Bug: 325156176
Change-Id: I52b41275757b3b6ed9335412c00b2244c040298d
2024-03-20 05:01:16 +00:00
Nina Chen
40affb80c7 Change the rule to specify kernel directory with release configurations
Bug: 326879772
Change-Id: I305d2f459d45fbdcd3fb5e26f031ff4931bbbfd9
Signed-off-by: Nina Chen <sheaunic@google.com>
2024-03-18 03:47:30 +00:00
Ankur Bakshi
a5d57c7d7c Update raven SVN to 80
Bug: 325156176
Change-Id: I215f2ff08b59afa8c2de01edc13e0478fa16f4aa
2024-03-14 01:35:00 +00:00
Ankur Bakshi
38c977c9ad Update oriole SVN to 80
Bug: 325156176
Change-Id: I9d8db34bb775bb8a24dffccdc203df3f04c1a279
2024-03-14 01:35:00 +00:00
Kimi Hsu
cf99a5400d Use rounded corner radius from max resolution
Bug: 326046204
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: Ib01a250137447b833f7fad47e0076291993b652d
2024-03-11 11:45:04 +00:00
Xin Li
a501a62ebb [automerger skipped] Merge Android 14 QPR2 to AOSP main am: c4536d56b8 -s ours am: b57bbdf290 -s ours
am skip reason: Merged-In Ifcca47195a72191cf9ed071ba7ba7b398f32d171 with SHA-1 fa470b4c8e is already in history

Original change: https://android-review.googlesource.com/c/device/google/raviole/+/2990679

Change-Id: If5c9a9664d5fb5f45a3ba5760332aa785b4933c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:36 +00:00
Xin Li
b57bbdf290 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: c4536d56b8 -s ours
am skip reason: Merged-In Ifcca47195a72191cf9ed071ba7ba7b398f32d171 with SHA-1 fa470b4c8e is already in history

Original change: https://android-review.googlesource.com/c/device/google/raviole/+/2990679

Change-Id: I0888607d06a529abb60f264cf7d1d32e1ccf2dfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:10 +00:00
Xin Li
c4536d56b8 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: Ifcca47195a72191cf9ed071ba7ba7b398f32d171
Change-Id: I7c51205abe7b07f25a6c015ca2ae407f761eaa7e
2024-03-06 09:29:49 -08:00
Ankur Bakshi
4104a4d4b5 Update raven SVN to 79
Bug: 325156176
Change-Id: Ic942d23db321ac036f4ad3ace6ef7b1291797b2d
2024-03-06 02:53:06 +00:00
Ankur Bakshi
e6eb11886e Update oriole SVN to 79
Bug: 325156176
Change-Id: I7e6ba5fad48ee6b94f8452596c819bdf64b1c567
2024-03-06 02:53:06 +00:00
Xin Li
73926417db Fix typo for blew prebuilt apps. am: fa470b4c8e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/26418505

Change-Id: I1ac06febbc8314c0a35f326d866e9cf91e36465e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-01 02:42:03 +00:00
Brad Lassey
7c9d6f1819 Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: Id59e87e47845cbb2187588f623f1e981c0bfd3da
2024-03-01 00:29:02 +00:00
Brad Lassey
88e48ff82b Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: Ic1aebe1ef50a80450941aa0188814e9fbb102252
2024-03-01 00:29:02 +00:00
Xin Li
fa470b4c8e Fix typo for blew prebuilt apps.
Bug: 290766628
Change-Id: Ifcca47195a72191cf9ed071ba7ba7b398f32d171
2024-02-29 15:33:36 -08:00
Cyan_Hsieh
933d33189c Initial Bootloader prebuilt for AP3% build
Bug: 326002225
Change-Id: I2eafa58131f635b21f6ffc4cfa9d539226cc087d
2024-02-29 17:51:51 +00:00
George Chang
ead4bfa1d2 Enable NFC firmware logging
Enable NFC firmware logging by default for better debuggability.

Bug: 307999188
Bug: 325604333
Test: manual
Change-Id: I8a7d2f404cb64a7b1b079637049531cc545dd2c3
2024-02-19 07:08:42 +00:00
Ankur Bakshi
d3c5202b4b Update oriole SVN to 78
Bug: 313797924
Change-Id: I3f190b287adbdfaf9abbd52d27705ea341dda15c
2024-02-14 19:18:16 +00:00
Ankur Bakshi
2d94179b97 Update raven SVN to 78
Bug: 313797924
Change-Id: I076db31a580a1cdacf0d55fa131cee22b8da1cc2
2024-02-14 19:18:16 +00:00
Jacky Liu
78c26013fa Update i2c device paths
Update i2c device paths with static bus numbers.
Also remove some redundant paths.

Bug: 323447554
Test: Boot to home
Change-Id: Ibe1f5060daa45a7d19be08bd60c3f3a615427632
Signed-off-by: Jacky Liu <qsliu@google.com>
2024-02-06 16:20:12 +00:00
Xin Li
9787c36565 [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: f2609fdb79 -s ours
am skip reason: Merged-In I201e622fc82223aeb7c7f30ce452c714f14ebf60 with SHA-1 2a16b70d54 is already in history

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

Change-Id: Ia85e9999493e74bb0535de6252858caca75c4f11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:02:45 +00:00
Ankur Bakshi
07b4480d86 Update raven SVN to 77
Bug: 313797924
Change-Id: I6ad9c6d1f35a449ff6ce8e261d0be0f0281b49ee
2024-01-30 18:49:17 +00:00
Ankur Bakshi
101091c6f7 Update oriole SVN to 77
Bug: 313797924
Change-Id: Ie1289324007b51b1a1f5c58a261da8ed303781ff
2024-01-30 18:49:17 +00:00