Lines Matching full:adb
13 IP_ADDR=$(adb shell ip route get 0.0.0.0 oif wlan0 | sed -En -e 's/.*src (\S+)\s.*/\1/p')
16 LOCAL_SERIAL=$(adb shell getprop ro.serialno)
19 adb disconnect
21 TRANSPORT_ID=$(adb transport-id)
22 adb tcpip $REMOTE_PORT
23 adb -t $TRANSPORT_ID wait-for-disconnect
25 adb connect $REMOTE
27 REMOTE_FETCHED_SERIAL=$(adb -s $REMOTE shell getprop ro.serialno)
35 adb -s $REMOTE usb
36 adb disconnect $REMOTE
38 adb wait-for-device root
39 adb root
40 adb wait-for-device
42 TRANSPORT_ID=$(adb transport-id)
43 adb usb
44 adb -t $TRANSPORT_ID wait-for-disconnect
46 adb wait-for-device
48 ### Run the adb unit tests and fetch traces from them.
50 adb shell rm -rf /data/local/tmp/adb_coverage
51 adb shell mkdir /data/local/tmp/adb_coverage
54 …adb shell LLVM_PROFILE_FILE=/data/local/tmp/adb_coverage/$TEST.profraw /data/nativetest64/$TEST/$T…
55 adb pull /data/local/tmp/adb_coverage/$TEST.profraw "$TRACEDIR"/test_traces/
59 adb shell logcat -c -G128M
62 adb shell setprop persist.adb.trace_mask 1
65 TRANSPORT_ID=$(adb transport-id)
66 adb shell killall adbd
67 adb -t $TRANSPORT_ID wait-for-disconnect
69 adb wait-for-device shell rm -rf "/data/misc/trace/*" /data/local/tmp/adb_coverage/
74 adb wait-for-device
77 adb shell killall -37 adbd
83 TRANSPORT_ID=$(adb transport-id)
84 adb tcpip $REMOTE_PORT
85 adb -t $TRANSPORT_ID wait-for-disconnect
87 adb connect $REMOTE
88 adb -s $REMOTE wait-for-device
91 dd if=/dev/zero bs=1024 count=10240 | adb -s $REMOTE raw sink:10485760
92 adb -s $REMOTE raw source:10485760 | dd of=/dev/null bs=1024 count=10240
95 adb disconnect $REMOTE
98 adb shell killall -37 adbd
103 adb pull /data/misc/trace "$TRACEDIR"/
107 ADBD_PIDS=$(adb shell "logcat -d -s adbd --format=process | grep 'adbd started' | cut -c 3-7 | tr -…
110 adb shell 'setprop persist.adb.trace_mask 0; killall adbd'