Home | History | Annotate | Download | only in chromium-trace

Lines Matching full:adb

75                     help='adb device serial number')
87 atrace_args = ['adb', 'shell', 'setprop', 'debug.atrace.tags.enableflags', hex(flags)]
95 'take effect:\n\n adb shell stop\n adb shell ' +
99 atrace_args = ['adb', 'shell', 'atrace', '-z']
153 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()
198 print >> sys.stderr, 'adb returned error code %d' % result