/external/chromium_org/third_party/skia/platform_tools/android/bin/utils/ |
setup_adb.sh | 6 if [ "$(which adb)" != "" ]; then 7 ADB="$(which adb)" 9 ADB=$UTIL_DIR/../linux/adb 11 ADB=$UTIL_DIR/../mac/adb 13 echo "ERROR: Could not find ADB!" 17 #echo "ADB is: $ADB" [all...] |
/external/skia/platform_tools/android/bin/utils/ |
setup_adb.sh | 6 if [ "$(which adb)" != "" ]; then 7 ADB="$(which adb)" 9 ADB=$UTIL_DIR/../linux/adb 11 ADB=$UTIL_DIR/../mac/adb 13 echo "ERROR: Could not find ADB!" 17 #echo "ADB is: $ADB" [all...] |
/external/chromium_org/third_party/skia/platform_tools/android/bin/ |
android_kill_skia | 27 $ADB $SERIAL shell ps | grep skia | awk '{print $2}' | xargs -r $ADB $SERIAL shell kill 29 $ADB $SERIAL shell ps | grep skia | awk '{print $2}' | xargs $ADB $SERIAL shell kill
|
android_run_skia | 24 $ADB ${DEVICE_SERIAL} shell \ 26 if [ -z "$($ADB $DEVICE_SERIAL shell 'if [ -f $STATUS_FILENAME ]; then echo exists; fi')" ]; then 33 EXIT_CODE=`$ADB ${DEVICE_SERIAL} shell cat ${STATUS_FILENAME}` 34 $ADB ${DEVICE_SERIAL} shell rm -f ${STATUS_FILENAME} 39 echo "ADB failed to retrieve the application's exit code"
|
android_gdbserver | 59 $ADB forward "tcp:5039" "tcp:5039" 63 $ADB shell ps | grep gdbserver | awk '{print $2}' | xargs $ADB shell kill 64 $ADB shell ps | grep ${APP_NAME} | awk '{print $2}' | xargs $ADB shell kill 68 $ADB shell /data/local/tmp/gdbserver :5039 /data/local/tmp/skia_launcher ${APP_ARGS[@]} &
|
android_install_apk | 45 $ADB ${DEVICE_SERIAL} uninstall com.skia > /dev/null 49 $ADB ${DEVICE_SERIAL} install ${installOptions} ${SKIA_OUT}/${BUILDTYPE}/android/bin/SkiaAndroid.apk
|
android_gdb_apk | 16 $ADB forward "tcp:$PORT" "tcp:$PORT" 19 $ADB shell ps | grep gdbserver | awk '{print $2}' | xargs -r $ADB shell kill 36 adb shell am start -n com.skia/com.skia.SkiaSampleActivity 39 PID=$($ADB shell ps | grep com.skia | awk '{print $2}') 41 $ADB shell /data/local/tmp/gdbserver :$PORT --attach $PID &
|
android_perf | 72 $ADB shell ps | grep skia_launcher | awk '{print $2}' | xargs $ADB shell kill 75 $ADB shell /data/local/tmp/skia_launcher ${runVars[@]} & 81 APP_PID=$($ADB shell ps | grep skia_launcher | awk '{print $2}') 82 $ADB shell perf record -p ${APP_PID} sleep 70 84 $ADB pull /data/perf.data $PERF_TMP_DIR/perf.data
|
/external/skia/platform_tools/android/bin/ |
android_kill_skia | 27 $ADB $SERIAL shell ps | grep skia | awk '{print $2}' | xargs -r $ADB $SERIAL shell kill 29 $ADB $SERIAL shell ps | grep skia | awk '{print $2}' | xargs $ADB $SERIAL shell kill
|
android_run_skia | 24 $ADB ${DEVICE_SERIAL} shell \ 26 if [ -z "$($ADB $DEVICE_SERIAL shell 'if [ -f $STATUS_FILENAME ]; then echo exists; fi')" ]; then 33 EXIT_CODE=`$ADB ${DEVICE_SERIAL} shell cat ${STATUS_FILENAME}` 34 $ADB ${DEVICE_SERIAL} shell rm -f ${STATUS_FILENAME} 39 echo "ADB failed to retrieve the application's exit code"
|
android_gdbserver | 59 $ADB forward "tcp:5039" "tcp:5039" 63 $ADB shell ps | grep gdbserver | awk '{print $2}' | xargs $ADB shell kill 64 $ADB shell ps | grep ${APP_NAME} | awk '{print $2}' | xargs $ADB shell kill 68 $ADB shell /data/local/tmp/gdbserver :5039 /data/local/tmp/skia_launcher ${APP_ARGS[@]} &
|
android_install_apk | 45 $ADB ${DEVICE_SERIAL} uninstall com.skia > /dev/null 49 $ADB ${DEVICE_SERIAL} install ${installOptions} ${SKIA_OUT}/${BUILDTYPE}/android/bin/SkiaAndroid.apk
|
android_gdb_apk | 16 $ADB forward "tcp:$PORT" "tcp:$PORT" 19 $ADB shell ps | grep gdbserver | awk '{print $2}' | xargs -r $ADB shell kill 36 adb shell am start -n com.skia/com.skia.SkiaSampleActivity 39 PID=$($ADB shell ps | grep com.skia | awk '{print $2}') 41 $ADB shell /data/local/tmp/gdbserver :$PORT --attach $PID &
|
android_perf | 72 $ADB shell ps | grep skia_launcher | awk '{print $2}' | xargs $ADB shell kill 75 $ADB shell /data/local/tmp/skia_launcher ${runVars[@]} & 81 APP_PID=$($ADB shell ps | grep skia_launcher | awk '{print $2}') 82 $ADB shell perf record -p ${APP_PID} sleep 70 84 $ADB pull /data/perf.data $PERF_TMP_DIR/perf.data
|
/external/chromium_org/tools/android/asan/ |
asan_device_setup.sh | 26 echo " --device: Install to the given device. Use 'adb devices' to find" 68 ADB=${ADB:-adb} 70 ADB="$ADB -s $device" 77 $ADB root 78 $ADB wait-for-device 79 $ADB remount 80 $ADB shell mv /system/bin/app_process.real /system/bin/app_proces [all...] |
/external/compiler-rt/lib/asan/scripts/ |
asan_device_setup | 26 echo " --device: Install to the given device. Use 'adb devices' to find" 68 ADB=${ADB:-adb} 70 ADB="$ADB -s $device" 77 $ADB root 78 $ADB wait-for-device 79 $ADB remount 80 $ADB shell mv /system/bin/app_process.real /system/bin/app_proces [all...] |
/development/scripts/ |
reverse_tether.sh | 27 # export ADB=/path/to/sdk/adb for custom adb 28 ADB="${ADB:-adb} ${SERIAL:+-s $SERIAL}" 76 echo " ADB=$ADB" 84 $ADB wait-for-device 85 $ADB shell "svc usb setFunction rndis [all...] |
/bootable/recovery/applypatch/ |
imgdiff_test.sh | 27 ADB="adb -s emulator-$EMULATOR_PORT " 29 ADB="adb -d " 33 $ADB wait-for-device 38 $ADB shell "$@" \; echo \$? | awk '{if (b) {print a}; a=$0; b=1} END {exit a}' 78 $ADB push $ANDROID_PRODUCT_OUT/system/bin/applypatch $WORK_DIR/applypatch 90 $ADB push $tmpdir/source $WORK_DIR/source || fail "source push failed" 92 $ADB push $tmpdir/patch $WORK_DIR/patch || fail "patch push failed" 97 $ADB pull /data/local/tmp/target $tmpdir/resul [all...] |
applypatch.sh | 37 ADB="adb -s emulator-$EMULATOR_PORT " 39 ADB="adb -d " 43 $ADB wait-for-device 45 $ADB remount 47 $ADB shell rm -r /system/media 52 $ADB shell "$@" \; echo \$? | awk '{if (b) {print a}; a=$0; b=1} END {exit a}' 99 $ADB push $ANDROID_PRODUCT_OUT/system/bin/applypatch $WORK_DIR/applypatch 118 $ADB push $DATA_DIR/old.file $WORK_DI [all...] |
/bootable/recovery/ |
verifier_test.sh | 22 ADB="adb -s emulator-$EMULATOR_PORT " 24 ADB="adb -d " 28 $ADB wait-for-device 33 $ADB shell "$@" \; echo \$? | awk '{if (b) {print a}; a=$0; b=1} END {exit a}' 61 $ADB push $ANDROID_PRODUCT_OUT/system/bin/verifier_test \ 66 $ADB push $DATA_DIR/$1 $WORK_DIR/package.zip 73 $ADB push $DATA_DIR/$1 $WORK_DIR/package.zip
|
/ndk/tests/ |
run-libcxx.sh | 42 ADB="adb -s $DEVICE_arm" PATH=$TOOLCHAIN_DIR_ARM/bin:$PATH \ 50 ADB="adb -s $DEVICE_x86" PATH=$TOOLCHAIN_DIR_X86/bin:$PATH \ 58 ADB="adb -s $DEVICE_mips" PATH=$TOOLCHAIN_DIR_MIPS/bin:$PATH \ 66 ADB="adb -s $DEVICE_arm" PATH=$TOOLCHAIN49_DIR_ARM/bin:$PATH \ 74 ADB="adb -s $DEVICE_x86" PATH=$TOOLCHAIN49_DIR_X86/bin:$PATH [all...] |
/external/compiler-rt/test/asan/android_commands/ |
android_common.py | 5 ADB = os.environ.get('ADB', 'adb') 11 def adb(args): function 15 return subprocess.call([ADB] + args, stdout=devnull, stderr=subprocess.STDOUT) 19 adb(['pull', path, tmp]) 28 adb(['push', path, tmp_path]) 29 adb(['shell', 'cp "%s" "%s" 2>&1' % (tmp_path, dst_path)])
|
/development/tools/labpretest/ |
labpretest.sh | 18 ADB="$ROOT/tools/adb" 65 # ADB 80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'` 86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'` 131 # ADB 140 $ADB -s $device reboot bootloader 163 # reboots device from fastboot to adb or 168 # ADB 176 log_print "rebooting and waiting for availability via adb" [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/ |
testit_android | 136 - The 'adb' tool in your path. 137 - An Android device connected to ADB. 270 if [ -z "$ADB" ] 272 ADB=adb 275 # Run a shell command through ADB, return its status. 285 echo "COMMAND: $ADB shell $@" 287 $ADB shell "$@ ; echo \$?" | sed -e 's![[:cntrl:]]!!g' > $CMD_OUT 2>&1 302 # Push a given file through ADB. 307 run2 $ADB push $FILE $TARGET_PATH/$FILE_BASENAME 2>/dev/nul [all...] |
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
testit_android | 132 - The 'adb' tool in your path. 133 - An Android device connected to ADB. 283 if [ -z "$ADB" ] 285 ADB=adb 288 # Run a shell command through ADB, return its status. 298 echo "COMMAND: $ADB shell $@" 300 $ADB shell "$@ ; echo \$?" | sed -e 's![[:cntrl:]]!!g' > $CMD_OUT 2>&1 315 # Push a given file through ADB. 320 run2 $ADB push $FILE $TARGET_PATH/$FILE_BASENAME 2>/dev/nul [all...] |