Home | History | Annotate | Download | only in scripts

Lines Matching refs:device

49         help="run a binary on the device, with args")
56 help="user to run commands as on the device [default: root]")
78 names = set([props["ro.build.product"], props["ro.product.device"]])
81 msg = "TARGET_DEVICE ({}) does not match attached device ({})"
85 def get_remote_pid(device, process_name):
86 processes = gdbrunner.get_processes(device)
99 def ensure_linker(device, sysroot, is64bit):
106 device.pull(remote_path, local_path)
121 device = args.device
131 pid = get_remote_pid(device, args.target_name)
138 binary_file, local = gdbrunner.find_file(device, run_cmd[0], sysroot,
143 binary_file, local = gdbrunner.find_binary(device, pid, sysroot,
182 # Try to connect for a few seconds, sometimes the device gdbserver takes
197 print("Error: unable to connect to device.")
212 device = args.device
214 if device is None:
215 sys.exit("ERROR: Failed to find device.")
217 props = device.get_props()
222 # Make sure the environment matches the attached device.
237 ensure_linker(device, sysroot, is64bit)
243 device, gdbserver_local_path, gdbserver_remote_path,