Commit graph

8085 commits

Author SHA1 Message Date
Roopa Sattiraju
a2411e4b68 Copy com_google_android_bluetooth_services certs for sepolicy
BUG: 226403247
Test: TH
Change-Id: I6cf4e9fa1f2e5a2e628f10b1e734b2a8c8df61fc
2022-03-30 12:53:40 -07:00
Martin Stjernholm
47dcbeaefb Build modules from source for module products.
This overrides the branch default
(BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE) if it is set to use
prebuilts.

Test: build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE
  returns false with BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE:=false
  in internal
Test: env TARGET_PRODUCT=module_arm64 \
      build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE
  returns true with BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE:=false
  in internal
Test: env TARGET_PRODUCT=mainline_modules_x86 \
      build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE
  returns true with BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE:=false
  in internal
Test: env TARGET_PRODUCT=redfin \
      build/soong/soong_ui.bash --dumpvar-mode MODULE_BUILD_FROM_SOURCE
  returns false with BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE:=false
  in internal
Bug: 222723757
Change-Id: I0faea006b0e95eff40bbfbe00cc74ba5985beeba
2022-03-30 18:16:51 +01:00
Treehugger Robot
d95ab2b792 Merge "Remove snapuserd from vendor ramdisk" am: 4f3937ac74 am: a0041bba5e am: 6f829843e1
Original change: https://android-review.googlesource.com/c/platform/build/+/2042523

Change-Id: Iae6550ed9f1ecb0dda4c8b390e184004ebf7812a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 02:47:10 +00:00
Etienne Ruffieux
0d0b1d8a8c Merge "Removing audio defaults from platform" into tm-dev 2022-03-25 00:27:37 +00:00
Kelvin Zhang
8a7277df41 Remove snapuserd from vendor ramdisk
When BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT is set,
snapuserd.recovery will be installed to vendor ramdisk, which we don't
want. To remove snapuserd from vendor ramdisk, remove
snapuserd.recovery. And only include it if dedicated recovery partition
is enabled. For non-dedicated recovery case, boot partition contains
snapuserd.

Test: th
Test: acloud create --local-image --local-instance, install OTA, reboot
Change-Id: Ib8173f68a1f43b736fe609977a36ad4851e0c367
2022-03-24 10:43:37 -07:00
Etienne Ruffieux
5be591a6f6 Removing audio defaults from platform
Audio defaults have a lot of dependencies, and to reduce
the number of libs exposed in platform we need to remove
these audio defaults.

Bug: 220306859
Test: atest
Tag: #feature
Change-Id: Iee2e347e6dceec4232e408145e97024476744455
2022-03-22 10:41:09 +00:00
Treehugger Robot
00ba4d5ea0 Merge "Remove iorapd from base product packages" 2022-03-22 04:09:42 +00:00
Treehugger Robot
b132c85eed Merge "Re-land "Enable CFI for Bluetooth in new home"" am: f16854d5f8 am: 670f673ec1 am: 7022c5a63e
Original change: https://android-review.googlesource.com/c/platform/build/+/2030703

Change-Id: I57e265aaf5f47ceb6891d9481822e9750d4d7613
2022-03-21 15:51:13 +00:00
Treehugger Robot
f16854d5f8 Merge "Re-land "Enable CFI for Bluetooth in new home"" 2022-03-21 15:02:11 +00:00
Treehugger Robot
ed21d0f56a Merge "Roll-forward the VNDK snapshot list of GSI to 32" 2022-03-18 09:09:35 +00:00
Yi-yo Chiang
1d7c7f674e Roll-forward the VNDK snapshot list of GSI to 32
Bug: 216414337
Test: Presubmit
Merged-In: Ic6cec82357cec8f4ad7bee62a4eaf2f7685b730f
Change-Id: I76026d6f518c51966bc652eeb617b61967af77a7
2022-03-18 04:50:48 +00:00
Myles Watson
d0a9ac08b9 Re-land "Enable CFI for Bluetooth in new home"
This reverts commit 2b0dd3bcbd.

Reason for revert: Fix landed at CL # 2029417
Bug: 221893030
Test: cert/run
Tag: #gd-refactor

Change-Id: I22799c8f898233851a5f2ae54add8e4f71541c94
2022-03-17 16:44:06 +00:00
TreeHugger Robot
7f18d8899b Merge "Revert "Remove sepolicy module from system image."" into tm-dev 2022-03-17 16:22:25 +00:00
Bram Bonné
ce8629fdbf Merge "Cherry pick sdk_sandbox dev keys." 2022-03-17 12:31:30 +00:00
Jeffrey Vander Stoep
9351a0be47 Revert "Remove sepolicy module from system image."
This reverts commit 4a829c5407.

Reason for revert: b/224844224

Change-Id: I6e9a74dffd5832807e498251899c580599f31b95
2022-03-17 10:34:23 +00:00
Yi-yo Chiang
278cdbc75e Roll-forward the VNDK snapshot list of GSI to 32
Bug: 216414337
Test: Presubmit
Change-Id: Ic6cec82357cec8f4ad7bee62a4eaf2f7685b730f
2022-03-17 05:34:43 +00:00
Beth Thibodeau
df463b64d0 Merge "Revert "Enable CFI for Bluetooth in new home"" am: cdd28862c3 am: 64cfe91ace am: 51cbf7ea12
Original change: https://android-review.googlesource.com/c/platform/build/+/2028833

Change-Id: Ib6ee2ed6b66e58a75dbd091b1f259276e00bd811
2022-03-17 02:48:21 +00:00
Beth Thibodeau
cdd28862c3 Merge "Revert "Enable CFI for Bluetooth in new home"" 2022-03-17 00:49:07 +00:00
Beth Thibodeau
2b0dd3bcbd Revert "Enable CFI for Bluetooth in new home"
This reverts commit 6c7cce123c.

Reason for revert: DroidMonitor: Potential culprit for b/225059300 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted

