Lines Matching refs:DEX_LOCATION

284         SECONDARY_DEX=":$DEX_LOCATION/$TEST_NAME-ex.jar"
488 CHROOT_DEX_LOCATION="$CHROOT$DEX_LOCATION"
507 ANDROID_ROOT=$DEX_LOCATION/android-root
825 max_filename_size=$(getconf NAME_MAX $DEX_LOCATION)
859 mkdir_locations="${DEX_LOCATION}/dalvik-cache/$ISA"
883 mkdir_locations="${mkdir_locations} $DEX_LOCATION/zipapex"
888 setupapex_cmdline="unzip -o -u ${zip_options} ${ZIPAPEX_LOC} apex_payload.zip -d ${DEX_LOCATION}"
889 …installapex_cmdline="unzip -o -u ${zip_options} ${DEX_LOCATION}/apex_payload.zip -d ${DEX_LOCATION
890 ANDROID_ART_BIN_DIR=$DEX_LOCATION/zipapex/bin
893 ANDROID_ART_BIN_DIR=$DEX_LOCATION/zipapex/bin
899 installapex_cmdline="ln -s -f ${ln_options} ${EXTRACTED_ZIPAPEX_LOC} ${DEX_LOCATION}/zipapex"
906 --apk=$DEX_LOCATION/$TEST_NAME.jar \
907 --dex-location=$DEX_LOCATION/$TEST_NAME.jar"
908 if [ -f $DEX_LOCATION/$TEST_NAME-ex.jar ]; then
910 --apk=$DEX_LOCATION/$TEST_NAME-ex.jar \
911 --dex-location=$DEX_LOCATION/$TEST_NAME-ex.jar"
913 COMPILE_FLAGS="${COMPILE_FLAGS} --profile-file=$DEX_LOCATION/$TEST_NAME.prof"
914 FLAGS="${FLAGS} -Xcompiler-option --profile-file=$DEX_LOCATION/$TEST_NAME.prof"
916 profman_cmdline="${profman_cmdline} --create-profile-from=$DEX_LOCATION/profile \
917 --reference-profile-file=$DEX_LOCATION/$TEST_NAME.prof"
919 profman_cmdline="${profman_cmdline} --generate-test-profile=$DEX_LOCATION/$TEST_NAME.prof \
928 mkdir_locations="${mkdir_locations} ${DEX_LOCATION}/oat/$ISA"
931 …app_image="--app-image-file=$DEX_LOCATION/oat/$ISA/$TEST_NAME.art --resolve-startup-const-strings=…
941 --dex-file=$DEX_LOCATION/$TEST_NAME.jar \
942 --oat-file=$DEX_LOCATION/oat/$ISA/$TEST_NAME.odex \
962 …dex2oat_cmdline} ${VDEX_ARGS} --input-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex --output-vdex=$D…
964 … vdex_cmdline="${dex2oat_cmdline} ${VDEX_ARGS} --input-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex"
966 dex2oat_cmdline="${dex2oat_cmdline} --output-vdex=$DEX_LOCATION/oat/$ISA/primary.vdex"
967 dm_cmdline="zip -qj $DEX_LOCATION/oat/$ISA/$TEST_NAME.dm $DEX_LOCATION/oat/$ISA/primary.vdex"
968 …vdex_cmdline="${dex2oat_cmdline} ${VDEX_ARGS} --dump-timings --dm-file=$DEX_LOCATION/oat/$ISA/$TES…
970 …x_cmdline="${dex2oat_cmdline} --input-vdex=$DEX_LOCATION/oat/$ISA/$TEST_NAME.vdex --output-vdex=$D…
975 strip_cmdline="zip --quiet --delete $DEX_LOCATION/$TEST_NAME.jar classes.dex"
1017 -cp $DEX_LOCATION/$TEST_NAME.jar$SECONDARY_DEX $MAIN $ARGS"
1093 LD_LIBRARY_PATH="$DEX_LOCATION/oat/$ISA:$LD_LIBRARY_PATH"
1096 LD_LIBRARY_PATH="$DEX_LOCATION:$LD_LIBRARY_PATH"
1157 cmdline="cd $DEX_LOCATION && \
1159 export ANDROID_DATA=$DEX_LOCATION && \
1161 export DEX_LOCATION=$DEX_LOCATION && \
1167 rm -rf ${DEX_LOCATION}/dalvik-cache/ && \
1198 adb shell chroot "$CHROOT" sh $DEX_LOCATION/cmdline.sh
1200 adb shell sh $DEX_LOCATION/cmdline.sh
1211 export ANDROID_DATA="$DEX_LOCATION"
1273 rm -rf ${DEX_LOCATION}/oat
1274 rm -rf ${DEX_LOCATION}/dalvik-cache/
1291 echo "#!/bin/bash" > ${DEX_LOCATION}/runit.sh
1293 echo export $var="${!var}" >> ${DEX_LOCATION}/runit.sh
1296 echo $cmdline "2>&1" >> ${DEX_LOCATION}/runit.sh
1298 echo 'STDERR=$(mktemp)' >> ${DEX_LOCATION}/runit.sh
1299 echo 'STDOUT=$(mktemp)' >> ${DEX_LOCATION}/runit.sh
1300 echo $cmdline '2>${STDERR} >${STDOUT}' >> ${DEX_LOCATION}/runit.sh
1301 echo 'if diff ${STDOUT} $ANDROID_DATA/expected.txt; then' >> ${DEX_LOCATION}/runit.sh
1302 echo ' rm -f ${STDOUT} ${STDERR}' >> ${DEX_LOCATION}/runit.sh
1303 echo ' exit 0' >> ${DEX_LOCATION}/runit.sh
1304 echo 'else' >> ${DEX_LOCATION}/runit.sh
1305 echo ' echo STDOUT:' >> ${DEX_LOCATION}/runit.sh
1306 echo ' cat ${STDOUT}' >> ${DEX_LOCATION}/runit.sh
1307 echo ' echo STDERR:' >> ${DEX_LOCATION}/runit.sh
1308 echo ' cat ${STDERR}' >> ${DEX_LOCATION}/runit.sh
1309 echo ' rm -f ${STDOUT} ${STDERR}' >> ${DEX_LOCATION}/runit.sh
1310 echo ' exit 1' >> ${DEX_LOCATION}/runit.sh
1311 echo 'fi' >> ${DEX_LOCATION}/runit.sh
1313 chmod u+x $DEX_LOCATION/runit.sh
1314 echo "Runnable test script written to ${DEX_LOCATION}/runit.sh"