Lines Matching refs:devices
59 devices = []
69 devices.append(Device(m.group(1), m.group(2), m.group(3), m.group(4)))
71 return devices
145 def installToDevices (devices, doParallel, adbPath, packageName, apkPath): argument
146 padLen = max([len(device.model) for device in devices])+1
148 …apkPath, ("(%s):%s" % (device.model, ' ' * (padLen - len(device.model))))) for device in devices]);
150 serialApply(installToDevice, [(device, adbPath, packageName, apkPath) for device in devices]);
153 devices = getDevices(adbPath)
154 installToDevices(devices, doParallel, adbPath, packageName, apkPath)
227 devices = getDevices(args.adbPath) variable
228 if len(devices) == 0:
230 elif len(devices) == 1:
231 installToDevice(devices[0], args.adbPath, packageName, apkPath)
234 for i in range(0, len(devices)):
235 print("%3d: %16s %s" % ((i+1), devices[i].serial, devices[i].model))
237 deviceNdx = int(input("Choose device (1-%d): " % len(devices)))
238 installToDevice(devices[deviceNdx-1], args.adbPath, packageName, apkPath)
240 devices = getDevices(args.adbPath) variable
242 devices = [dev for dev in devices if dev.serial in args.serial] variable
243 devSerials = [dev.serial for dev in devices]
249 installToDevices(devices, args.doParallel, args.adbPath, packageName, apkPath)