Home
last modified time | relevance | path

Searched refs:adb (Results 1 – 25 of 140) sorted by relevance

123456

/external/chromium_org/third_party/skia/platform_tools/android/bin/
Dadb_list_devices.py25 def GetDeviceInfo(adb, serial, props_to_get): argument
33 device_proc = subprocess.Popen([adb, '-s', serial, 'shell', 'cat',
89 adb = hint
91 adb = os.path.join(hint, 'adb')
92 if subprocess.Popen([adb, 'version'], stdout=subprocess.PIPE).wait() == 0:
93 return adb
96 adb = 'adb'
97 if subprocess.Popen([adb, 'version'], stdout=subprocess.PIPE).wait() == 0:
98 return adb
102 adb = os.environ.get('ADB')
[all …]
/external/skia/platform_tools/android/bin/
Dadb_list_devices.py25 def GetDeviceInfo(adb, serial, props_to_get): argument
33 device_proc = subprocess.Popen([adb, '-s', serial, 'shell', 'cat',
89 adb = hint
91 adb = os.path.join(hint, 'adb')
92 if subprocess.Popen([adb, 'version'], stdout=subprocess.PIPE).wait() == 0:
93 return adb
96 adb = 'adb'
97 if subprocess.Popen([adb, 'version'], stdout=subprocess.PIPE).wait() == 0:
98 return adb
102 adb = os.environ.get('ADB')
[all …]
/external/srec/config/en.us/
Dadb_pull_system_usr_srec_bothtags5_from_saved.sh5 adb pull $TESTDIR/config/en.us/out_SHIP_bothtags5_from_saved.txt out_SHIP_bothtags5_from_saved.txt
6 adb pull $TESTDIR/config/en.us/recog4_SHIP_bothtags5_from_saved.res recog4_SHIP_bothtags5_from_save…
8 adb pull $TESTDIR/config/en.us/linux_ship_a1__VCE_Pete_Gonzalez_from_saved.raw linux_ship_a1__VCE_…
9 adb pull $TESTDIR/config/en.us/linux_ship_a2__VCE_Andrew_Evans_from_saved.raw linux_ship_a2__VCE_…
10 adb pull $TESTDIR/config/en.us/linux_ship_a3__VCE_Peter_Wilson_from_saved.raw linux_ship_a3__VCE_…
11 adb pull $TESTDIR/config/en.us/linux_ship_a4__VCE_Edgar_Young_from_saved.raw linux_ship_a4__VCE_…
12 adb pull $TESTDIR/config/en.us/linux_ship_a5__VCE_John_Martinez_from_saved.raw linux_ship_a5__VCE_…
14 adb pull $TESTDIR/config/en.us/bothtags5_saved.g2g bothtags5_saved.g2g
Dadb_pull_system_usr_srec_bothtags5.sh5 adb pull $TESTDIR/config/en.us/out_SHIP_bothtags5.txt out_SHIP_bothtags5.txt
6 adb pull $TESTDIR/config/en.us/recog4_SHIP_bothtags5.res recog4_SHIP_bothtags5.res
8 adb pull $TESTDIR/config/en.us/linux_ship_a1__VCE_Pete_Gonzalez.raw linux_ship_a1__VCE_Pete_Gonzal…
9 adb pull $TESTDIR/config/en.us/linux_ship_a2__VCE_Andrew_Evans.raw linux_ship_a2__VCE_Andrew_Evan…
10 adb pull $TESTDIR/config/en.us/linux_ship_a3__VCE_Peter_Wilson.raw linux_ship_a3__VCE_Peter_Wilso…
11 adb pull $TESTDIR/config/en.us/linux_ship_a4__VCE_Edgar_Young.raw linux_ship_a4__VCE_Edgar_Young…
12 adb pull $TESTDIR/config/en.us/linux_ship_a5__VCE_John_Martinez.raw linux_ship_a5__VCE_John_Martin…
/external/chromium-trace/
Dsystrace.py43 adb = subprocess.Popen(getprop_args, stdout=subprocess.PIPE,
45 out, err = adb.communicate()
46 if adb.returncode != 0:
153 adb = subprocess.Popen(atrace_args, stdout=subprocess.PIPE,
162 ready = select.select([adb.stdout, adb.stderr], [], [adb.stdout, adb.stderr])
163 if adb.stderr in ready[0]:
164 err = os.read(adb.stderr.fileno(), 4096)
167 if adb.stdout in ready[0]:
168 out = os.read(adb.stdout.fileno(), 4096)
185 result = adb.poll()
[all …]
Dsystrace-legacy.py153 adb = subprocess.Popen(atrace_args, stdout=subprocess.PIPE,
157 ready = select.select([adb.stdout, adb.stderr], [], [adb.stdout, adb.stderr])
158 if adb.stderr in ready[0]:
159 err = os.read(adb.stderr.fileno(), 4096)
162 if adb.stdout in ready[0]:
163 out = leftovers + os.read(adb.stdout.fileno(), 4096)
194 result = adb.poll()
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
Dandroid_browser_backend.py23 def __init__(self, adb, activity, cmdline_file, package, pseudo_exec_name, argument
25 self.adb = adb
36 files = self.adb.device().RunShellCommand(
40 self.adb.device().RunShellCommand('rm -r %s' % ' '.join(paths), root=True)
60 def _GetCommandLineFile(adb): argument
61 if adb.IsUserBuild():
66 def __init__(self, adb, package): argument
68 adb=adb,
70 cmdline_file=ChromeBackendSettings._GetCommandLineFile(adb),
90 self.adb.device().old_interface.PushIfNeeded(
[all …]
Dandroid_browser_finder.py99 self._backend_settings.adb.device(),
127 self._backend_settings.adb.Install(self._local_apk)
202 adb = adb_commands.AdbCommands(device=device)
204 if not adb.IsRootEnabled():
206 adb.EnableAdbRoot()
227 adb.RestartAdbdOnDevice()
229 packages = adb.RunShellCommand('pm list packages')
237 backend_settings(adb, package),
244 installed_prebuilt_tools = adb_commands.SetupPrebuiltTools(adb)
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
Dandroid_traceview_profiler.py21 if self._browser_backend.adb.device().old_interface.FileExistsOnDevice(
23 self._browser_backend.adb.RunShellCommand(
26 self._browser_backend.adb.RunShellCommand(
28 self._browser_backend.adb.RunShellCommand(
35 self._browser_backend.adb.RunShellCommand('am profile %s start %s' %
52 self._browser_backend.adb.RunShellCommand('am profile %s stop' % pid)
55 self._browser_backend.adb.device().old_interface.Adb().Pull(
57 self._browser_backend.adb.RunShellCommand(
65 f = self._browser_backend.adb.device().old_interface.ListPathContents(
Djava_heap_profiler.py49 self._browser_backend.adb.device().old_interface.Adb().Pull(
51 self._browser_backend.adb.RunShellCommand(
68 if not self._browser_backend.adb.device().old_interface.FileExistsOnDevice(
70 self._browser_backend.adb.RunShellCommand(
72 self._browser_backend.adb.RunShellCommand(
79 self._browser_backend.adb.RunShellCommand('am dumpheap %s %s' %
86 f = self._browser_backend.adb.device().old_interface.ListPathContents(
Dtcmalloc_heap_profiler.py37 self._browser_backend.adb.device().old_interface.EnableAdbRoot()
39 device_property = self._browser_backend.adb.system_properties[values[0]]
41 self._browser_backend.adb.system_properties[values[0]] = values[1]
43 if not self._browser_backend.adb.device().old_interface.FileExistsOnDevice(
45 self._browser_backend.adb.RunShellCommand(
47 self._browser_backend.adb.RunShellCommand(
54 self._browser_backend.adb.device().old_interface.Adb().Pull(
56 self._browser_backend.adb.RunShellCommand(
/external/strace/test/
DAndroid.mk85 adb shell rm -f $(TEST_TMP_DIR)/strace-log-$* ; \
86 …timeout -s 9 10 adb shell strace -v -f -o$(TEST_TMP_DIR)/strace-log-$* strace-$*-test > strace-log…
87 adb pull $(TEST_TMP_DIR)/strace-log-$* 2> /dev/null ; \
88 adb pull $(TEST_TMP_DIR)/strace-log-$*-output 2> /dev/null ; \
89 if adb shell cat $(TEST_TMP_DIR)/strace-log-$* | grep "exited with 0" > /dev/null ; \
92 …if adb shell cat $(TEST_TMP_DIR)/strace-log-$* | grep $($(shell echo $* | sed 's/[0-9]//g')-expect…
103 adb-sync:
104 adb sync
109 run-strace-tests: adb-sync run-strace32-test run-strace64-test
/external/chromium_org/build/android/
Dadb_chrome_shell_command_line21 adb pull $CMD_LINE_FILE $tempfile 2>/dev/null
24 adb shell cat $CMD_LINE_FILE | cut -d " " -f "2-" 2>/dev/null
29 adb shell rm $CMD_LINE_FILE >/dev/null
33 adb shell "echo 'chrome_shell $*' > $CMD_LINE_FILE"
35 adb shell chmod 0664 $CMD_LINE_FILE
Dadb_android_webview_command_line21 adb pull $CMD_LINE_FILE $tempfile 2>/dev/null
24 adb shell cat $CMD_LINE_FILE | cut -d " " -f "2-" 2>/dev/null
29 adb shell rm $CMD_LINE_FILE >/dev/null
33 adb shell "echo 'android_webview $*' > $CMD_LINE_FILE"
35 adb shell chmod 0664 $CMD_LINE_FILE
Dadb_content_shell_command_line21 adb pull $CMD_LINE_FILE $tempfile 2>/dev/null
24 adb shell cat $CMD_LINE_FILE | cut -d " " -f "2-" 2>/dev/null
29 adb shell rm $CMD_LINE_FILE >/dev/null
33 adb shell "echo 'content_shell $*' > $CMD_LINE_FILE"
35 adb shell chmod 0664 $CMD_LINE_FILE
/external/openssl/android.testssl/
Dtestssl.sh45 adb remount
46 adb shell rm -r $device
47 adb shell mkdir $device
51 adb push . $device
55 adb shell "echo \"string to make the random number generator think it has entropy\" >> $device/.rnd"
77 adb shell rm -r $device
/external/chromium_org/third_party/openssl/openssl/android.testssl/
Dtestssl.sh45 adb remount
46 adb shell rm -r $device
47 adb shell mkdir $device
51 adb push . $device
55 adb shell "echo \"string to make the random number generator think it has entropy\" >> $device/.rnd"
77 adb shell rm -r $device
/external/openssl/patches/
Dtestssl.sh45 adb remount
46 adb shell rm -r $device
47 adb shell mkdir $device
51 adb push . $device
55 adb shell "echo \"string to make the random number generator think it has entropy\" >> $device/.rnd"
77 adb shell rm -r $device
/external/chromium_org/third_party/openssl/openssl/patches/
Dtestssl.sh45 adb remount
46 adb shell rm -r $device
47 adb shell mkdir $device
51 adb push . $device
55 adb shell "echo \"string to make the random number generator think it has entropy\" >> $device/.rnd"
77 adb shell rm -r $device
/external/chromium_org/v8/tools/
Dandroid-ll-prof.sh53 adb -p "$DEPLOY" sync data
55 adb shell "cd /data/local/tmp/v8;\
59 adb pull /data/local/tmp/v8/v8.log .
60 adb pull /data/local/tmp/v8/v8.log.ll .
61 adb pull /data/perf.data .
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
Dtasn_utl.c223 const ASN1_ADB *adb; in asn1_do_adb() local
232 adb = ASN1_ADB_ptr(tt->item); in asn1_do_adb()
235 sfld = offset2ptr(*pval, adb->offset); in asn1_do_adb()
240 if (!adb->null_tt) in asn1_do_adb()
242 return adb->null_tt; in asn1_do_adb()
262 for (atbl = adb->tbl, i = 0; i < adb->tblcount; i++, atbl++) in asn1_do_adb()
269 if (!adb->default_tt) in asn1_do_adb()
271 return adb->default_tt; in asn1_do_adb()
/external/openssl/crypto/asn1/
Dtasn_utl.c223 const ASN1_ADB *adb; in asn1_do_adb() local
232 adb = ASN1_ADB_ptr(tt->item); in asn1_do_adb()
235 sfld = offset2ptr(*pval, adb->offset); in asn1_do_adb()
240 if (!adb->null_tt) in asn1_do_adb()
242 return adb->null_tt; in asn1_do_adb()
262 for (atbl = adb->tbl, i = 0; i < adb->tblcount; i++, atbl++) in asn1_do_adb()
269 if (!adb->default_tt) in asn1_do_adb()
271 return adb->default_tt; in asn1_do_adb()
/external/sepolicy/
Dadbd.te24 # Access /dev/android_adb or /dev/usb-ffs/adb/ep0
32 # adb push/pull /data/local/tmp.
36 # adb push/pull sdcard.
40 # adb pull /data/anr/traces.txt
44 # Set service.adb.*, sys.powerctl properties.
59 # Read /data/misc/adb/adb_keys.
63 # ndk-gdb invokes adb forward to forward the gdbserver socket.
72 # ndk-gdb invokes adb pull of app_process, linker, and libc.so.
/external/chromium_org/tools/android/
Dadb_remote_setup.sh38 Configures adb on a remote machine to communicate with a device attached to the
44 REMOTE_ADB path to adb on the remote machine (you can omit this if adb is in
54 if ! which adb >/dev/null; then
68 adb start-server
/external/compiler-rt/test/asan/android_commands/
Dandroid_common.py11 def adb(args): function
19 adb(['pull', path, tmp])
28 adb(['push', path, tmp_path])
29 adb(['shell', 'cp "%s" "%s" 2>&1' % (tmp_path, dst_path)])

123456