Change-Id: I0f790404ba95ec2ba343c31faa58f4eb7c198758
2022-03-17 00:21:02 +00:00
Treehugger Robot
8fd1b87afe Merge "Enable CFI for Bluetooth in new home" am: 21b35496ee am: 1eb525078b am: 5b70644ea6
Original change: https://android-review.googlesource.com/c/platform/build/+/2028706

Change-Id: Ib2181e86994b6103f6d16715992365fc401cc37a
2022-03-16 21:17:25 +00:00
Treehugger Robot
21b35496ee Merge "Enable CFI for Bluetooth in new home" 2022-03-16 20:34:04 +00:00
Myles Watson
6c7cce123c Enable CFI for Bluetooth in new home
Bug: 221893030
Test: cert/run
Tag: #gd-refactor
Change-Id: I34d8749d200de04b68f7ad9bd5b49b06dddc7841
2022-03-16 10:03:23 -07:00
Patrick Rohr
33b6aaff5e Merge "Remove ethernet-service jar dependency." 2022-03-16 16:03:30 +00:00
Bram Bonne
029dffaf72 Cherry pick sdk_sandbox dev keys.
Test: make, boot

Bug: 224796470
Bug: 203670791
Bug: 220320098

Merged-In: Ib0cdf7786c7f74cf294c54187649114e8ec6d315
Merged-In: I3f757c7e3e81c2ac31cd623eae68f7778bf3bafa
Change-Id: I70d6a745b8b2fc9ba68791caae2e83f8eb74c645
2022-03-16 15:39:41 +01:00
Treehugger Robot
7003c45166 Merge "Remove GKI from gsi_$arch" am: 9fee6befad am: 9b0c214673 am: 197e0be8ef
Original change: https://android-review.googlesource.com/c/platform/build/+/1936198

Change-Id: Id62f2a0f140183f1b2c767f1d097a0d434bad114
2022-03-16 08:41:49 +00:00
Treehugger Robot
9fee6befad Merge "Remove GKI from gsi_$arch" 2022-03-16 07:07:46 +00:00
Xiao Ma
2d498b0277 Merge "Remove ethernet-service jar dependency." into tm-dev 2022-03-16 03:47:23 +00:00
Xiao Ma
cb1e69c3bf Remove ethernet-service jar dependency.
ethernet service source code is going to be moved into Connectivity
mainline module, and start the ethernet service from the module. The
old ethernet-service lib will be deprecated, remove it from soong
build rule.

Bug: 210586283
Test: m
Change-Id: Iae154ca3462e76b7e0af7172d424f36dece63531
Merged-In: I19d517cac28c18c70b8dad979ecbfe3fb6d26902
2022-03-16 00:54:09 +00:00
Colin Cross
7ee2eaaf79 Use single module for clang runtime libraries
The clang prebuilts now provide a single module with per-architecture
variants instead of a module per architecture.

Bug: 220019988
Test: m checkbuild
Change-Id: Ie01cbca9cee73bf39ed54eca306d45f0bd4f3867
Merged-In: Ie01cbca9cee73bf39ed54eca306d45f0bd4f3867
2022-03-15 13:14:53 -07:00
satayev
4a829c5407 Remove sepolicy module from system image.
Bug: 199914227
Test: presubmit
Merged-In: If091dcea78358d024892533b734882274c2ea9a3
Change-Id: I02272bffa3abf2b7514eac1c917cda1f04b7e7da
2022-03-15 14:47:03 +00:00
Xiao Ma
3621c8ced8 Remove ethernet-service jar dependency.
ethernet service source code is going to be moved into Connectivity
mainline module, and start the ethernet service from the module. The
old ethernet-service lib will be deprecated, remove it from soong
build rule.

Bug: 210586283
Test: m
Change-Id: I19d517cac28c18c70b8dad979ecbfe3fb6d26902
2022-03-15 22:52:53 +09:00
Treehugger Robot
b3e4a2613b Merge "Split VABC into two .mk files" am: 344245b278 am: a7393ae928 am: 7151415278
Original change: https://android-review.googlesource.com/c/platform/build/+/2015629

Change-Id: I7d91b4168ae651b462f341eec98db76d858fbd0f
2022-03-14 21:10:44 +00:00
Treehugger Robot
7151415278 Merge "Split VABC into two .mk files" am: 344245b278 am: a7393ae928
Original change: https://android-review.googlesource.com/c/platform/build/+/2015629

Change-Id: I3853cfa64f062ee48b1f4c7169c2a5672fa7645a
2022-03-14 20:42:23 +00:00
Eric Jeong
5c55d72c6b Remove iorapd from base product packages
- iorapd is being removed.
- So, it cannot be installed.

Bug: 211461392
Test: build okay
Change-Id: I17491f42ca7a0b73de0b3a3c588a90c8e3e3f3e9
Merged-In: I17491f42ca7a0b73de0b3a3c588a90c8e3e3f3e9
(cherry picked from commit 4c0ac42c06)
2022-03-14 10:29:07 -07:00
Kelvin Zhang
ecdfb79033 Split VABC into two .mk files
1. android_t_baseline.mk enables baseline features, such as io_uring,
   userspace merge, etc. But sets compression method to none. T
   launching devices should include this. It also moves snapuserd from
   vendor_ramdisk to init_boot
2. To add compression, set PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD to
   gz/brotli

Test: th
Bug: 219841787

Change-Id: I6ae4d951b0a64f142acd4c152ce96375d47ecf74
2022-03-14 09:31:47 -07:00
Treehugger Robot
b06f01b9ed Merge "Add snapuserd/e2fsprogs/f2fs-tools to init_boot partition" am: f99d7e96e3 am: e104a7024b am: 0e9776beab
Original change: https://android-review.googlesource.com/c/platform/build/+/2018336

