Lines Matching refs:DEX_LOCATION
300 SECONDARY_DEX=":$DEX_LOCATION/$TEST_NAME-ex.jar"
504 CHROOT_DEX_LOCATION="$CHROOT$DEX_LOCATION"
523 ANDROID_ROOT=$DEX_LOCATION/android-root
845 max_filename_size=$(getconf NAME_MAX $DEX_LOCATION)
879 mkdir_locations="${DEX_LOCATION}/dalvik-cache/$ISA"
903 mkdir_locations="${mkdir_locations} $DEX_LOCATION/zipapex"
908 setupapex_cmdline="unzip -o -u ${zip_options} ${ZIPAPEX_LOC} apex_payload.zip -d ${DEX_LOCATION}"
909 …installapex_cmdline="unzip -o -u ${zip_options} ${DEX_LOCATION}/apex_payload.zip -d ${DEX_LOCATION…
910 ANDROID_ART_BIN_DIR=$DEX_LOCATION/zipapex/bin
913 ANDROID_ART_BIN_DIR=$DEX_LOCATION/zipapex/bin
919 installapex_cmdline="ln -s -f ${ln_options} ${EXTRACTED_ZIPAPEX_LOC} ${DEX_LOCATION}/zipapex"
926 --apk=$DEX_LOCATION/$TEST_NAME.jar \
927 --dex-location=$DEX_LOCATION/$TEST_NAME.jar"
930 --apk=$DEX_LOCATION/$TEST_NAME-ex.jar \
931 --dex-location=$DEX_LOCATION/$TEST_NAME-ex.jar"
933 COMPILE_FLAGS="${COMPILE_FLAGS} --profile-file=$DEX_LOCATION/$TEST_NAME.prof"
934 FLAGS="${FLAGS} -Xcompiler-option --profile-file=$DEX_LOCATION/$TEST_NAME.prof"
936 profman_cmdline="${profman_cmdline} --create-profile-from=$DEX_LOCATION/profile \
937 --reference-profile-file=$DEX_LOCATION/$TEST_NAME.prof"
939 profman_cmdline="${profman_cmdline} --generate-test-profile=$DEX_LOCATION/$TEST_NAME.prof \
956 …CLASS_LOADER_CONTEXT" ] && SECONDARY_CLASS_LOADER_CONTEXT="PCL[];PCL[$DEX_LOCATION/$TEST_NAME.jar]"
962 …$enable_app_image && app_image="--app-image-file=$DEX_LOCATION/oat/$ISA/$name.art --resolve-startu…
972 --dex-file=$DEX_LOCATION/$name.jar \
973 --oat-file=$DEX_LOCATION/oat/$ISA/$name.odex \
994 …${dex2oat_cmdline} ${VDEX_ARGS} --input-vdex=$DEX_LOCATION/oat/$ISA/$name.vdex --output-vdex=$DEX_…
996 vdex_cmdline="${dex2oat_cmdline} ${VDEX_ARGS} --input-vdex=$DEX_LOCATION/oat/$ISA/$name.vdex"
998 dex2oat_cmdline="${dex2oat_cmdline} --output-vdex=$DEX_LOCATION/oat/$ISA/primary.vdex"
999 dm_cmdline="zip -qj $DEX_LOCATION/oat/$ISA/$name.dm $DEX_LOCATION/oat/$ISA/primary.vdex"
1000 …vdex_cmdline="${dex2oat_cmdline} ${VDEX_ARGS} --dump-timings --dm-file=$DEX_LOCATION/oat/$ISA/$nam…
1008 mkdir_locations="${mkdir_locations} ${DEX_LOCATION}/oat/$ISA"
1078 -cp $DEX_LOCATION/$TEST_NAME.jar$SECONDARY_DEX $MAIN $ARGS"
1165 LD_LIBRARY_PATH="$DEX_LOCATION/oat/$ISA:$LD_LIBRARY_PATH"
1168 LD_LIBRARY_PATH="$DEX_LOCATION:$LD_LIBRARY_PATH"
1229 cmdline="cd $DEX_LOCATION && \
1231 export ANDROID_DATA=$DEX_LOCATION && \
1233 export DEX_LOCATION=$DEX_LOCATION && \
1239 rm -rf ${DEX_LOCATION}/dalvik-cache/ && \
1270 adb shell chroot "$CHROOT" sh $DEX_LOCATION/cmdline.sh
1272 adb shell sh $DEX_LOCATION/cmdline.sh
1283 export ANDROID_DATA="$DEX_LOCATION"
1345 rm -rf ${DEX_LOCATION}/oat
1346 rm -rf ${DEX_LOCATION}/dalvik-cache/
1363 echo "#!/bin/bash" > ${DEX_LOCATION}/runit.sh
1365 echo export $var="${!var}" >> ${DEX_LOCATION}/runit.sh
1368 echo $cmdline "2>&1" >> ${DEX_LOCATION}/runit.sh
1370 echo 'STDERR=$(mktemp)' >> ${DEX_LOCATION}/runit.sh
1371 echo 'STDOUT=$(mktemp)' >> ${DEX_LOCATION}/runit.sh
1372 echo $cmdline '2>${STDERR} >${STDOUT}' >> ${DEX_LOCATION}/runit.sh
1373 echo 'if diff ${STDOUT} $ANDROID_DATA/expected.txt; then' >> ${DEX_LOCATION}/runit.sh
1374 echo ' rm -f ${STDOUT} ${STDERR}' >> ${DEX_LOCATION}/runit.sh
1375 echo ' exit 0' >> ${DEX_LOCATION}/runit.sh
1376 echo 'else' >> ${DEX_LOCATION}/runit.sh
1377 echo ' echo STDOUT:' >> ${DEX_LOCATION}/runit.sh
1378 echo ' cat ${STDOUT}' >> ${DEX_LOCATION}/runit.sh
1379 echo ' echo STDERR:' >> ${DEX_LOCATION}/runit.sh
1380 echo ' cat ${STDERR}' >> ${DEX_LOCATION}/runit.sh
1381 echo ' rm -f ${STDOUT} ${STDERR}' >> ${DEX_LOCATION}/runit.sh
1382 echo ' exit 1' >> ${DEX_LOCATION}/runit.sh
1383 echo 'fi' >> ${DEX_LOCATION}/runit.sh
1385 chmod u+x $DEX_LOCATION/runit.sh
1386 echo "Runnable test script written to ${DEX_LOCATION}/runit.sh"