Uses skip_mount.cfg for `init` to skip mounting product and
product_service paritions in GSI. The patch also removes
the un-mount in `init.gsi.rc`.
With this patch, a device with flashing GSI will not use the
content in product/prodcut_service partitions on the device
and will always use the content under /system/product in GSI.
The patch also rename the target/product/vndk to
target/product/gsi.
Bug: 120208657
Bug: 117246558
Test: Boot blueline master/P with flashing aosp_arm64-userdebug
Test: /product and /product_service should be symbolic links
Change-Id: Idc9c60e5a05b3d90fc4ab64b0ac000571849b19b
dmctl can list all device mapper targets and their tables which is
extremely useful information for a bugreport. Especially to compare
the device mapper setup with the partition metadata.
Bug: 120916687
Test: 'dmctl list device -v'
Change-Id: I9e3afcf146b2814b0304f69cdf6029303beb57c7
Signed-off-by: Sandeep Patil <sspatil@google.com>
libunwind has no dependency on vendor modules.
Remove it from VNDK list.
Bug: 120948701
Test: build and boot
Change-Id: Ic4c0080fea7da021334aaa1a81b3b7377b06f62f
The device currently targeted does not have a product partition.
Adding product-specific apps to it therefore trips up the artifact path
check for /system.
Workaround that by whitelisting /system/product/% for now. This should
be removed when the device has the right partitions.
Bug: 110072687
Test: build mainline_arm64
Merged-In: I54175bc51df5dfe82c64f66f255a2cea6ff9b9ab
Change-Id: I54175bc51df5dfe82c64f66f255a2cea6ff9b9ab
The app is moving to /product, so doesn't belong in
handheld_system anymore. Note: a handheld_product will
likely be created at a future point in time.
Bug: 110072687
Test: make
Change-Id: Ic2959dd5e218de0fb9c070ba1dd743c57d052234
The app is moving to /product, so doesn't belong in
handheld_system anymore. Note: a handheld_product will
likely be created at a future point in time.
Bug: 110072687
Test: make
Change-Id: I46dc990dfcf4a501c2a362e4ebaa210ba306cee5
The device currently targeted does not have a product partition.
Adding product-specific apps to it therefore trips up the artifact path
check for /system.
Workaround that by whitelisting /system/product/% for now. This should
be removed when the device has the right partitions.
Bug: 110072687
Test: build mainline_arm64
Change-Id: I54175bc51df5dfe82c64f66f255a2cea6ff9b9ab
Individual products can add their own calculator package if desired.
Bug: 120905067
Test: lunch aosp_arm64 && make -j8
Change-Id: I60490b6e2a42c4304768075e8fef9f07cb72d268
For go devices, the network stack should not run in a separate process:
NetworkStackLib is used in-process instead.
Test: built & booted a go and non-go config
Bug: b/112869080
Change-Id: I18b0446a0c0d19519ce0ef344f185b54ad7d4ac6
Needed to get some space on marlin-eng :(
Also avoids static linking libart into perfprofd. Roland will follow-up by reverting the no-perfprofd changes.
bug: 73175642
Test: lunch marlin-eng && m -j32
Change-Id: Ic1c79c6dd1052981801b92604f9891a8a63b4ea0
Test: adb shell cmd overlay enable --user 0 com.android.theme.icon.square
Bug: 118757933
Bug: 118757664
TL;DR;;
RRO apk and it's corresponding actors (applications that enable/disable the overlay)
Actors
[AOSP] packages/apps/ThemePicker is actor for IconShape*Overlay and AccentColor*Overlay
[AOSP] packages/apps/Settings is actor for DisplayCutout*Overlay
RRO packages
[AOSP] frameworks/base/packages/overlays/DisplayCutout*Overlay
[AOSP] frameworks/base/packages/overlays/IconShape*Overlay
[AOSP] frameworks/base/packages/overlays/AccentColor*Overlay
Change-Id: Ibaf5f005d112ad2ee8fc086bd7616b86446794a0
PRODUCT_PACKAGES installs the primary arch variant of executables
and both the primary and secondary arch variant of shared libraries.
It also installs the dependencies of each files.
A lot of audio libraries were listed in PRODUCT_PACKAGES although
they are dependencies of audioserver.
Thus those libraries where installed in both archs whereas
only the arch of the audioserver is needed.
Thus remove all audio libraries from PRODUCT_PACKAGES and have them
installed automatically as a dependency of audioserver in the arch
variant of audioserver.
That should also save ~3MB of space on the system partition.
Test: m -j; du -a $ANDROID_PRODUCT_OUT/system > before
# apply this patch
rm -r $ANDROID_PRODUCT_OUT
m -j; du -a $ANDROID_PRODUCT_OUT/system > after
meld before after
# lib64 is not changed, lib32 does not have audio libs
Signed-off-by: Kevin Rocard <krocard@google.com>
Change-Id: Icbcf4c92d60819ca2f9c14ba0aec043584ed081f
Marlin is full for now.
This reverts commit ede0ba0c3b.
Reason for revert: Marlin is full, those library take too much space for now
Change-Id: I3f355058db318fa77cfce8171fc91d73dc9cc1ca
- LMKD_LOG_STATS being false is a disk-saving flag not suitable
for mainline
- USE_HWC2 should likely be cleaned up, but toggles some timing
behavior in libhwui
Bug: 80410283
Test: build mainline_system_arm64
Change-Id: I8a1be50bd2cc48405656cd1daad8e8a1ca555871
This includes the dns resolv APEX in the system image
Bug: 119527674
Test: build / boot crosshatch
Change-Id: Ie92db9979fb63bfabcd29590d0ea236fd8717970
Before slim buttons and floating were mutually exclusive, now they can
both be enabled as overlays so floating with a slim nav height can
occur.
Bug: 112934365
Test: manual
Change-Id: I34029973b968de725dc918f4ccfcdb12854bccd8
To better test CBRS, we want IRadio 1.1 to be Android P plus CBRS
HAL interfaces, while 1.2 will be 1.1 plus all other Android Q
interfaces. So we are creating V1_2 folder and moving everything
currently defined in android.hardware.radio.config.V1_1 there.
Bug: 117805040
Test: build and telephony unittest
Change-Id: Icf208036385d1d9994d07fe7d839b290f2234622
Merged-In: Icf208036385d1d9994d07fe7d839b290f2234622
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.
Bug: 117805040
Test: build and telephony unittest
Change-Id: I0a0c651b25caa4d0bd88bf51c02a9f7160d0caff
Merged-In: I0a0c651b25caa4d0bd88bf51c02a9f7160d0caff
To better test CBRS, we want IRadio 1.1 to be Android P plus CBRS
HAL interfaces, while 1.2 will be 1.1 plus all other Android Q
interfaces. So we are creating V1_2 folder and moving everything
currently defined in android.hardware.radio.config.V1_1 there.
Bug: 117805040
Test: build and telephony unittest
Change-Id: Icf208036385d1d9994d07fe7d839b290f2234622
The audio shim were never intended to be part of the VNDK,
they are not ABI stable (as they are a shim to a non ABI stable legacy
API) and provide no value as are just a set of simple helper functions.
Bug: 118203066
Test: compile
Change-Id: Ie6f14dc314c46cf8f29ba8dfd872942cda78bca8
Signed-off-by: Kevin Rocard <krocard@google.com>
Some non-phone form factors don't want cameraserver to save storage and RAM.
Pushing it down to handheld and other build files allows selective inclusion to
happen there.
Intended to be a no-op refactoring, will disable for ATV in a follow-up CL.
Bug: 118369095
Test: built system image for random device as smoke test
Change-Id: I260fa5c9e512341d6a6824afebd5e8273fa5e66c
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.
Bug: 117805040
Test: build and telephony unittest
Change-Id: I0a0c651b25caa4d0bd88bf51c02a9f7160d0caff
This is a types-only HAL used by any HAL as a convenient primitive for
effectively using safe_union, so it should be able to be
double-loadable.
Bug: 119790516
Test: build and boot walleye
Change-Id: I8f48ec6e3a0f47bfd5bb90d8c496848fbed85687
These are libraries commonly depended on by things on the product
partition. Add them explicitly for now.
Bug: 80410283
Test: build mainline_system_arm64
Change-Id: I6696990243397aa7109f88951ff120acf2a0f7e8
rss_hwm_reset is binary that reset RSS high-water mark counters for all
currently running processes. It runs in a separate process because it
needs dac_override capability.
The binary is not a persistent service. It is invoked from a system
service by flipping sys.rss_hwm_reset.on property.
Bug: 119603799
Test: adb shell ls /system/bin
Change-Id: Iee0b54ec6486d8f23048819493f6d710db3feff6
From external/iputils
This had been accidentally skipped in automerger.
Test: check installed files on userdebug builds
Change-Id: I26e7cfa03f8a788283bce9c75fc38b4221cd57e6
(cherry picked from commit 0d78e19721)
This ensures all -userdebug builds have the sanitizer-status binary,
which is used to check which build flags were used for a given image.
It is important to distinguish between what the build fingerprint
claims, and what is actually available on the phone.
Change-Id: Iac1eabb8c5ed885a057f7a302b1887b7e9c4ccbc
Merged-In: Iac1eabb8c5ed885a057f7a302b1887b7e9c4ccbc
(cherry-picked from 3a26f80cd4)
This is a workaround solution. It let GSI to unmount product
partition when booting. The patch avoid the problem that
- share UID between between system and product partition
- the product partition override the content under /system/product
Bug: 119391482
Test: Boot aosp_arm64-userdebug on a blueline device with Android P
Change-Id: I48808fcc1ca527a23eb1446b97176b08268b500e
This includes the time zone data APEX in the system image
which should flush out any obvious issues.
Bug: 119026403
Test: build / boot taimen
Change-Id: I3d9a8289d8af405a373c94891b482540e59a3571
Unless specified otherwise (using `DONT_INCLUDE_RUNTIME_APEX`).
This reverts commit 4c39bd2c6e.
Test: make systemimage on taimen-userdebug
Test: make systemimage on marlin-eng
Test: make systemimage on marlin-userdebug
Test: make systemimage on sailfish-userdebug
Bug: 113373927
Change-Id: I1f1f0ffcc7bb6bf26d4df72613a806d2d73c5e82
This reverts commit cb6e935db8.
Reason for revert: Increases the system image size beyond the
limit for some targets (e.g. marlin).
Bug: 113373927
Change-Id: Ia609523a60179c32d377d0735049c944464ea0cc
Required by certain ringtones, apparently (though I couldn't find
what actually uses this library).
Bug: 80410283
Test: lunch mainline_arm64; m
Change-Id: I36b5b07156b41c442903d7d07e6b9d9f4abe2345
This is disabled by default, but can be enabled via a
config overlay.
Bug: 116191025
Bug: 80410283
Test: make
Change-Id: Ibfe5d85580ccccc774de166750d91efd74458a8d
Remove apex_debug_key, in favor of apex.test.key which is under
/system/apex and is built with soong.
Bug: 118213152
Test: /system/etc/security/apex/testkey exists
Change-Id: Iaa0facea2d26cadd48783778e8915bc3c560de10
Bug: 118510237
Test: Boot and test callback on ThermalHAL 1.1
Test: Boot and test callback on ThermalHAL 2.0
Test: Kill ThermalHAL process
Test: Change device threshold to trigger shutdown
Change-Id: Icb2575d3560847b4d3b5869c6dcb64dc9a728af9
Some libs, such as libandroid_net.so and some other Renderscript related
ones, can't be built in PDK due to missing frameworks/base.
Bug: 118634643
Test: build PDK; build doesn't break due to missing VNDK libs
Change-Id: Ic2bf657d796c2044c3b8f49b2963ca84760d54d1
Locales not in this list will get stripped.
Bug: 80410283
Test: lunch mainline_arm64; m
Change-Id: I90a63e234e2f2ee32da8f9f257248f5ee6354151
Merged-In: I90a63e234e2f2ee32da8f9f257248f5ee6354151
(cherry picked from commit d994b0dc98)
Prevents additions of non-aosp artifacts to these products.
Bug: 80410283
Test: lunch mainline_arm64; m nothing
Test: lunch mainline_system_arm64; m nothing
Change-Id: Id12a77bd7f4cc9917aecbca76e8a2842d7c77613
The existing 'generic' targets are emulator devices, and targeting
it has the side-effect of including emulator-specific artifacts.
Create a mainline device instead, which is really generic. This also
allows specifying tweaks unsuitable for the emulator.
Include BoardConfigGsiCommon for now, even though it includes a few
things we likely won't want in the future.
Bug: 80410283
Bug: 111538404
Test: lunch mainline_arm64; m
Change-Id: I15e7cb41fcbd3c0592a091ba7a8575ddf10bda71
Add new APIs and types to support WPA3 and OWE new Wi-Fi security
standards.
Bug: 112195778
Test: Functional tests
Change-Id: I0968e272825938222e0691b0806ec51137a72d3c
Let this be defined in the leaves instead. As is it frequently causes
problems where the product inheriting this also inherit another value
of PRODUCT_SHIPPING_API_LEVEL, leading to invalid values unless
overridden again.
Bug: 80410283
Test: lunch mainline_arm64; m nothing
Test: lunch mainline_system_arm64; m nothing
Change-Id: Id08b6cc0cd8815404e548c521c9e40706ba8ca16
libvixl-arm and libvixl-arm64 are not used by any vendor libraries, but
only by ART. Removing them from VNDK.
Test: m
Change-Id: I5b83be13cd70fb12581fe561798484a8907022c6
To make the generic_x86_arm bootable.
Third party translabor binary can be added on the resulting
system.img and be tested at least on emulator.
BUG: 117673798
Change-Id: Iffbcf9217bbedc12ba83a4851e84ecbf299bf8e7
Merged-In: Iffbcf9217bbedc12ba83a4851e84ecbf299bf8e7
To make the generic_x86_arm bootable.
Third party translabor binary can be added on the resulting
system.img and be tested at least on emulator.
BUG: 117673798
Change-Id: Iffbcf9217bbedc12ba83a4851e84ecbf299bf8e7
Missed adding this app in I5afabc7dcc4ca320f06fdc4a2669fb1b81e53b0b.
It is usually added in conjunction with RcsService.
Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: Ic721d1dcef479a03f4b603bd77a91801ea9dd9ec
With a workaround for preopt files that get installed into an unknown
path. The BoardConfig defines whether the files go in /system_other,
so allow that.
This reverts commit 46bf4b510c.
Test: lunch mainline_arm64-userdebug; m nothing
Change-Id: Ia75670eb6e3730ad0ff17f5b81954b69f6cab22b
With system-as-root, both first and second stage init belong to
system, but without system-as-root, first stage belongs to vendor and
second stage belongs to system. This change references two phony
packages that include the right parts of init for systen and vendor.
Bug: 117606184
Test: mainline builds work properly
Change-Id: I997309655fef28cb1c3d4b3be989c035b5c6488d
These binaries are commonly included in debug builds, so include
them on mainline too.
Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: If0adfb4795ea82e158a0218d9c16d897012dd8b5
See go/heapprofd for details. This will be used to profile the memory
usage of system services and apps.
See https://b.corp.google.com/issues/111289182#comment2 for system
health approval.
Change-Id: I2cf3af57e22c39c968afc0ca971f1d3862e27fe2
Fixes a bug where system_other/ paths are considered part of
the "system" path.
Test: lunch mainline_arm64; m nothing
Change-Id: Id7aad41ea285f545260289f59e55c251677bdc38
Add ANS to telephony systems
Bug: 114793357
Test: verified it using developer options
Change-Id: Id31be8524934b47345ba95954636822eb59264ac
Merged-In: Id31be8524934b47345ba95954636822eb59264ac
Use resource overlays to change the 2 dimension navigation_bar_height
and navigation_bar_frame_height to specify how large the navigation bar
is and how large its buttons are (also for width). There are two
overlays: first to slim the navigation bar to 75% and the other to have
floating navigation buttons.
go/navbar-experiments-doc
Test: manual
Bug: 113952590
Change-Id: Ibd93097e223cbf0de18011064b3da38b6d069d24
This makes iorapd be built as part of the system image
with a regular 'make' command.
Part of a topic that has 'iorapd' start up by init_rc.
Bug: 72170747
Change-Id: I300bc35f508fbe36bf0f545e20236c718392d571
This reverts commit 13467f5993.
Reason for revert: Dependencies which broke tests due to exclusion from
LOCAL_JNI_SHARED_LIBS have been added.
Change-Id: I4aca69d7bfa12a132b8334deb61ed350b434f5df