Change-Id: I56cc6486531b5992d51374d4ee571682674314fd
2022-03-10 12:32:16 +00:00
Treehugger Robot
0e9776beab Merge "Add snapuserd/e2fsprogs/f2fs-tools to init_boot partition" am: f99d7e96e3 am: e104a7024b
Original change: https://android-review.googlesource.com/c/platform/build/+/2018336

Change-Id: I52877d98cac97f0216897b1f1ebfbbe4035b98cb
2022-03-10 11:59:23 +00:00
Kelvin Zhang
e30ed7c8da Add snapuserd/e2fsprogs/f2fs-tools to init_boot partition
Anything remotely related to first stage init should be added to
init_boot

Test: th
Bug: 219841787

Change-Id: I60ada5ff426b04f3e4f842ad7a714615fcc7cb77
2022-03-09 15:12:43 -08:00
Frank Wang
cb129f8959 Merge "Remove Auxiliary from build/target branch." into tm-dev 2022-03-04 16:38:38 +00:00
TreeHugger Robot
de9f083e04 Merge "Remove iorapd from base product packages" into tm-dev 2022-03-03 17:16:01 +00:00
Nikita Ioffe
c3b2672f1e Merge "Replace supplementalprocess with sdksandbox" into tm-dev 2022-03-03 16:31:55 +00:00
Frank Wang
d3b6ec274f Remove Auxiliary from build/target branch.
Test: TH
Bug: 210728915
Change-Id: Icfc05fed7c2d6797b33a64f739af3a5a9d3d2b66
2022-03-03 06:01:06 +00:00
TreeHugger Robot
9ef4f2e339 Merge "Pixel Common: system_dlkm: avb hashtree footer" into tm-dev 2022-03-03 02:16:47 +00:00
Ramji Jiyani
c3b0cc5fde Pixel Common: system_dlkm: avb hashtree footer
Add avb hashtree footer args for the system_dlkm
partition required for the T launch devices.

Bug: 222334390
Test: TH, manual build, Code testing gs101 & R6
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: I7a28ccfa2acad2e20c35a8a68edbffcca068678e
2022-03-02 12:38:10 -08:00
Nikita Ioffe
0d67930905 Replace supplementalprocess with sdksandbox
And also remove supplementalprocess APEX

Bug: 220320098
Test: m
Change-Id: I7d92d48173baf0d55a12c710f2e494442d7feeaa
2022-03-02 18:56:32 +00:00
Neha Pattan
9ed8aef8bd Merge "(1/3) Remove SupplementalApi from BCP." into tm-dev 2022-03-02 16:22:56 +00:00
Paul Hu
7fe3a47b68 Merge "Rename framework-connectivity-tiramisu to framework-connectivity-t" am: 70dc07dbd3 am: 8b81343e39
Original change: https://android-review.googlesource.com/c/platform/build/+/1976806

Change-Id: Ib745287298e60a21f021e9d586c8cb9d0e6b2d6d
2022-03-02 07:48:40 +00:00
Paul Hu
8b81343e39 Merge "Rename framework-connectivity-tiramisu to framework-connectivity-t" am: 70dc07dbd3
Original change: https://android-review.googlesource.com/c/platform/build/+/1976806

Change-Id: I1be61a70760e41474cd227a202a9ed19d29b384f
2022-03-02 07:27:23 +00:00
Paul Hu
70dc07dbd3 Merge "Rename framework-connectivity-tiramisu to framework-connectivity-t" 2022-03-02 07:11:25 +00:00
Akilesh Kailash
d9b1c6319c Merge "Enable Async merge during OTA" am: 6eb483745b am: 5b33dc20ae am: dc40e465b4
Original change: https://android-review.googlesource.com/c/platform/build/+/2001772

Change-Id: Ib4e6ecf3289a624ae4acd1b233268c90c938299c
2022-03-02 02:14:06 +00:00
Akilesh Kailash
dc40e465b4 Merge "Enable Async merge during OTA" am: 6eb483745b am: 5b33dc20ae
Original change: https://android-review.googlesource.com/c/platform/build/+/2001772

Change-Id: I863d615b6fa783df7c49303fd33d45360e674ccd
2022-03-02 01:51:20 +00:00
Akilesh Kailash
5b33dc20ae Merge "Enable Async merge during OTA" am: 6eb483745b
Original change: https://android-review.googlesource.com/c/platform/build/+/2001772

Change-Id: I18acbfd77ad2b5a615679eff74651fa54a9bfcef
2022-03-02 01:29:15 +00:00
Nikita Ioffe
1483800095 Merge "Rename supplementalprocess->sdksandbox jars" into tm-dev 2022-03-01 17:08:45 +00:00
Nikita Ioffe
a1e2b3f913 Merge "Rename SupplementalProcess to SdkSandbox" into tm-dev 2022-03-01 17:07:15 +00:00
paulhu
83f6ef5379 Rename framework-connectivity-tiramisu to framework-connectivity-t
Bug: 215434166
Test: build, flash, device boot to home.
Merged-In: I046503a60f39aa1ec6026c139203b1a1d5a7dab5
Change-Id: I046503a60f39aa1ec6026c139203b1a1d5a7dab5
2022-03-01 01:26:31 +00:00
Colin Cross
1b8aa40f69 Use single module for clang runtime libraries am: 6d6cad6629
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/17036884

Change-Id: I4204f31bb441b0abbc4873da3f6fc9ae0f96041f
2022-03-01 01:20:47 +00:00
Colin Cross
13bbb49c87 Use single module for clang runtime libraries
The clang prebuilts now provide a single module with per-architecture
variants instead of a module per architecture.

Bug: 220019988
Test: m checkbuild
Change-Id: Ie01cbca9cee73bf39ed54eca306d45f0bd4f3867
(cherry picked from commit 7475d557e4)
Merged-In:Ie01cbca9cee73bf39ed54eca306d45f0bd4f3867
2022-02-28 21:01:02 +00:00
Neha Pattan
4bd37daaec (1/3) Remove SupplementalApi from BCP.
Bug: 221855066
Test: build
      mmm -j packages/modules/SupplementalProcess
