Home
last modified time | relevance | path

Searched refs:ADB (Results 1 – 25 of 106) sorted by relevance

12345

/external/skia/platform_tools/android/bin/utils/
Dandroid_setup.sh87 ANDROID_MD5_SUPPORT=`$ADB $DEVICE_SERIAL shell ls -ld /system/bin/md5`
89 ANDROID_MD5=`$ADB $DEVICE_SERIAL shell md5 $ANDROID_DST`
91 ANDROID_MD5=`$ADB $DEVICE_SERIAL shell md5sum $ANDROID_DST`
101 $ADB $DEVICE_SERIAL pull $ANDROID_SRC $HOST_DST
105 $ADB $DEVICE_SERIAL pull $ANDROID_SRC $HOST_DST
124 ANDROID_LS=`$ADB $DEVICE_SERIAL shell ls -ld $ANDROID_DST`
131 ANDROID_LS=`$ADB $DEVICE_SERIAL shell ls -ld $ANDROID_DST 2> /dev/null`
134 ANDROID_MD5_SUPPORT=`$ADB $DEVICE_SERIAL shell ls -ld /system/bin/md5 2> /dev/null`
136 ANDROID_MD5=`$ADB $DEVICE_SERIAL shell md5 $ANDROID_DST`
138 ANDROID_MD5=`$ADB $DEVICE_SERIAL shell md5sum $ANDROID_DST`
[all …]
Dsetup_adb.sh8 ADB="python ${PYADB}"
13 ADB="$(which adb)"
15 ADB="${ANDROID_SDK_ROOT}/platform-tools/adb"
22 if [ ! -x $ADB ]; then
/external/skqp/platform_tools/android/bin/utils/
Dandroid_setup.sh87 ANDROID_MD5_SUPPORT=`$ADB $DEVICE_SERIAL shell ls -ld /system/bin/md5`
89 ANDROID_MD5=`$ADB $DEVICE_SERIAL shell md5 $ANDROID_DST`
91 ANDROID_MD5=`$ADB $DEVICE_SERIAL shell md5sum $ANDROID_DST`
101 $ADB $DEVICE_SERIAL pull $ANDROID_SRC $HOST_DST
105 $ADB $DEVICE_SERIAL pull $ANDROID_SRC $HOST_DST
124 ANDROID_LS=`$ADB $DEVICE_SERIAL shell ls -ld $ANDROID_DST`
131 ANDROID_LS=`$ADB $DEVICE_SERIAL shell ls -ld $ANDROID_DST 2> /dev/null`
134 ANDROID_MD5_SUPPORT=`$ADB $DEVICE_SERIAL shell ls -ld /system/bin/md5 2> /dev/null`
136 ANDROID_MD5=`$ADB $DEVICE_SERIAL shell md5 $ANDROID_DST`
138 ANDROID_MD5=`$ADB $DEVICE_SERIAL shell md5sum $ANDROID_DST`
[all …]
Dsetup_adb.sh8 ADB="python ${PYADB}"
13 ADB="$(which adb)"
15 ADB="${ANDROID_SDK_ROOT}/platform-tools/adb"
22 if [ ! -x $ADB ]; then
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Drun_tests.sh28 alias ADB='adb' alias
38 alias ADB='adb -s '$1'' alias
58 ADB shell rm -rf $OPENCL_DIR
61 ADB shell mkdir -p $OPENCL_DIR
65 abi_version=$(ADB shell getprop ro.product.cpu.abi | tr -d '\r')
88 ADB push "$exec_path" $OPENCL_DIR
89 ADB shell chmod +x $OPENCL_DIR/$executable
90 ADB shell ./$OPENCL_DIR/$executable
91 ADB shell rm -f $OPENCL_DIR/$executable
99 ADB push "$exec_path" $OPENCL_DIR > /dev/null 2>&1
[all …]
/external/skia/platform_tools/android/bin/
Dandroid_run_skia25 $ADB $DEVICE_SERIAL logcat -c;
36 $ADB ${DEVICE_SERIAL} push ${CMD_FILENAME} /data/local/tmp
39 $ADB ${DEVICE_SERIAL} shell sh /data/local/tmp/${CMD_FILENAME}
41 if [ -z "$($ADB $DEVICE_SERIAL shell 'if [ -f $STATUS_FILENAME ]; then echo exists; fi')" ]; then
42 if [ $LOGCAT ]; then $ADB $DEVICE_SERIAL logcat -d; fi
49 EXIT_CODE=`$ADB ${DEVICE_SERIAL} shell cat ${STATUS_FILENAME}`
50 $ADB ${DEVICE_SERIAL} shell rm -f ${STATUS_FILENAME} ${CMD_FILENAME}
54 if [ $LOGCAT ]; then $ADB $DEVICE_SERIAL logcat -d; fi
63 if [ $LOGCAT ]; then $ADB $DEVICE_SERIAL logcat -d; fi
Dandroid_gdb_app17 $ADB $DEVICE_SERIAL forward "tcp:$PORT" "tcp:$PORT"
21 …$ADB $DEVICE_SERIAL shell ps | grep gdbserver | awk '{print $2}' | xargs -r $ADB $DEVICE_SERIAL sh…
23 …$ADB $DEVICE_SERIAL shell ps | grep gdbserver | awk '{print $2}' | xargs $ADB $DEVICE_SERIAL shell…
38 $ADB $DEVICE_SERIAL shell "am start -n ${activity} --es cmdLineFlags \"${APP_ARGS[*]:1}\""
44 PID=$($ADB shell ps | grep ${activityShort} | awk '{print $2}')
46 $ADB $DEVICE_SERIAL shell /data/local/tmp/gdbserver :$PORT --attach $PID &
Dandroid_gdbserver52 ANDROID_LS=`$ADB $DEVICE_SERIAL shell -x ls -ld ${SYSTEM_LIBRARY_PATH}/${library_file}`
72 $ADB forward "tcp:5039" "tcp:5039"
77 $ADB shell ps | grep gdbserver | awk '{print $2}' | xargs $ADB shell kill 2> /dev/null
78 $ADB shell ps | grep ${APP_NAME} | awk '{print $2}' | xargs $ADB shell kill 2> /dev/null
83 $ADB shell /data/local/tmp/gdbserver :5039 /data/local/tmp/${APP_ARGS[@]} &
Dandroid_perf59 $ADB shell ps | grep ${runVars[0]} | awk '{print $2}' | xargs $ADB shell kill
62 $ADB shell /data/local/tmp/${runVars[@]} &
68 APP_PID=$($ADB shell ps | grep ${runVars[0]} | awk '{print $2}')
69 $ADB shell /data/local/tmp/simpleperf record -p ${APP_PID} -o /data/local/tmp/perf.data sleep 70
71 $ADB pull /data/local/tmp/perf.data $PERF_TMP_DIR/perf.data
Dandroid_install_app38 $ADB ${DEVICE_SERIAL} uninstall org.skia.${APP_LC} > /dev/null
42 $ADB ${DEVICE_SERIAL} install -r ${SKIA_OUT}/${APP_LC}.apk
/external/skqp/platform_tools/android/bin/
Dandroid_run_skia25 $ADB $DEVICE_SERIAL logcat -c;
36 $ADB ${DEVICE_SERIAL} push ${CMD_FILENAME} /data/local/tmp
39 $ADB ${DEVICE_SERIAL} shell sh /data/local/tmp/${CMD_FILENAME}
41 if [ -z "$($ADB $DEVICE_SERIAL shell 'if [ -f $STATUS_FILENAME ]; then echo exists; fi')" ]; then
42 if [ $LOGCAT ]; then $ADB $DEVICE_SERIAL logcat -d; fi
49 EXIT_CODE=`$ADB ${DEVICE_SERIAL} shell cat ${STATUS_FILENAME}`
50 $ADB ${DEVICE_SERIAL} shell rm -f ${STATUS_FILENAME} ${CMD_FILENAME}
54 if [ $LOGCAT ]; then $ADB $DEVICE_SERIAL logcat -d; fi
63 if [ $LOGCAT ]; then $ADB $DEVICE_SERIAL logcat -d; fi
Dandroid_gdb_app17 $ADB $DEVICE_SERIAL forward "tcp:$PORT" "tcp:$PORT"
21 …$ADB $DEVICE_SERIAL shell ps | grep gdbserver | awk '{print $2}' | xargs -r $ADB $DEVICE_SERIAL sh…
23 …$ADB $DEVICE_SERIAL shell ps | grep gdbserver | awk '{print $2}' | xargs $ADB $DEVICE_SERIAL shell…
38 $ADB $DEVICE_SERIAL shell "am start -n ${activity} --es cmdLineFlags \"${APP_ARGS[*]:1}\""
44 PID=$($ADB shell ps | grep ${activityShort} | awk '{print $2}')
46 $ADB $DEVICE_SERIAL shell /data/local/tmp/gdbserver :$PORT --attach $PID &
Dandroid_gdbserver52 ANDROID_LS=`$ADB $DEVICE_SERIAL shell ls -ld ${SYSTEM_LIBRARY_PATH}/${library_file}`
72 $ADB forward "tcp:5039" "tcp:5039"
77 $ADB shell ps | grep gdbserver | awk '{print $2}' | xargs $ADB shell kill 2> /dev/null
78 $ADB shell ps | grep ${APP_NAME} | awk '{print $2}' | xargs $ADB shell kill 2> /dev/null
83 $ADB shell /data/local/tmp/gdbserver :5039 /data/local/tmp/${APP_ARGS[@]} &
Dandroid_perf59 $ADB shell ps | grep ${runVars[0]} | awk '{print $2}' | xargs $ADB shell kill
62 $ADB shell /data/local/tmp/${runVars[@]} &
68 APP_PID=$($ADB shell ps | grep ${runVars[0]} | awk '{print $2}')
69 $ADB shell /data/local/tmp/simpleperf record -p ${APP_PID} -o /data/local/tmp/perf.data sleep 70
71 $ADB pull /data/local/tmp/perf.data $PERF_TMP_DIR/perf.data
Dandroid_install_app38 $ADB ${DEVICE_SERIAL} uninstall org.skia.${APP_LC} > /dev/null
42 $ADB ${DEVICE_SERIAL} install -r ${SKIA_OUT}/${APP_LC}.apk
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/testing/
Drun_internal_api_samples.sh26 alias ADB='adb' alias
41 alias ADB='adb -s '$1'' alias
73 ADB shell mkdir -p $OPENCL_DIR
75 ADB push "$model_path" "$OPENCL_DIR"
78 abi_version=$(ADB shell getprop ro.product.cpu.abi | tr -d '\r')
95 ADB push bazel-bin/$SHELL_DIR/$BINARY_NAME $OPENCL_DIR
97 ADB shell chmod +x $OPENCL_DIR/$BINARY_NAME
98 ADB shell "cd $OPENCL_DIR && ./$BINARY_NAME $model_name"
101 ADB shell rm -rf $OPENCL_DIR
Drun_performance_profiling.sh32 alias ADB='adb' alias
47 alias ADB='adb -s '$1'' alias
79 ADB shell mkdir -p $OPENCL_DIR
81 ADB push "$model_path" "$OPENCL_DIR"
84 abi_version=$(ADB shell getprop ro.product.cpu.abi | tr -d '\r')
101 ADB push bazel-bin/$SHELL_DIR/$BINARY_NAME $OPENCL_DIR
103 ADB shell chmod +x $OPENCL_DIR/$BINARY_NAME
104 ADB shell "cd $OPENCL_DIR && ./$BINARY_NAME $model_name"
107 ADB shell rm -rf $OPENCL_DIR
Drun_delegate_testing.sh27 alias ADB='adb' alias
42 alias ADB='adb -s '$1'' alias
74 ADB shell mkdir -p $OPENCL_DIR
76 ADB push "$model_path" "$OPENCL_DIR"
79 abi_version=$(ADB shell getprop ro.product.cpu.abi | tr -d '\r')
96 ADB push bazel-bin/$SHELL_DIR/$BINARY_NAME $OPENCL_DIR
98 ADB shell chmod +x $OPENCL_DIR/$BINARY_NAME
99 ADB shell "cd $OPENCL_DIR && ./$BINARY_NAME $model_name"
102 ADB shell rm -rf $OPENCL_DIR
/external/compiler-rt/lib/asan/scripts/
Dasan_device_setup38 $ADB push "$1" "$2"
41 $ADB push "$1" "/data/local/tmp/$FILENAME"
42 $ADB shell su -c "rm \\\"$2/$FILENAME\\\"" >&/dev/null
43 $ADB shell su -c "cat \\\"/data/local/tmp/$FILENAME\\\" > \\\"$2/$FILENAME\\\""
44 $ADB shell su -c "rm \\\"/data/local/tmp/$FILENAME\\\""
50 $ADB remount
52 local STORAGE=`$ADB shell mount | grep /system | cut -d ' ' -f1`
55 $ADB shell su -c "mount -o remount,rw $STORAGE /system"
64 $ADB shell $@
66 $ADB shell su -c "$*"
[all …]
/external/llvm-project/compiler-rt/lib/asan/scripts/
Dasan_device_setup37 $ADB push "$1" "$2"
40 $ADB push "$1" "/data/local/tmp/$FILENAME"
41 $ADB shell su -c "rm \\\"$2/$FILENAME\\\"" >&/dev/null
42 $ADB shell su -c "cat \\\"/data/local/tmp/$FILENAME\\\" > \\\"$2/$FILENAME\\\""
43 $ADB shell su -c "rm \\\"/data/local/tmp/$FILENAME\\\""
49 $ADB remount
51 local STORAGE=`$ADB shell mount | grep /system | cut -d ' ' -f1`
54 $ADB shell su -c "mount -o rw,remount $STORAGE /system"
63 $ADB shell $@
65 $ADB shell su -c "$*"
[all …]
/external/webrtc/modules/video_coding/codecs/test/batch/
Drun-instantiation-tests.sh21 ADB=`which adb`
36 --adb-path $ADB \
51 --adb-path $ADB \
Drun-videoprocessor-tests.sh26 ADB=`which adb`
41 --adb-path $ADB \
63 --adb-path $ADB \
/external/walt/docs/
DDevelopment.md3 …e only available USB connector on the phone, the typical development using ADB via USB becomes dif…
8 ADB can work over TCP connections. The [official documentation](https://developer.android.com/studi…
31 1. Click Manage your Android preferences and enable ADB debugging like on a regular Android device:
35 1. Enable ADB debugging
/external/compiler-rt/test/asan/android_commands/
Dandroid_common.py5 ADB = os.environ.get('ADB', 'adb') variable
19 ret = subprocess.call([ADB] + args, stdout=out, stderr=subprocess.STDOUT)
/external/llvm-project/compiler-rt/test/sanitizer_common/android_commands/
Dandroid_common.py5 ADB = os.environ.get('ADB', 'adb') variable
24 …ret = subprocess.call(['timeout', str(timeout_sec), ADB] + args, stdout=out, stderr=subprocess.STD…

12345