Lines Matching refs:command
239 command = ['adb'] + (['-s', device] if device else []) + params.split(' ')
241 log.debug("Call: " + ' '.join(command))
242 … return subprocess.check_output(command, stderr=subprocess.STDOUT, input=stdin).decode('utf-8')
244 log.debug('Error executing adb command: {}\n{}'.format(' '.join(command), repr(ex)))
245 raise AdbError('Error executing adb command: {}\n{}'.format(' '.join(command), repr(ex)))
247 …log.debug('Error executing adb command: {}\n{}'.format(' '.join(command), ex.output.decode("utf-8"…
331 def __init__(self, device_id, command): argument
333 self.trace_command = command
439 command = StartTrace.TRACE_COMMAND.format(
443 TRACE_THREADS[device_id] = TraceThread(device_id, command.encode('utf-8'))
457 command = TRACE_THREADS[device_id].trace_command
464 …utf-8") + "\n### Command: adb -s {} shell ###\n### Input ###\n".format(device_id) + command.decode(
495 command = '\n'.join(t.dump_command for t in requested_traces)
501 out, err = process.communicate(command.encode('utf-8'))
503 …raise AdbError("Error executing command:\n" + command + "\n\n### OUTPUT ###" + out.decode('utf-8')…