Change-Id: I2f99ba8af33f1e019bf1dbcd1642b5fe641cdaf7
2022-02-28 20:30:18 +00:00
Akilesh Kailash
6c171a69b2 Enable Async merge during OTA
If the async merge has a temporary failure, gracefully fallback
to synchronous I/O without failing the OTA merge.

Bug: 220991038
Test: 1: OTA on CF pre-submit runs
2: OTA on O6, R4 and Bramble with the following flow on TP builds:

BUILD-1 (without-this-patch) -> BUILD-2 (with this patch) -> BUILD-3 (with this patch)

Verified the failure path of async merge on all three devices

Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: I0b499d2cc81f44c74f85745f9165b81d0ce34eba
2022-02-28 06:29:50 +00:00
Roopa Sattiraju
883ef3dc58 Merge "Enabling Apex in BT" into tm-dev 2022-02-25 06:30:19 +00:00
Neha Pattan
05b5a1af6c Merge "(5/6) AdServices setup." into tm-dev 2022-02-24 23:49:54 +00:00
Eric Jeong
113da5984a Remove iorapd from base product packages
- iorapd is being removed.
- So, it cannot be installed.

Bug: 211461392
Test: build okay
Change-Id: I17491f42ca7a0b73de0b3a3c588a90c8e3e3f3e9
Merged-In: I17491f42ca7a0b73de0b3a3c588a90c8e3e3f3e9
(cherry picked from commit 4c0ac42c06)
2022-02-24 13:37:55 -08:00
Neha Pattan
a2ae94e689 (5/6) AdServices setup.
Bug: 219953633
Test: build
      mmm -j packages/modules/AdServices
      mmm -j packages/modules/SupplementalApi
Change-Id: I9ee8818848b16879a39c2abc2e557499488bce5c
2022-02-24 16:28:13 +00:00
Nikita Ioffe
08cae808f4 Rename supplementalprocess->sdksandbox jars
Bug: 220320098
Test: m
Test: presubmit
Change-Id: I53288f29ba0cf242e333904b2209bdc07ed85706
2022-02-24 01:55:58 +00:00
Nikita Ioffe
a77e15a3a3 Rename SupplementalProcess to SdkSandbox
Bug: 220320098
Test: presubmit
Change-Id: I3f757c7e3e81c2ac31cd623eae68f7778bf3bafa
2022-02-23 21:18:11 +00:00
Anton Hansson
abd7bd1c6c Merge "Add an ndk product and device" am: e9d3c2e85a am: 06c347653c am: cd9dfa264b
Original change: https://android-review.googlesource.com/c/platform/build/+/1990890

Change-Id: I8ee9185154ad95b9787dbcbdf099a4903dfb537b
2022-02-23 19:44:52 +00:00
Anton Hansson
06c347653c Merge "Add an ndk product and device" am: e9d3c2e85a
Original change: https://android-review.googlesource.com/c/platform/build/+/1990890

Change-Id: I9b19c3561696755dea1e9ffcff8a6d814cffc30f
2022-02-23 18:55:33 +00:00
Anton Hansson
e9d3c2e85a Merge "Add an ndk product and device" 2022-02-23 18:31:44 +00:00
Anton Hansson
3327b9fc79 Add an ndk product and device
This adds a product that generates a soong.variables config similar to
the one manually maintained for the ndk build at the moment.

Bug: 174315599
Test: TARGET_PRODUCT=ndk m nothing && inspect out/soong/soong.variables
Change-Id: Ia10079b8a1ed8edf4efa2a6a5b04a079eece5360
2022-02-23 13:25:59 +00:00
Roopa Sattiraju
be5c887ced Enabling Apex in BT
Bug: 217736913
Test: Compile, bringup and test user journeys
Change-Id: I2371a3cfbb3770802b1a318cf0695af52dcf8cc0
2022-02-23 05:21:16 +00:00
Paul Hu
278dff30b5 Merge "Rename framework-connectivity-tiramisu to framework-connectivity-t" into tm-dev 2022-02-22 15:52:11 +00:00
Anton Kulakov
b4ce54f0ae Add AdServices module to base_system.mk
Test: Build
Bug: b/220336612
Change-Id: Icb4c1373a0c2ca3dfa9cb07094e85ec3b51ac557
2022-02-21 19:14:58 +00:00
paulhu
3dfbfee02e Rename framework-connectivity-tiramisu to framework-connectivity-t
Bug: 215434166
Test: build, flash, device boot to home.
Merged-In: I046503a60f39aa1ec6026c139203b1a1d5a7dab5
Change-Id: I046503a60f39aa1ec6026c139203b1a1d5a7dab5
2022-02-20 15:08:41 +00:00
Peter Collingbourne
1c9378b13a Merge "Reland "Add a core configuration that disables the zygote."" am: 8e5920a665 am: 2012fd1d00 am: 69a8557fb0
Original change: https://android-review.googlesource.com/c/platform/build/+/1987266

Change-Id: Ibf1278b4f7542719457afeb47621623a4420d8bb
2022-02-18 22:07:46 +00:00
Peter Collingbourne
2012fd1d00 Merge "Reland "Add a core configuration that disables the zygote."" am: 8e5920a665
Original change: https://android-review.googlesource.com/c/platform/build/+/1987266

Change-Id: I9702c77f909848ff302febf0540958ae35c680c6
2022-02-18 21:12:47 +00:00
Peter Collingbourne
8e5920a665 Merge "Reland "Add a core configuration that disables the zygote."" 2022-02-17 18:37:21 +00:00
Treehugger Robot
684fec7263 Merge "Revert "Enable io_uring feature for virtual A/B OTA"" am: 28e4826995 am: 283db80c18 am: 0b0778e941
Original change: https://android-review.googlesource.com/c/platform/build/+/1987208

