Explicitly set the min_sdk_version of all apps used as part of the
ApkInApexTest test. If unset, they will default to the current SDK, but
the tests are intended to be run on SDK 33 devices, and a higher
min_sdk_version will prevent installs on SDK 33.
Ignore-AOSP-First: ApkInApexTest not available in AOSP yet
Bug: 289877353
Bug: 293264320
Test: atest ApkInApexTest
Change-Id: Id93dfcdd5a5272270ae7b8d53b29cc5b42943931
The UpdatableSharedLibsTest test installs a test APEX as part of the
test. However, the APEX blueprint does not explicitly set its
min_sdk_version, so the build will assign it a defult value, which
currently happens to be 34. This means that UpdatableSharedLibsTest will
push an incompatible APEX to T devices, which will result in a bootloop
when the test reboots the device.
Test: atest UpdatableSharedLibsTest
Bug: 289877353
Change-Id: Iab7f7d4f6eefca0873a15360477146022cb5422f
The ApkInApex test installs a test APEX and inspects what was and what
wasn't successfully installed. However, the APEX blueprint does not
explicitly set its min_sdk_version, so the build will assign it a
defult value, which currently happens to be 34. This means that
ApkInApex, which should be possible to run on SDK 33+, fails to install
its APEX on SDK 33.
Explicitly set the min_sdk_version of the test APEX to 33.
Note: with this CL, ApkInApexTest no longer crashes. It does however
fail. That failure will be fixed in a follow-up CL.
Ignore-AOSP-First: test developed internally
Test: atest ApkInApexTest # test will fail, but will at least not crash
Bug: 289877353
Change-Id: Iab7f7d4f6eefca0873a15360477146022cb5422f
sdkextensions_conformance_framework_tests is installed in mts, which runs
ConformanceFrameworkTests.jar. Since ConformanceFrameworkTests.jar is
not installed in mts, it causes errors in mts. Failing test
v2/android-test-harness-team/mts/mts_unit_tests.
Bug: 261855411
Test: atest sdkextensions_conformance_framework_tests in
tm-mainline-prod branch
Change-Id: I7e6cfb840f328728cce6be2bc64fcd398a5d6784
These 3 apps are used in a mts host test. Enforcing min_sdk_verion helps
ensure backwards compatibility with older devices.
Test: TH
Bug: 156476221
Change-Id: Ic374f43c67ed96885559a105cf5f356b57d3e5f0
Fetch all *CLASSPATH jars and dump their data into .pb files in the temp
directory shared between the target preparer and the testcases.
Test: atest ClasspathFetcherTest
Bug: 254647172
Change-Id: I008001975ba5febbec5fec20a908b1dcc02308f6
This will take over the responsibilities of StrictJavaPackagesTest's
setup code, and by fetching and processing all classpath data, as
defined in go/stricter-java-packages-test .
Test: atest ClasspathFetcherTest
Bug: 254647172
Change-Id: I93d2651994f7602d60ae91ca2401b83ae8c57baf
Bug: 235322441
Test: built locally and verified contents.
Change-Id: Ia1a8f0f1dc8bcba2142e36f6236f5940fc2c8cb9
Ignore-AOSP-First: file is not part of AOSP
(cherry picked from commit dce28636ce)
Test: m mts && mts-tradefed run mts-core-tests-list-eng-only
or
Test: m mts && mts-tradefed run mts -m ApkInApexTest -t
com.android.modules.apkinapex.ApkInApexTest
Ignore-AOSP-First: work not in AOSP yet
Bug: 208239394
Change-Id: I500e0c385bfac0fb44f4f2f00ff51245925fa108
Apk in apex should not be installed.
Test: atest ApkInApexTest
Test: (test the test:) manually change AndroidManifest.xml of the app and set
the min sdk version to 30. Repeat the test and the test should fail (because
with min sdk version 30, the app should be installable).
Bug: 208239394
Ignore-AOSP-First: feature not in AOSP yet
Change-Id: I7caa31fe366b74d74f1d8e9e53d6ddd241a70751
Test: m mts && mts-tradefed run mts-core-tests-list-eng-only
or
Test: m mts && mts-tradefed run mts -m UpdatableSharedLibsTest -t
com.android.modules.updatablesharedlibs.UpdatableSharedLibsTest
Ignore-AOSP-First: functionality is not yet on AOSP
Change-Id: Ica667253f785af8f17853982d9a57035c92223af
Errorprone is being updated, and adds a check for
these characters.
Bug: 190944875
Test: Presubmits
Ignore-AOSP-First: This file only exists in internal master
Change-Id: I970673a984bb2285ce04704285cd0becfb3d5ce3
This test verifies that PackageManager#getSystemSharedLibraryNames
returns libraries that were introduced via updatable shared libraries in
apexes.
Test: atest UpdatableSharedLibsTest
Bug: 191978330
Ignore-AOSP-First: logic under test is only available in internal master
Change-Id: I8a7bcc1a89cd056a5ecf3e4d519a38ff77addebd
Added SPDX-license-identifier-Apache-2.0 to:
javatests/com/android/modules/updatablesharedlibs/apex/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: I4474debdfebd557bb46d8ade13c86ea9f8e7f06f
Test: atest UpdatableSharedLibsTest
Bug: 191978330
Ignore-AOSP-First: logic under test is only available in internal master
Change-Id: Ie0181833c8b35d98ab22b00fe36d3273c934559d
Test: atest UpdatableSharedLibsTest
Bug: 191978330
Ignore-AOSP-First: logic under test is only available in internal master
Change-Id: Iebfed4a0f48ccbf17d5d7dae22980a178c54edfe
Just adding the tests now, not making them run yet.
Test: atest UpdatableSharedLibsTest
Bug: 191978330
Ignore-AOSP-First: logic under test is only available in internal master
Change-Id: I48e8b9422c8703cd4cec6552e0dcfd3b82021816