Home
last modified time | relevance | path

Searched refs:adb_path (Results 1 – 2 of 2) sorted by relevance

/development/python-packages/adb/
Ddevice.py50 def get_devices(adb_path='adb'): argument
52 subprocess.check_call([adb_path, 'start-server'], stdout=devnull,
54 out = subprocess.check_output([adb_path, 'devices']).splitlines()
70 def _get_unique_device(product=None, adb_path='adb'): argument
71 devices = get_devices(adb_path=adb_path)
74 return AndroidDevice(devices[0], product, adb_path)
77 def _get_device_by_serial(serial, product=None, adb_path='adb'): argument
78 for device in get_devices(adb_path=adb_path):
80 return AndroidDevice(serial, product, adb_path)
84 def get_device(serial=None, product=None, adb_path='adb'): argument
[all …]
/development/python-packages/gdbrunner/
D__init__.py54 adb_path = result.adb_path or "adb"
58 subprocess.check_output([adb_path, "version"],
62 if not result.adb_path:
64 sys.exit(msg.format(adb_path))
68 result.device = adb.get_device(adb_path=adb_path)
70 result.device = adb.get_usb_device(adb_path=adb_path)
72 result.device = adb.get_emulator_device(adb_path=adb_path)
74 result.device = adb.get_device(result.serial, adb_path=adb_path)