Change-Id: Ife59fcf3e51560860bf4be6b10bfee8bd44fba8c
2022-02-16 13:39:57 +00:00
Treehugger Robot
283db80c18 Merge "Revert "Enable io_uring feature for virtual A/B OTA"" am: 28e4826995
Original change: https://android-review.googlesource.com/c/platform/build/+/1987208

Change-Id: Iff21d565b191489221534fe4f094d113e3cd2abe
2022-02-16 12:57:45 +00:00
Akilesh Kailash
f1e7fb3af7 Revert "Enable io_uring feature for virtual A/B OTA"
This reverts commit f72860ce18.

Reason for revert: http://b/219642530 - I/O failures seen on one specific device intermittently. Let's pause this; I will revisit it before we land it back as we don't want to hold dogfood builds.

Change-Id: I3a80ccf5f67daed01d5b2e6a502e8acea85a769f
2022-02-16 04:21:01 +00:00
Peter Collingbourne
69c29e1bc3 Reland "Add a core configuration that disables the zygote."
In targets that do not include a zygote binary, attempting to start the
zygote service will result in repeated service restarts. Avoid this by
providing a way for targets to opt out of declaring a zygote service.

The fvp_mini target does not have a zygote, so apply this opt-out to
that target.

Relanding after fixing breakage on an internal branch.

Bug: 217455793
Change-Id: Ic26f76142afb5f700bd7b12359d62feb2652b617
2022-02-15 16:03:35 -08:00
Frank Wang
5f40e6e46d Add ondevicepersonalization in build branch.
Test: Build
Bug: b/218749359
Change-Id: I1bf1de0ea64fa09551a2f545f2e99bae183775e6
2022-02-14 19:12:47 +00:00
Neha Pattan
cadc6ee8e7 Merge "[2/2] Add SupplementalApi to BCP." 2022-02-11 16:08:36 +00:00
Xin Li
b3a96bd273 Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: Ibcb32225098883b4098807da6468a539e1c41c0c
Change-Id: I408a03e95c0240420c5e5492988abdc4937a0a62
2022-02-11 07:01:21 +00:00
Neha Pattan
a262e1c7ea [2/2] Add SupplementalApi to BCP.
Test: build
Bug: 218568223
Change-Id: I9f97bdf8dae9f0271755411293243bbfa9986acc
2022-02-10 23:23:17 +00:00
Treehugger Robot
e543b42944 Merge "add dmesgd to base system" am: dda4576d52 am: 1ca13e787e am: 8897c33a1c am: 80e3d3e6c7
Original change: https://android-review.googlesource.com/c/platform/build/+/1979646

Change-Id: I686e765cf93560909658acfe84f412773dbf4551
2022-02-10 22:06:39 +00:00
Treehugger Robot
80e3d3e6c7 Merge "add dmesgd to base system" am: dda4576d52 am: 1ca13e787e am: 8897c33a1c
Original change: https://android-review.googlesource.com/c/platform/build/+/1979646

Change-Id: I1c48600c690936337586836136f17131f697a3b4
2022-02-10 21:48:24 +00:00
Alexander Potapenko
0015b6953a add dmesgd to base system
Bug: 215095687
Test: run on a user device with injected KFENCE bugs
Change-Id: I7776d96400d46fa31bcd8f04728877402dce1162
2022-02-10 15:46:01 +01:00
Akilesh Kailash
fc0add48d8 Merge "Enable io_uring feature for virtual A/B OTA" am: 58588768aa am: 6020b9e523 am: ff84fbeeb2 am: a89a0b4af6
Original change: https://android-review.googlesource.com/c/platform/build/+/1977406

Change-Id: I22a28ef8c0511bb8a418f457d7714a53631c76bc
2022-02-10 08:32:55 +00:00
Akilesh Kailash
a89a0b4af6 Merge "Enable io_uring feature for virtual A/B OTA" am: 58588768aa am: 6020b9e523 am: ff84fbeeb2
Original change: https://android-review.googlesource.com/c/platform/build/+/1977406

Change-Id: Ie5b9c6bf30ff28fa7fadf75aafaee84eaf3953aa
2022-02-10 08:22:21 +00:00
Akilesh Kailash
58588768aa Merge "Enable io_uring feature for virtual A/B OTA" 2022-02-10 07:35:42 +00:00
Akilesh Kailash
f72860ce18 Enable io_uring feature for virtual A/B OTA
snapuserd: Use io_uring READ/WRITE opcodes for snapshot merge.
Specifically, it is used only for readahead and ordered ops
code path.

    Snapshot merge perf:

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

    Incremental OTA of 300M between two git_master branches on Pixel 6:

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

    On Android S (with dm-snapshot): ~15 minutes:

    update_engine: [INFO:cleanup_previous_update_action.cc(330)] Merge finished with state MergeCompleted.
    update_engine: [INFO:cleanup_previous_update_action.cc(130)] Stopping/suspending/completing CleanupPreviousUpdateAction
    update_engine: [INFO:cleanup_previous_update_action.cc(501)] Reporting merge stats: MergeCompleted in 926508ms (resumed 0 times), using 0 bytes of COW image.

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

    On Android T (with io_uring: ~38 seconds):

    update_engine: [INFO:cleanup_previous_update_action.cc(330)] Merge finished with state MergeCompleted.
    update_engine: [INFO:cleanup_previous_update_action.cc(130)] Stopping/suspending/completing CleanupPreviousUpdateAction
    update_engine: [INFO:cleanup_previous_update_action.cc(501)] Reporting merge stats: MergeCompleted in 38868ms (resumed 0 times), using 0 bytes of COW image.

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

Bug: 202784286
Test: Full/Incremental OTA
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: Ia6efff32898cdc6b683ca49c233ef45e8cd732e7
2022-02-08 20:00:39 +00:00
Anton Hansson
e06a82cfd9 Merge "Fix typos in telephony_vendor product makefile" am: de88a91b43 am: 62b51f2e36 am: b2c6919f26 am: b683a82220
Original change: https://android-review.googlesource.com/c/platform/build/+/1974425

