Lines Matching refs:command
222 def command(self) -> str: member in SurfaceFlingerTraceConfig
431 command = ['adb'] + (['-s', device] if device else []) + params.split(' ')
433 log.debug("Call: " + ' '.join(command))
434 … return subprocess.check_output(command, stderr=subprocess.STDOUT, input=stdin).decode('utf-8')
437 ' '.join(command), repr(ex)))
439 ' '.join(command), repr(ex)))
442 ' '.join(command), ex.output.decode("utf-8")))
569 def __init__(self, device_id, command): argument
571 self.trace_command = command
686 command = StartTrace.TRACE_COMMAND.format(
693 device_id, command.encode('utf-8'))
718 command = TRACE_THREADS[device_id].trace_command
725 …utf-8") + "\n### Command: adb -s {} shell ###\n### Input ###\n".format(device_id) + command.decode(
758 command = config.command()
761 execute_command(server, device_id, shell, "sf buffer size", command)
829 command = '\n'.join(t.dump_command for t in requested_traces)
835 out, err = process.communicate(command.encode('utf-8'))
837 …raise AdbError("Error executing command:\n" + command + "\n\n### OUTPUT ###" + out.decode('utf-8')…