- Remove both .lsdump and .lsdump.gz files before
create_reference_dumps.py builds new ABI dumps.
- Replace rm commands with Python built-in functions.
Bug: 120858317
Test: ./create_reference_dumps.py --llndk -libs libbinder_ndk
Change-Id: I11c50eaaba1cdd68f1f5f715293584a6fe0746c6
After m-release, location permission is necessary for getting wifi scan
results, including p2p scan results.
Bug: 113998459
Test: manual test with two devices
Change-Id: I0f7e3578108c690bea382c41abd28b98fd1d5d31
This commit adds `--path-filter` to the deps command so that we can
filter the relevant ELF files (and their dependencies) with a simple
command.
Test: ./tests/run.py
Change-Id: I6b10b60635ca660049e91292fb95a6e3deeeb090
This commit adds `--unzip-files` to the definition tool so that
definition tool will scan the ELF files in the APK files.
Bug: 120519679
Test: ./vndk_definition_tool.py deps-insight \
--system ${ANDROID_PRODUCT_OUT}/system \
--vendor ${ANDROID_PRODUCT_OUT}/vendor \
--tag-file datasets/eligible-list-29.csv \
-o output_html
Change-Id: Id2e3295d70f3d9ff060dd6b64121f2b0464ceece
This commit adds app-specific search paths for the native libraries in
APK files.
Bug: 120520550
Test: ./tests/run.py
Change-Id: Id547c963c4fb2cf2f29f9eb07a958f1d43e86b65
This commit replaces `buf.size()` with `len(buf)`. The former
returns the file size and the later returns the mapped buffer size.
`len(buf)` is more general because `buf.size()` is only available to
`mmap` instances.
Test: tests/run.py
Change-Id: I66e8ecd5b475f4fc686aba062b3486ce4ac7f882
Update gen_buildfiles.py so that it generates filegroup-based notice
references. The previous usage that relied on the parent directory
pattern, '../', is no longer supported.
Test: Built successfully
Change-Id: Iddf334ed9c4e6139cc896a77e07b9eeb596c257e
This commit adds `list_app_shared_uid.py` which lists apps with
sharedUserId in their AndroidManifest.xml.
Test: list_app_shared_uid.py -o out.csv ${ANDROID_PRODUCT_OUT}
Change-Id: I93949a79801364523790042dd3a362f6d5a58d0e
header-abi-dumper looks ahead one token to determine whether an
identifier is a template. This commit makes the dumper get token from
preprocessor so as to handle template instantiation in macro.
Test: ./test.py
Bug: 117582158
Change-Id: I0e3f3708ec98eba5353fee619f4cfbdc50570a59
For independent system update, we update system.img only.
But the devies that has product partition has some system modules
installed in product partition. In that case, we must update product
partition as well for independent system update.
Use '-s' option without parameters to flash product.img in addition
to system.img for mixed build targets.
Bug: 119266183
Test: development/vndk/tools/build_mixed \
-p out/prebuilt_cached/artifacts/system/vbmeta.img \
-s \
out/prebuilt_cached/artifacts/system \
out/prebuilt_cached/artifacts/blueline \
out/dist \
out/prebuilt_cached/artifacts/system/checkvintf
Change-Id: I86da00630bde7e9e522160c98691087bca9d7d66
From Android 4.0, it is not allowed to do network io on main thread.
Do write method in another thread to adapt this change.
Bug: 113998459
Test: manual test with two devices
Change-Id: I0d251fab110d34167d47e9c3a50af3307b76d5b7
Sender sent the file indeed, but receiver cannot save content normally due to below reason:
1. App shouldn't create the directory in external storage root,
it should put files in its application path.
2. It is not allowed using file:// uri for posting file content above API 24,
it should be done by FileProvider.
Bug: 113998459
Test: manual test with two devices
Change-Id: Ie50dd64206009f07414a85262e725cc4d8ac1757
When the compiler finds an unknown type, it queries ExternalSemaSource
for the declaration. If the type is not declared anywhere, the compiler
ignores the type name and sets the type to int.
To keep the type name in AST, this commit adds FakeDeclSource that
creates declarations for the unknown types.
Test: header-abi-dumper test.h -o test.txt -suppress-errors -dump-function-declarations -- -x c++
Bug: 117582158
Change-Id: I2d49b7a4f9e2a991224e6702938bc63744bba039
This commit breaks `HeaderAbiLinker::LinkAndDump()` into several
functions, moves `llvm::object::Binary`-related code to `SoFileParser`,
removes unused code in `IRReader`, and remove some space characters
before semicolon.
Test: ./tests/test.py
Change-Id: I9f90f07985c84ff95bf093c65ede091d44849e33