Change-Id: I37405ffcb9fd236dd240409a74a85621df546581
2022-02-08 12:20:12 +00:00
Anton Hansson
b683a82220 Merge "Fix typos in telephony_vendor product makefile" am: de88a91b43 am: 62b51f2e36 am: b2c6919f26
Original change: https://android-review.googlesource.com/c/platform/build/+/1974425

Change-Id: I3a13dac1a0bee09a594e1327db2f1cee60ae75a2
2022-02-08 12:04:57 +00:00
DarkJoker360
db4e956dc1 Fix typos in telephony_vendor product makefile
- Remove blank PRODUCT_COPY_FILES

Change-Id: I4c8a19565dc09a802e630d3b057522b3a3ee1cbd
2022-02-07 19:14:23 +01:00
Jordan Demeulenaere
c546ecbbed Merge "Revert "Add a core configuration that disables the zygote."" am: d183371cda am: c21bcf2636 am: 95e64151be am: 7aa3cc6c20
Original change: https://android-review.googlesource.com/c/platform/build/+/1974419

Change-Id: I5ab1942108e13a2360955c8cd16b8c32d3434516
2022-02-07 15:47:23 +00:00
Jordan Demeulenaere
7aa3cc6c20 Merge "Revert "Add a core configuration that disables the zygote."" am: d183371cda am: c21bcf2636 am: 95e64151be
Original change: https://android-review.googlesource.com/c/platform/build/+/1974419

Change-Id: I306c88bd51b48b5f3f2ac3f57e0828935b783b40
2022-02-07 15:33:42 +00:00
Jordan Demeulenaere
d183371cda Merge "Revert "Add a core configuration that disables the zygote."" 2022-02-07 14:53:40 +00:00
Jordan Demeulenaere
fe3d2e672a Revert "Add a core configuration that disables the zygote."
Revert submission 1964759-master-I4f918502e611e950fa039e4e2ed817c97b928ba2

Reason for revert: b/217993447
Reverted Changes:
I4f918502e:Add a core configuration that disables the zygote....
I4f918502e:Add a core configuration that disables the zygote....
I4f918502e:Add a core configuration that disables the zygote....

Change-Id: I5d51a021fea89a0ab6c73349d93117d60cfc9350
2022-02-07 09:05:29 +00:00
Treehugger Robot
cedb81cb2f Merge "Add a core configuration that disables the zygote." am: fb9ec40e65 am: ea27a5efb7 am: abbe220629 am: c38aec0bdb
Original change: https://android-review.googlesource.com/c/platform/build/+/1964621

Change-Id: Ic0a2f9a675d0132ac7cc0269f65508c39bb399d9
2022-02-05 00:55:09 +00:00
Treehugger Robot
c38aec0bdb Merge "Add a core configuration that disables the zygote." am: fb9ec40e65 am: ea27a5efb7 am: abbe220629
Original change: https://android-review.googlesource.com/c/platform/build/+/1964621

Change-Id: Ic1a16ee01fd889be67b24a2b455bf7ccc905bcba
2022-02-05 00:37:46 +00:00
TreeHugger Robot
591bd37632 Merge "Add camera aidl interfaces" 2022-02-05 00:06:59 +00:00
Treehugger Robot
fb9ec40e65 Merge "Add a core configuration that disables the zygote." 2022-02-04 23:52:33 +00:00
Remi NGUYEN VAN
711d9092d6 Merge "Move nearby apex to tethering" 2022-01-31 04:25:49 +00:00
Peter Collingbourne
c19c517894 Add a core configuration that disables the zygote.
In targets that do not include a zygote binary, attempting to start the
zygote service will result in repeated service restarts. Avoid this by
providing a way for targets to opt out of declaring a zygote service.

The fvp_mini target does not have a zygote, so apply this opt-out to
that target.

Change-Id: I4f918502e611e950fa039e4e2ed817c97b928ba2
2022-01-27 20:18:39 -08:00
Frank Wang
e20042c5f8 Revert^2 "Add framework-auxiliary to PRODUCT_APEX_BOOT_JARS"
0ae8ff8077

Change-Id: Iabbdbb0d253137727ff9f94d3c1869e1ca6ef9c9
2022-01-26 04:03:10 +00:00
Ken Sun
54e01abf71 Merge "Revert "Add framework-auxiliary to PRODUCT_APEX_BOOT_JARS"" 2022-01-25 09:08:59 +00:00
Johnny Lee
0ae8ff8077 Revert "Add framework-auxiliary to PRODUCT_APEX_BOOT_JARS"
Revert submission 16684516-auxiliary_bcp

Reason for revert: pdk build breakage
Reverted Changes:
I8c92d2ccb:Add bootclasspath config in Auxiliary.
I9ac910fa2:Add SupplementalProcess stubs and bootclasspath fr...
I7cf3b31b0:Add framework-auxiliary to PRODUCT_APEX_BOOT_JARS

Bug: 216218564
Change-Id: I791870137097180eb02d4ada2b2f0743467cc422
2022-01-25 06:58:55 +00:00
Treehugger Robot
5b926eb43c Merge "Fix licenses and license texts." am: 24b74875e9 am: d2d11848b9 am: 5ca9df0edb am: 0fa6028384
Original change: https://android-review.googlesource.com/c/platform/build/+/1959641

Change-Id: Ie19ccfd29badf0ed43e033d8ea3403466b0ad329
2022-01-25 06:32:16 +00:00
Treehugger Robot
0fa6028384 Merge "Fix licenses and license texts." am: 24b74875e9 am: d2d11848b9 am: 5ca9df0edb
Original change: https://android-review.googlesource.com/c/platform/build/+/1959641

Change-Id: I901451ed28641ff5ec933ec4fba7248ddf7101a5
2022-01-25 06:15:53 +00:00
Bob Badour
d2c7c08e7c Fix licenses and license texts.
Use Android-Apache-2.0 for all Apache 2.0

