Commit Graph

8527 Commits

Author SHA1 Message Date
Yi-Yo Chiang
cd6de3d8bb Remove GKI_SIGNING args from recovery & debug boot image build rules
These options are for certifying official GKI release, so they should
never be added to build command of recovery.img and boot-debug.img.

Also define gki_signing_signature_args in misc_info.txt iff.
BOARD_GKI_SIGNING_KEY_PATH is defined, so there's one less conditional.
We need to define it even if BOARD_GKI_SIGNING_SIGNATURE_ARGS is empty,
so that sign_target_files_apks.py can modify the option during image
signing.

Bug: 210367929
Test: Presubmit
Change-Id: I9546fcda796586d97af244955e15c1b8dc9f6d92
2022-01-05 02:59:45 +00:00
Devin Moore
98bbb48dfd Add android.hardware.ir to vndk
Change created with "update-vndk-list.sh"

Bug: 206116595
Test: m
Change-Id: I8361cc94a60d70977c1c85d349d54a6f6504b4b6
2022-01-05 01:12:01 +00:00
Treehugger Robot
7679243924 Merge "Re-landing "removing gsi_keys.mk"" am: 8c861cec97 am: 87d6967714 am: 6c73a8ae5f am: a5726efd0a
Original change: https://android-review.googlesource.com/c/platform/build/+/1931644

Change-Id: I0f019de0ecb45627e0621bd74c7f86bfc8de7740
2021-12-27 04:08:23 +00:00
Treehugger Robot
a5726efd0a Merge "Re-landing "removing gsi_keys.mk"" am: 8c861cec97 am: 87d6967714 am: 6c73a8ae5f
Original change: https://android-review.googlesource.com/c/platform/build/+/1931644

Change-Id: Ib52aaa3d34f06e5b744148cffc8f402d93d34449
2021-12-27 03:48:05 +00:00
Edwin Tung
981ced376a Merge "Add GnssVisibilityControl AIDL to VNDK" 2021-12-27 00:34:58 +00:00
Bowgo Tsai
b30a23cca2 Re-landing "removing gsi_keys.mk"
It's no longer required to install the compliance GSI
public keys into the ramdisk. Those public keys just need
to be included in the VTS test suite for GSI verification.

