Lines Matching refs:ADB_CMD
59 find_program ADB_CMD adb
122 ADB_CMD="$optarg"
202 echo "$ADB_CMD -s \"$DEVICE\" shell \"$@\""
203 … $ADB_CMD -s "$DEVICE" shell "$@" ";" echo \$? | sed -e 's![[:cntrl:]]!!g' | tee $ADB_SHELL_CMD_LOG
205 … $ADB_CMD -s "$DEVICE" shell "$@" ";" echo \$? | sed -e 's![[:cntrl:]]!!g' > $ADB_SHELL_CMD_LOG
599 if [ -z "`$ADB_CMD -s "$DEVICE" shell pm path $COMPILER_PKGNAME`" ]; then
603 run $ADB_CMD -s "$DEVICE" shell am force-stop $COMPILER_PKGNAME
604 …run $ADB_CMD -s "$DEVICE" shell am startservice --user 0 -a ${COMPILER_PKGNAME}.BITCODE_COMPILE_TE…
606 old_pid="`$ADB_CMD -s "$DEVICE" shell top -n 1 | grep $COMPILER_PKGNAME | awk '{print $1}'`"
611 pid="`$ADB_CMD -s "$DEVICE" shell top -n 1 | grep $COMPILER_PKGNAME | awk '{print $1}'`"
619 if [ -n "`$ADB_CMD -s "$DEVICE" shell ls $DSTDIR | grep compile_result`" ]; then
626 ret="`$ADB_CMD -s "$DEVICE" shell cat $DSTDIR/compile_result`"
632 elif [ -n "`$ADB_CMD -s "$DEVICE" shell ls $DSTDIR | grep compile_error`" ]; then
633 dump "- Reason: `$ADB_CMD -s "$DEVICE" shell cat $DSTDIR/compile_error`"
635 run $ADB_CMD -s "$DEVICE" shell am force-stop $COMPILER_PKGNAME
638 run $ADB_CMD -s "$DEVICE" shell am force-stop $COMPILER_PKGNAME
838 run $ADB_CMD -s "$DEVICE" shell rm -rf $DSTDIR/abcc_tmp
840 run $ADB_CMD -s "$DEVICE" shell chmod 0777 $DSTDIR/abcc_tmp
842 run $ADB_CMD -s "$DEVICE" push "$SRCDIR/$SRCFILE" $DSTDIR/abcc_tmp
843 run $ADB_CMD -s "$DEVICE" shell chmod 0644 $DSTDIR/abcc_tmp/$SRCFILE
851 run $ADB_CMD -s "$DEVICE" pull $DSTDIR/abcc_tmp $SRCDIR
855 run $ADB_CMD -s "$DEVICE" shell rm -rf $DSTDIR/abcc_tmp
869 run $ADB_CMD -s "$DEVICE" push "$SRCPATH" "$DSTPATH" &&
870 run $ADB_CMD -s "$DEVICE" shell chmod 0755 $DSTPATH
899 run $ADB_CMD -s "$DEVICE" push "$SRCPATH" "$DSTPATH" &&
900 run $ADB_CMD -s "$DEVICE" shell chmod 0755 $DSTPATH
907 run $ADB_CMD -s "$DEVICE" push "$DATA" "$DSTDIR"
942 if [ -z "$ADB_CMD" ] ; then
947 …ADB_DEVICES=`$ADB_CMD devices | grep -v offline | awk 'NR>1 {gsub(/[ \t]+device$/,""); print;}' | …