Remove legacy_restricted (no longer appears in code).

Remove Android.bp which did not build anything but was a placeholder
for the missing license texts.

Test: m nothing
Change-Id: Ia491a59c735ca20afda9b4bbac9d8b33dbf8874e
2022-01-24 16:19:41 -08:00
Frank Wang
eab618f455 Merge "Add framework-auxiliary to PRODUCT_APEX_BOOT_JARS" 2022-01-24 22:36:49 +00:00
Remi NGUYEN VAN
57e8549480 Move nearby apex to tethering
Nearby will be merged together with the tethering/connectivity APEX, so
that module maintenance efforts can be reduced, and the two codebases
can evolve the interfaces that they expose to each other over time.

Bug: 189355156
Test: m
Change-Id: I51ba3fe8bee34fa226fa5ed31ff9f87ee61fdd63
2022-01-24 18:51:03 +09:00
George Chang
145e0f89ab Merge "Add nfc HAL ndk to gsi" am: bf42125c2d am: 761e2e944b am: 5102f4c7c3 am: cbe108cdef
Original change: https://android-review.googlesource.com/c/platform/build/+/1878200

Change-Id: I1c26c55a0fb90732065071edf3733fa55bfc5d37
2022-01-22 02:57:38 +00:00
George Chang
cbe108cdef Merge "Add nfc HAL ndk to gsi" am: bf42125c2d am: 761e2e944b am: 5102f4c7c3
Original change: https://android-review.googlesource.com/c/platform/build/+/1878200

Change-Id: I0a528ddbdb1c4f94bfc26e286cdf4ae36ee1971e
2022-01-22 02:39:15 +00:00
Badhri Jagan Sridharan
a3066973d1 Merge "Add android.hardware.usb-V1 to vndk" 2022-01-22 01:20:20 +00:00
Frank Wang
cce4c7d3a9 Add framework-auxiliary to PRODUCT_APEX_BOOT_JARS
Test: Builds
Bug: b/210728915
Change-Id: I7cf3b31b099b6d27ae1a443f1856421c111ebf62
2022-01-21 23:31:15 +00:00
SzuWei Lin
eec848fd6a Remove GKI from gsi_$arch
After having gki_$arch, there is no longer need for building GKI
by target gsi_$arch. The BoardConfigGkiCommon.mk is also moved
to /device/generic/common. The patch removes all GKI related
settings and files from target gsi_$arch.

Bug: 212486689
Test: build dist of gsi_arm64-userdebug
Test: build dist of aosp_arm64-userdebug
Change-Id: I369f42ad1f6e3f519bb62c3f035e699df1c7468f
2022-01-21 11:54:12 +08:00
Nikita Ioffe
e08d6715bb Merge "Add services-supplementalprocess to system server classpath" 2022-01-20 21:12:43 +00:00
John Reck
eac3339456 Merge "Add IAllocator stable-aidl to VNDK" 2022-01-20 20:21:51 +00:00
George Chang
5baca438e6 Add nfc HAL ndk to gsi
Bug: 204868826
Test: m
Change-Id: I5f590bcc401170b565fb6684ac343d84fb0bdc5e
2022-01-20 03:49:15 +00:00
Paul Hu
89d7061ed3 Merge "Add framework-connectivity-tiramisu to PRODUCT_APEX_BOOT_JARS" 2022-01-20 03:02:56 +00:00
paulhu
74be28c733 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
2022-01-19 11:04:30 +00:00
TreeHugger Robot
5a28f4e497 Merge "Revert "Add GnssVisibilityControl AIDL to VNDK"" 2022-01-18 21:39:45 +00:00
Nikita Ioffe
22006fb420 Add services-supplementalprocess to system server classpath
Test: m
Bug: 212577961
Change-Id: If107d808ea712b50230f4b4d9a9baaf220a66252
2022-01-18 19:47:09 +00:00
Badhri Jagan Sridharan
d67c8e4569 Add android.hardware.usb-V1 to vndk
Bug: 200993386
Change-Id: Ibb328d9080c7879d9fc097039fcc9af18640937f
2022-01-17 19:29:58 -08:00
Treehugger Robot
525ac486bb Merge "Remove clatd" am: 3cf8f4b061 am: 0e00550664 am: 551a9edf7c am: e2647e13a8
Original change: https://android-review.googlesource.com/c/platform/build/+/1948621

Change-Id: Ib25d44d64a8238655e7010200669e7916bb28406
2022-01-15 01:13:28 +00:00
Treehugger Robot
e2647e13a8 Merge "Remove clatd" am: 3cf8f4b061 am: 0e00550664 am: 551a9edf7c
Original change: https://android-review.googlesource.com/c/platform/build/+/1948621

Change-Id: I524955a5af59705186855a34d23bdfc86847d027
2022-01-15 01:00:56 +00:00
Devin Moore
23f088aec1 Merge "Add android.hardware.ir to vndk" 2022-01-15 00:30:46 +00:00
Nucca Chen
aa5fc6ecbd Remove clatd
clatd have been moved to apex module.

Test: TH

Change-Id: Ibcb32225098883b4098807da6468a539e1c41c0c
2022-01-14 14:02:05 +00:00
Edwin Tung
b27b0470df Revert "Add GnssVisibilityControl AIDL to VNDK"
This reverts commit 8bfa7cd0ea.

Reason for revert: Combining GnssVisibilityControl AIDL to gnss aidl_interface, so remove this one.

Bug: 208728105
Change-Id: Iecf00dcb9b00155010d962f5274acf5a02ac8b54
2022-01-14 09:42:03 +00:00
John Reck
616e295786 Add IAllocator stable-aidl to VNDK
Necessary because it's used by libui, which is used
by everything. See also existing allocator hidl HALs
in this list.

Test: make
Bug: 193558894

