Lines Matching refs:device
39 def get_tracer_pid(device, pid): argument
43 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)])
82 def verify_device(root, device): argument
83 name = device.get_prop("ro.product.name")
90 def get_remote_pid(device, process_name): argument
91 processes = gdbrunner.get_processes(device)
104 def ensure_linker(device, sysroot, is64bit): argument
111 device.pull(remote_path, local_path)
126 device = args.device
138 pid = get_remote_pid(device, args.target_name)
145 run_cmd[0] = gdbrunner.find_executable_path(device, args.run_cmd[0],
151 binary_file, local = gdbrunner.find_file(device, run_cmd[0], sysroot,
156 binary_file, local = gdbrunner.find_binary(device, pid, sysroot,
287 device = args.device
289 if device is None:
296 verify_device(root, device)
310 ensure_linker(device, sysroot, is64bit)
312 tracer_pid = get_tracer_pid(device, pid)
322 device, gdbserver_local_path, gdbserver_remote_path,
327 gdbrunner.forward_gdbserver_port(device, local=args.port,