Searched refs:ART_TEST_CHROOT (Results 1 – 11 of 11) sorted by relevance
30 if [[ -n "$ART_TEST_CHROOT" ]]; then32 [[ "x$ART_TEST_CHROOT" = x/* ]] || { echo "$ART_TEST_CHROOT is not an absolute path"; exit 1; }34 if adb shell test -d "$ART_TEST_CHROOT"; then37 echo -e "${green}List open files under chroot dir $ART_TEST_CHROOT${nc}"38 adb shell lsof | grep "$ART_TEST_CHROOT"49 | sed -n -e "s,^.* \\(/proc/.*/root\\) -> $ART_TEST_CHROOT\$,\\1,p" \67 echo -e "${green}List processes running from binaries under chroot dir $ART_TEST_CHROOT${nc}"72 echo -e "${green}Tear down the chroot set up in $ART_TEST_CHROOT${nc}"84 local dir="$ART_TEST_CHROOT/$dir_in_chroot"96 adb shell rm -f "$ART_TEST_CHROOT/bin"[all …]
123 if [[ -n "$ART_TEST_CHROOT" ]]; then125 echo -e "${green}Prepare the chroot dir in $ART_TEST_CHROOT${nc}"128 [[ "x$ART_TEST_CHROOT" = x/* ]] || { echo "$ART_TEST_CHROOT is not an absolute path"; exit 1; }131 adb shell mkdir -p "$ART_TEST_CHROOT"147 "&&" mkdir -p "$ART_TEST_CHROOT$(dirname $f)" \148 "&&" cp -f "$f" "$ART_TEST_CHROOT$f"152 adb shell mkdir -p "$ART_TEST_CHROOT/tmp"153 adb shell mkdir -p "$ART_TEST_CHROOT/data/dalvik-cache"154 adb shell mkdir -p "$ART_TEST_CHROOT/data/local/tmp"157 adb shell mkdir -p "$ART_TEST_CHROOT/system/etc"[all …]
27 if [[ -n "$ART_TEST_CHROOT" ]]; then29 if [[ "x$ART_TEST_CHROOT" != x/* ]]; then30 echo "$ART_TEST_CHROOT is not an absolute path"34 if adb shell test -d "$ART_TEST_CHROOT"; then36 adb shell rm -rf "$ART_TEST_CHROOT/linkerconfig"39 adb shell rm -rf "$ART_TEST_CHROOT/system"42 adb shell rm -rf "$ART_TEST_CHROOT/data"45 adb shell rmdir "$ART_TEST_CHROOT" || adb shell ls -la "$ART_TEST_CHROOT"
44 if [[ -z "$ART_TEST_CHROOT" ]]; then62 adb shell mkdir -p "$ART_TEST_CHROOT/$dir"63 adb push $dir "$ART_TEST_CHROOT/$(dirname $dir)"70 "$ART_TEST_CHROOT/system/etc/public.libraries.txt"73 adb shell mkdir -p "$ART_TEST_CHROOT/system/framework"78 adb shell mkdir -p "$ART_TEST_CHROOT/apex"98 adb shell rm -rf "$ART_TEST_CHROOT/apex/${dst_apex}"99 adb push $src_apex_path "$ART_TEST_CHROOT/apex/${dst_apex}"
27 if [[ -z "$ART_TEST_CHROOT" ]]; then47 tests=$("$adb" shell chroot "$ART_TEST_CHROOT" \55 "$adb" shell chroot "$ART_TEST_CHROOT" \
256 if [[ -n "$ART_TEST_CHROOT" ]]; then258 chroot_option="--chroot $ART_TEST_CHROOT"
48 ART_TEST_CHROOT = os.environ.get("ART_TEST_CHROOT") variable175 if ART_TEST_CHROOT:
11 setting up a chroot directory in a `ART_TEST_CHROOT` directory located under12 `/data/local` (e.g. `ART_TEST_CHROOT=/data/local/art-test-chroot`) on a device,14 shell chroot $ART_TEST_CHROOT <command>` to execute commands on the device47 1. Set the chroot directory in `ART_TEST_CHROOT`:49 export ART_TEST_CHROOT=/data/local/art-test-chroot
148 export ART_TEST_CHROOT=/data/local/art-test-chroot
87 ART_TEST_CHROOT = _env.get('ART_TEST_CHROOT') variable
491 if env.ART_TEST_CHROOT:492 options_test += ' --chroot ' + env.ART_TEST_CHROOT