Otherwise, it causes the CTS-on-GSI failure on non-emulator devices:
CtsPermission2TestCases android.permission2.cts.PrivappPermissionsTest#testPrivappPermissionsEnforcement
Because non-emulator devices lack the permission file in their /vendor.
/system/priv-app/SdkSetup/SdkSetup.apk
/vendor/etc/permissions/privapp-permissions-goldfish.xml
Bug: 110517983
Test: boot a GSI and checks that SdkSetup.apk is moved to /vendor
Change-Id: I3086f99c477eeca38f42041e1809a5aa3b8bfa7a
This only includes a few tests to start with.
Bug: 62492960
Test: Ran new unit tests.
Test: Ran with all different options and verified it produces the same
Test: output as the previous script.
Change-Id: Iad29a5f04f49986139c92030a3259cae512859af
The NDK's minimum target is now android-16 which had at least 1.2.7.
Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/230
Change-Id: I4e1e5b3613bdf54d101a99358107c5a52dd09d71
This commit adds `vndk-lib-extra-list-current.txt`. This file contains
the LLNDK/VNDK/SP-HAL shared libraries (and dependencies) that cannot be
specified in Android.bp.
Bug: 80521281
Test: make vts
Change-Id: If7b414589786dab424a21773bfd33f10b415d899
Merged-In: If7b414589786dab424a21773bfd33f10b415d899
(cherry picked from commit 7e177685d8)
This commit checks whether the path maps to a git project specified in
`manifest.xml`. If it does not map to a git project, emit an error and
skip it. If we don't do so, an exception will be raised because the
`sorted()` function cannot compare `None` object with `str` object.
Test: Add a project to external and it does not stop the analyzer.
Change-Id: I386ab7c1f76d5630a2c5f43186f38a791a3bb7b9
In Android P, the version field did not get incremented properly in
all places. So if a file with a v1.0 version is found, do a further check
to verify if the num field is really valid.
Test: Verified that a file with v1.0 gets checked and the valid num field
Test: is set correctly.
Test: Verified that a file with v1.1 automatically gets num field set to
Test: valid.
Change-Id: I7f828294c833e334cad76a866bbaa1d78ac02cfb
Merged-In: I7f828294c833e334cad76a866bbaa1d78ac02cfb
(cherry picked from commit b558fe4d53)
Add 'compile_dex' flag to API stub rules. Soong will generate build
targets which compile the JARs into dex files. Those will be compared
against the boot class path dex files to determine the public API surface.
Bug: 79409988
Test: m android_stubs_current, check javalib.jar contains classes.dex
Change-Id: Ie7238572ece0678133ba08203108a923ea2f56ba
Use metalava --rewrite-annotations to pass the compiled sdk stub
class files through metalava again to make the annotations package
private.
Bug: 110532131
Test: m out/target/common/obj/JAVA_LIBRARIES/metalava_android_stubs_current_intermediates/classes.jar
Change-Id: I124e8d89075ec682e9fc3602ef232492bed849aa
Merged-In: I5180bc18979415cec6255beb3fe2c48ec298d3ae
- Convert method declarations to thunk symbols if thunk information
exists.
- Add a test case and reference dumps for virtual inheritance.
Bug: 80671888
Test: ./tests/test.py
Change-Id: I55ecbd7c8b0f5b0f534d81e6c6967f99ffd1d42e