Change-Id: I6e2e4e29f407a71a57c17683d602a1a8c3cb645a
2022-01-13 17:06:47 +00:00
Frank Wang
3f7acd943c Add com.android.auxiliary to base_system.mk
Test: loaded to an AVD
Bug: b/210728915
Change-Id: Ic9f6592ccaf02ca56147f8386da5c9e3a8085005
2022-01-12 06:14:09 +00:00
Treehugger Robot
4e65ca2810 Merge "Updates OWNERS file" am: 35efbedb4f am: dd52cdce2e am: 14e6ca5053 am: 806c252953
Original change: https://android-review.googlesource.com/c/platform/build/+/1944687

Change-Id: I92caae9c5bfbfb0fc74c6cd52b916cf5724df4e9
2022-01-12 04:51:38 +00:00
Treehugger Robot
806c252953 Merge "Updates OWNERS file" am: 35efbedb4f am: dd52cdce2e am: 14e6ca5053
Original change: https://android-review.googlesource.com/c/platform/build/+/1944687

Change-Id: I34fbfa9fe76da1688a6b680d80de8a2a3fae5bf5
2022-01-12 04:32:54 +00:00
Treehugger Robot
35efbedb4f Merge "Updates OWNERS file" 2022-01-12 03:37:34 +00:00
Treehugger Robot
ce1c150981 Merge "Make com.android.sepolicy mandatory" am: 7297032a8d am: 316b3b71e0 am: 50c9214e69
Original change: https://android-review.googlesource.com/c/platform/build/+/1924017

Change-Id: Ie2adfb4f6417a568cc2e31d404418e69d620f19e
2022-01-11 14:59:30 +00:00
Treehugger Robot
7297032a8d Merge "Make com.android.sepolicy mandatory" 2022-01-11 14:11:37 +00:00
Bowgo Tsai
221628f342 Updates OWNERS file
gsi_keys.mk has been removed on commit
I3714de75b94be43a1364b89b92d893b336aa014b. Removing it from
the OWNERS file and adds developer_gsi_keys.mk.

Bug: 176869478
Test: presubmit
Change-Id: I2eeee65a244c4987f217f004ec47a0b6dca9b564
2022-01-11 11:13:25 +08:00
Jeff Vander Stoep
fe91d896ee Make com.android.sepolicy mandatory
Bug: 199914227
Test: aosp/1910032
Change-Id: I23599517b427363e758e6f06763079cc1482cb47
Merged-In: I23599517b427363e758e6f06763079cc1482cb47
2022-01-10 10:28:39 +00:00
Jeff Vander Stoep
2e272df576 Make com.android.sepolicy mandatory
Bug: 199914227
Test: aosp/1910032
Change-Id: I23599517b427363e758e6f06763079cc1482cb47
2022-01-10 11:25:41 +01:00
Edwin Wong
fd7751d5c6 Merge "Update current.txt for DRM AIDL changes" 2022-01-07 19:07:08 +00:00
Treehugger Robot
5f1458f6d9 Merge "Add android.hardware.bluetooth.audio-V1-ndk.so" am: 097f6bc1da am: a029ebb6dc am: 1f7cbd5dd6
Original change: https://android-review.googlesource.com/c/platform/build/+/1908872

Change-Id: I4f72846d4d54f53e9f4396c6ef5aca9b638d387f
2022-01-07 16:18:04 +00:00
Treehugger Robot
e2a927ed97 Merge "Add a.hardware.audio.common and a.media.audio.common" am: 1c2c284063 am: 03990e11c4 am: d695dfdc70
Original change: https://android-review.googlesource.com/c/platform/build/+/1937128

Change-Id: Ifb11629a6fd8e2711692f92d1a61e465c3108780
2022-01-07 16:16:30 +00:00
Treehugger Robot
097f6bc1da Merge "Add android.hardware.bluetooth.audio-V1-ndk.so" 2022-01-07 13:07:25 +00:00
Treehugger Robot
1c2c284063 Merge "Add a.hardware.audio.common and a.media.audio.common" 2022-01-07 13:07:10 +00:00
Jayant Chowdhary
6ed651473f Add camera aidl interfaces
Bug: 196432585

Test: build

Change-Id: I62d3e320b465ee48c4686a1791f354892ac002dc
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-01-07 03:54:55 +00:00
Josh Wu
6abae30df6 Add android.hardware.bluetooth.audio-V1-ndk.so
This is the package for the shared types of AIDL Audio HAL.

Bug: 203490261
Test: m
Change-Id: I62e1ce426f741b0e241ebf409fa2e9ea91f8fe73
Merged-In: I62e1ce426f741b0e241ebf409fa2e9ea91f8fe73
2022-01-05 23:44:27 -08:00
Jacky Liu
0e3352a241 Merge "Add PRODUCT_EXTRA_OTA_KEYS to add extra ota keys in otacerts.zip" am: bff997fd1f am: 4f9eb6b9e4 am: 429e1f339b am: 5f1bdb32ae
Original change: https://android-review.googlesource.com/c/platform/build/+/1934214

Change-Id: Ic9e4bdd75e95d6df1595e1371977a532ae830db3
2022-01-06 07:37:19 +00:00
Josh Wu
408c7e40a5 Add a.hardware.audio.common and a.media.audio.common
This is the package for the shared types of AIDL Audio HAL.

Bug: 198812639
Test: m
Change-Id: Ia953963380794591eae6b1140d180dc36dfbe7ca
Merged-In: Ia953963380794591eae6b1140d180dc36dfbe7ca
2022-01-06 07:25:13 +00:00
Jacky Liu
5f1bdb32ae Merge "Add PRODUCT_EXTRA_OTA_KEYS to add extra ota keys in otacerts.zip" am: bff997fd1f am: 4f9eb6b9e4 am: 429e1f339b
Original change: https://android-review.googlesource.com/c/platform/build/+/1934214

Change-Id: I79f822306e48c9de2dc76d5f6edd6f27041369d1
2022-01-06 07:17:43 +00:00