Lines Matching refs:_ADB
216 _ADB=
222 _ADB=$1
223 if [ -z "$_ADB" ]; then
224 _ADB=$(which adb 2>/dev/null)
225 if [ -z "$_ADB" -a "$ANDROID_SDK_ROOT" ]; then
226 _ADB=$ANDROID_SDK_ROOT/platform-tools/adb
227 if [ ! -f "$_ADB" ]; then
228 _ADB=
231 if [ -z "$_ADB" ]; then
238 log "Found ADB program: $_ADB"
242 ADB_VERSION=$("$_ADB" version 2>/dev/null)
248 _ADB_ERROR="Your ADB binary reports a bad version ($ADB_VERSION): $_ADB"
267 echo "$_ADB"
296 ADB_DEVICES=$("$_ADB" devices 2>/dev/null | awk '$2 == "device" { print $1; }')
341 "$_ADB" shell "$@" ";" echo \$? > "$ADB_LOG" 2>&1
355 run "$_ADB" push "$1" "$2"
364 run "$_ADB" pull "$1" "$2"