Make it so that these can be used in other scripts by moving them from
functions defined in envsetup.sh to standalone scripts.
Test: stacks zygote64
Change-Id: I55ba76b248c54d9193fb019b7f4aca2f4c3a05bd
`pid zygote` will match zygote64 as well, but someone using `stacks
zygote` clearly wants the 32-bit version. Attempt an exact match before
we try a nonexact one.
Test: stacks zygote
Test: stacks zygote64
Change-Id: I5fd75cdbe4982c7ea831749c9ba823a2451e5490
Update for newer debuggerd output marking the memory dump around
the currently executed code.
Add a hack for ARM assembly: override the assembler-emitted $d
symbol marking all our .byte data, so that objdump will disassemble
as instructions.
Test: manual
Change-Id: I100ed9e0ce39c073d5885cc430d78c24fef38882
For a system image that is not a GSI but built for a specific
product (e.g. Pixel 2 system image), in order to be
flashed on a device of an older Android version, the vbmeta.img
must be replaced by a null vbmeta.img built by avbtool.
Bug: 78215452
Test: development/vndk/tools/build_mixed -v 8.1.0
-m development/vndk/tools/modify_system_img.sh
-p <null_vbmeta_image_path> gsi_build_dir device_build_dir out_dir
<check_tool>
Merged-In: I5bc9f541f177205d548a0e2e97eb169686567bd5
Change-Id: I5bc9f541f177205d548a0e2e97eb169686567bd5
(cherry picked from commit e4a6d70f47)
We need to compare results between x86 and arm. 32bit and 64bit.
Bug: 79442777
Test: run the script against x86_64 Emulator and Pixel 2
Change-Id: I47ced1cfed7539c1c8cc0c84eaaa8b4ac69b69be
This commit adds a utility to download multiple patch files from Gerrit
by a change list query.
Test: repo_patch.py -g [gerrit] [query]
Change-Id: I3685c48d2ea4e5a9fa1915c4e31bc6ebb2d4ed97
This commit adds a search on Gerrit Code Review URL so that a better
error message can be shown to users and the setup instructions can be
presented.
Test: repo_pull.py json -g [gerrit] [query]
Test: repo_review.py -g [gerrit] [query] -l Code-Review 2
Change-Id: I1f819c51e34c573f526ca3e30e237cdaf8a27160
This commit catches FileNotFoundError so that VNDK definition tool can
work on the early devices that do not have /vendor/default.prop.
Test: vndk_definition_tool.py deps-insight \
--system ${BULLHEAD_OC_MR1}/system \
--vendor ${BULLHEAD_OC_MR1}/vendor
Change-Id: Ia87e5a80894c5f0ab3997dddfbb0332ed1ae5aef
This commit raises a ValueError if the vdex version is unknown.
Test: vndk_definition_tool.py check-dep --check-apk \
--system ${ANDROID_PRODUCT_OUT}/system \
--vendor ${ANDROID_PRODUCT_OUT}/vendor \
--tag-file dataset/eligible-list-${VER}.csv
Change-Id: I95e92c08aa26433e575db482de75f1671bd1f017
New test tools are adding --no-hidden-api-checks when tests have
hidden-api-checks=false in their AndroidTest.xml, however this is not
supported by runtest. As only runtest is available in AOSP, this leaves
no option to make tests of internal classes pass.
Add an option to disable the check in runtest so we can still run tests in
AOSP.
Test: runtest frameworks-net still fails
Test: runtest --no-hidden-api-checks frameworks-net now passes
Change-Id: I9be9674d0bf2588ff509121273379f08d4cb3aea
For a system image that is not a GSI but built for a specific
product (e.g. Pixel 2 system image), in order to be
flashed on a device of an older Android version, the vbmeta.img
must be replaced by a null vbmeta.img built by avbtool.
Bug: 78215452
Test: development/vndk/tools/build_mixed -v 8.1.0
-m development/vndk/tools/modify_system_img.sh
-p <null_vbmeta_image_path> gsi_build_dir device_build_dir out_dir
<check_tool>
Change-Id: I5bc9f541f177205d548a0e2e97eb169686567bd5