Bug: 176869478
Test: TreeHugger
Change-Id: I3714de75b94be43a1364b89b92d893b336aa014b
2021-12-24 12:28:32 +08:00
Paul Hu
a22a1a03ce Merge "Add framework-connectivity-tiramisu to PRODUCT_APEX_BOOT_JARS" 2021-12-24 03:06:53 +00:00
Steven Moreland
15b89d8fcd Don't require current.txt order.
There have been a lot of merge conflicts because of this file (and a
few cases of people needing to merge changes internally because of
it). Though, we really don't care about the order of the file. So,
compare ignoring order. If there is a merge conflict in the future,
we can change the order slightly, and we can gradually clean up the
order over time, as needed (really, it's not important).

Bug: N/A
Test: file reordered as build-time check
Change-Id: I955a2bd78872ff6d975bc494f10b2ed5e532c680
2021-12-23 22:18:42 +00:00
Treehugger Robot
fdf894f61a Merge "Update comments for Makefile variables about APEX jars." am: e685560087 am: 3cc272c031 am: dbe5fcc828 am: b3e1308797
Original change: https://android-review.googlesource.com/c/platform/build/+/1931602

Change-Id: I6930d07c0bcfed4e9e5ea06b607e86e9ccb6148b
2021-12-22 19:54:36 +00:00
Treehugger Robot
b3e1308797 Merge "Update comments for Makefile variables about APEX jars." am: e685560087 am: 3cc272c031 am: dbe5fcc828
Original change: https://android-review.googlesource.com/c/platform/build/+/1931602

Change-Id: I6418516104d706c25cc27cc7cca5a46016d6af05
2021-12-22 19:37:54 +00:00
Treehugger Robot
dbe5fcc828 Merge "Update comments for Makefile variables about APEX jars." am: e685560087 am: 3cc272c031
Original change: https://android-review.googlesource.com/c/platform/build/+/1931602

Change-Id: I77c3c8e180d1134db2cf86010954c16e1870d85e
2021-12-22 19:19:19 +00:00
Jiakai Zhang
49377db572 Update comments for Makefile variables about APEX jars.
Modules available in Q should not add new entries to
PRODUCT_APEX_*_JARS. Otherwise, there will be problems when a Q device
gets new modules and then OTAs to S, in which case, the device will have
the S version of SdkExtension (because SdkExtension is not available in
Q, see go/mainline-ota-problem), and the S version of SdkExtension
cannot consume those new entries correctly.

Bug: 203198541
Test: N/A
Change-Id: I15367ca59a06b4ee5fdb3803f2e4615b5d03b458
2021-12-22 13:38:17 +00:00
Ayush Sharma
cb535f6f2b Merge "Revert "Removing gsi_keys.mk"" am: 9d68bcd762 am: 59e76276de am: f1974fe82c am: adce3569a8
Original change: https://android-review.googlesource.com/c/platform/build/+/1931081

Change-Id: I4c54fde9ce784851697863795b7b2b0bdcd59568
2021-12-22 13:30:10 +00:00
Ayush Sharma
adce3569a8 Merge "Revert "Removing gsi_keys.mk"" am: 9d68bcd762 am: 59e76276de am: f1974fe82c
Original change: https://android-review.googlesource.com/c/platform/build/+/1931081

Change-Id: I0fd6ca573b07929d8d9381973aba9ac7d0c160ab
2021-12-22 13:09:35 +00:00
Ayush Sharma
f1974fe82c Merge "Revert "Removing gsi_keys.mk"" am: 9d68bcd762 am: 59e76276de
Original change: https://android-review.googlesource.com/c/platform/build/+/1931081

Change-Id: I7ea72162f32a0da0f81d15804892bf9b47c21738
2021-12-22 12:55:04 +00:00
Ayush Sharma
0ab9187f01 Revert "Removing gsi_keys.mk"
This reverts commit 5d2cf578d6.

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_sc-qpr1-dev-plus-aosp&target=build_test3&lkgb=8021524&lkbb=8021634&fkbb=8021569, bug https://buganizer.corp.google.com/issues/211737534

Bug: 211737534
Change-Id: I40e8dce5d87a1ba08a6f100fc2af92dd94fd2d5c
2021-12-22 11:56:11 +00:00
Treehugger Robot
bcab2ca8d5 Merge "Removing gsi_keys.mk" am: 09d30489b3 am: 139a73dcc0 am: b350bf36ac am: 56300eb6bd
Original change: https://android-review.googlesource.com/c/platform/build/+/1928391

Change-Id: Ib7c6ee12dd1ae2f888916b974406c3fdbcc37bf5
2021-12-22 10:44:06 +00:00
Treehugger Robot
56300eb6bd Merge "Removing gsi_keys.mk" am: 09d30489b3 am: 139a73dcc0 am: b350bf36ac
Original change: https://android-review.googlesource.com/c/platform/build/+/1928391

Change-Id: I97ba7994007904eb39baa8e5a479aced75307b5b
2021-12-22 10:30:08 +00:00
Treehugger Robot
b350bf36ac Merge "Removing gsi_keys.mk" am: 09d30489b3 am: 139a73dcc0
Original change: https://android-review.googlesource.com/c/platform/build/+/1928391

Change-Id: I1e4738bee330e96b23ffa639dbc20b2dca652d75
2021-12-22 10:14:21 +00:00
Bowgo Tsai
5d2cf578d6 Removing gsi_keys.mk
It's no longer required to install the compliance GSI
public keys into the ramdisk. Those public keys just need
to be included in the VTS test suite for GSI verification.

Bug: 176869478
Test: TreeHugger
Change-Id: I26c4a1c7dba28a3c8cf88af64d8539fdc23a4f28
2021-12-22 13:11:32 +08:00
TreeHugger Robot
375ab7ecc5 Merge "Add the remaining entries to PRODUCT_APEX_STANDALONE_SYSTEM_SERVER_JARS" 2021-12-21 00:08:46 +00:00
Jiakai Zhang
b27bb3b16d Add the remaining entries to PRODUCT_APEX_STANDALONE_SYSTEM_SERVER_JARS
After the change, the list contains all the jars that system_server
loaded dynamically.

Bug: 203198541
Test: m nothing
Change-Id: I4e404c48e2df052fff077649609050af4897dca3
2021-12-20 20:21:14 +00:00
TreeHugger Robot
189feeb8c6 Merge "Merge "Update vndk list with dice hal libraries." am: 06c7e31f01 am: 608be6d592" into sc-v2-dev-plus-aosp am: 61e12bd91f
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/16493457

Change-Id: Ic80e063002fc28c643c68374f602bd59b3b3f297
2021-12-17 00:36:07 +00:00
Gabriel Biren
b8816629b5 Merge "Add Wifi supplicant AIDL interface support." am: 23e4ccd2ba am: ac3f304f30 am: 7dd0c7905e am: cfd8d0ef1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/16492641

Change-Id: I72cb58be7acf3ba0231e50564a065323db748316
2021-12-16 21:01:13 +00:00
Treehugger Robot
cfebdda7c9 DO NOT MERGE Merge "Update vndk list with dice hal libraries." am: 06c7e31f01 am: 608be6d592
Original change: https://android-review.googlesource.com/c/platform/build/+/1906731

Change-Id: I984bc310a06e6c769270a3272fbac75d6aeae01b
2021-12-16 20:54:42 +00:00
Treehugger Robot
d9675cc22d Merge "Update vndk list with dice hal libraries." am: 06c7e31f01 am: 608be6d592
Original change: https://android-review.googlesource.com/c/platform/build/+/1906731

Change-Id: I984bc310a06e6c769270a3272fbac75d6aeae01b
2021-12-16 20:53:03 +00:00
Gabriel Biren
cfd8d0ef1b Merge "Add Wifi supplicant AIDL interface support." am: 23e4ccd2ba am: ac3f304f30 am: 7dd0c7905e
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/16482080

Change-Id: I00d7a855c7e71f76eec17ee0fabe136e38f03190
2021-12-16 18:49:54 +00:00
Gabriel Biren
7dd0c7905e Merge "Add Wifi supplicant AIDL interface support." am: 23e4ccd2ba am: ac3f304f30
Original change: https://android-review.googlesource.com/c/platform/build/+/1859994

Change-Id: Ie3980bc12b0e74b69c1949916b352360c0debf32
2021-12-16 15:43:32 +00:00
Treehugger Robot
06c7e31f01 Merge "Update vndk list with dice hal libraries." 2021-12-16 00:16:45 +00:00
Gabriel Biren
23e4ccd2ba Merge "Add Wifi supplicant AIDL interface support." 2021-12-15 21:13:41 +00:00
paulhu
75d42d7fac Add framework-connectivity-tiramisu to PRODUCT_APEX_BOOT_JARS
framework-connectivity-tiramisu is the new jar in tethering apex
which is added since android T.

Bug: 206893064
Test: m
Merged-In: I04a89be2145fa180de4a51c5056f41d7a94a7399
Change-Id: I04a89be2145fa180de4a51c5056f41d7a94a7399
2021-12-15 02:22:59 +00:00
paulhu
627b72a105 Add framework-connectivity-tiramisu to PRODUCT_APEX_BOOT_JARS
framework-connectivity-tiramisu is the new jar in tethering apex
which is added since android T.

Bug: 206893064
Test: m
Change-Id: I04a89be2145fa180de4a51c5056f41d7a94a7399
2021-12-14 16:51:09 +00:00
Yi-yo Chiang
a8295a5513 Merge "Bump GSI PRODUCT_SHIPPING_API_LEVEL to 31" am: 90b0039a9d am: bd3a3bc919 am: eb921708da am: 7b42795949
Original change: https://android-review.googlesource.com/c/platform/build/+/1913441

Change-Id: I71b5b53fe0bb4179e3d6a4fb76375a9994bbe13d
2021-12-14 12:49:45 +00:00
Yi-yo Chiang
7b42795949 Merge "Bump GSI PRODUCT_SHIPPING_API_LEVEL to 31" am: 90b0039a9d am: bd3a3bc919 am: eb921708da
Original change: https://android-review.googlesource.com/c/platform/build/+/1913441

Change-Id: Ibff899fa9a190da527da6c9cef4ddc5dfdf1c4b2
2021-12-14 12:32:56 +00:00
Yi-yo Chiang
eb921708da Merge "Bump GSI PRODUCT_SHIPPING_API_LEVEL to 31" am: 90b0039a9d am: bd3a3bc919
Original change: https://android-review.googlesource.com/c/platform/build/+/1913441

Change-Id: Ie54ddd87020a272e6e3ec0494c4faeaa7c116840
2021-12-14 12:11:16 +00:00
Yi-yo Chiang
90b0039a9d Merge "Bump GSI PRODUCT_SHIPPING_API_LEVEL to 31" 2021-12-14 11:39:03 +00:00
Rafay Kamran
4b08c049dc Merge "Created supplemental_process certificate and private key" 2021-12-13 14:19:07 +00:00
Akilesh Kailash
e4173f3167 Merge "Enable userspace snapshots for OTA" am: 3f5f0b306d am: 7260b087ea am: 1b14617cdb am: 3791ff3cf6
Original change: https://android-review.googlesource.com/c/platform/build/+/1912666

Change-Id: I349cc833f3517aeac9ccba2db1c236dbff30dc86
2021-12-10 20:51:05 +00:00
Akilesh Kailash
3791ff3cf6 Merge "Enable userspace snapshots for OTA" am: 3f5f0b306d am: 7260b087ea am: 1b14617cdb
Original change: https://android-review.googlesource.com/c/platform/build/+/1912666

Change-Id: I96e2ec314768bf9899bd3ea83e9bcbed0ccdc648
2021-12-10 20:32:55 +00:00
Akilesh Kailash
1b14617cdb Merge "Enable userspace snapshots for OTA" am: 3f5f0b306d am: 7260b087ea
Original change: https://android-review.googlesource.com/c/platform/build/+/1912666

Change-Id: I9fe57a883f46b38c1fb891777e8d2a06c33466dc
2021-12-10 20:15:43 +00:00
Akilesh Kailash
3f5f0b306d Merge "Enable userspace snapshots for OTA" 2021-12-10 19:44:48 +00:00
Janis Danisevskis
f0335310f7 Update vndk list with dice hal libraries.
Bug: 198197213
Test: N/A
Change-Id: Ib199c5c18438b0d62ec5d6619ce9708c71ecac22
2021-12-10 09:35:16 -08:00
Yi-Yo Chiang
8d96c7303c Bump GSI PRODUCT_SHIPPING_API_LEVEL to 31
Bug: 209563751
Fixes: 209563751
Test: Presubmit
Change-Id: Ifcfe39c14a9459d75a5f8656820e1b20031ef3be
2021-12-09 06:00:07 +00:00
Yi-Yo Chiang
392a0db18d Roll-forward the VNDK snapshot list of GSI
The latest stable SDK version is 31, so add 31 to the list of VNDK
snapshots.

Bug: 196806844
Test: Presubmit
Change-Id: Ia9aab527d9c1fe1d1eb6c72ebc184a3fccad6a22
Merged-In: Ia9aab527d9c1fe1d1eb6c72ebc184a3fccad6a22
(cherry picked from commit 33fc244de5)
2021-12-08 18:12:47 +08:00
Gabriel Biren
0a9a11da06 Add Wifi supplicant AIDL interface support.
Test: Manual test
Bug: 196235436
Change-Id: I9b096d4782715dc9229f7a9a4d3227f15c336d7a
2021-12-07 23:37:11 +00:00
Akilesh Kailash
bfdd246130 Enable userspace snapshots for OTA
Bug: 202784018

Test: Full/Incremental OTA tested on CF, Pixel

OTA Merge time performance on Pixel (bramble)

==========================================================

Incremental - OTA - 389M

OTA Operations:

system - Copy-ops: 34060 Zero-ops: 678 Replace-ops: 93846 Xor-ops: 75490

product - Copy-ops: 241742 Zero-ops: 1970 Replace-ops: 292890 Xor-ops: 80763

vendor - Copy-ops: 110285 Zero-ops: 660 Replace-ops: 62163 Xor-ops: 23474

system_ext_b - Copy-ops: 44509 Zero-ops: 426 Replace-ops: 39475 Xor-ops: 44628

====================================================================

1: VAB - Compression with dm-snapshot (on Android S)

Merge-time = 344 seconds (~5.7 minutes)

2: VAB - Compression with user-snapshot (on Android T)

Merge-time = 53 seconds

3: VAB - Without compression (using kernel COW format)

Merge-time = 33 seconds

Compared to Android S, merge time improves by 84% with user-snapshots on Android T.

The 20 seconds difference between (2) and (3) is because of two phase merge during compression which essentially serializes merge start time between partitions.

On (3), there is no two phase merge as all the partition starts merge at the same time.

When there is no two phase merge involved, (2) and (3) are nearly identical.

============================================================

Full OTA - 1.8G

1: VAB - Compression with dm-snapshot (on Android S)

Merge-time = 40 seconds

2: VAB - Compression with user-snapshot (on Android T)

Merge-time = 32 seconds

3: VAB - Without compression (using kernel COW format)

Merge-time = 32 seconds

===============================================================

Presubmit OTA testing enabled on Cuttlefish for ~1 Week with
the feature enabled.

https://v2-dot-atp.googleplex.com/tests/asit/ota/incremental_mixed_resume

Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: I88d15b94a48799996f38755063319269a3d70723
2021-12-07 20:38:29 +00:00
Edwin Tung
8bfa7cd0ea Add GnssVisibilityControl AIDL to VNDK
Bug: 208728105
Test: build pass and atest VtsHalGnssTargetTest
Change-Id: Ic6326377e51b22ee50d0c56e68caf2cac3a93eb0
2021-12-07 13:56:09 +08:00
Daeho Jeong
3d7741b8f3 Merge "Add erofs tools in target" am: 9a26cdbccd am: 3bda74b77e am: 5748c5679e am: dbfaf3bbe3
Original change: https://android-review.googlesource.com/c/platform/build/+/1908037

Change-Id: I7ff26537e93bef9ed81ba140670dfacd8be9f4b4
2021-12-04 06:09:07 +00:00
Daeho Jeong
dbfaf3bbe3 Merge "Add erofs tools in target" am: 9a26cdbccd am: 3bda74b77e am: 5748c5679e
Original change: https://android-review.googlesource.com/c/platform/build/+/1908037

Change-Id: Ib7ef9e7abeaf044ea5f3c96091cf74cd63f3e9fc
2021-12-04 05:50:29 +00:00
Daeho Jeong
5748c5679e Merge "Add erofs tools in target" am: 9a26cdbccd am: 3bda74b77e
Original change: https://android-review.googlesource.com/c/platform/build/+/1908037

Change-Id: I8fb56c8b23d395eabaa2652ebb8f4d8c2f1dfb25
2021-12-04 05:37:49 +00:00