Lines Matching refs:run_as_cmd
145 target_pid, run_cmd, debug_socket, port, run_as_cmd=[], argument
166 run_as_cmd = ["chroot", chroot] + run_as_cmd
169 device.shell_nocheck(run_as_cmd + ["rm", debug_socket])
189 gdbserver_cmd = run_as_cmd + gdbserver_cmd
222 def find_file(device, executable_path, sysroot, run_as_cmd=None): argument
264 if run_as_cmd:
265 cmd = run_as_cmd + cmd
280 def find_executable_path(device, executable_name, run_as_cmd=None): argument
298 if run_as_cmd:
299 cmd = run_as_cmd + cmd
308 def find_binary(device, pid, sysroot, run_as_cmd=None): argument
310 return find_file(device, "/proc/{}/exe".format(pid), sysroot, run_as_cmd)