Lines Matching refs:adbPath
51 def getDevices (adbPath): argument
52 proc = subprocess.Popen([adbPath, 'devices', '-l'], stdout=subprocess.PIPE)
119 def uninstall (adbPath, packageName, extraArgs = [], printPrefix=""): argument
121 execWithPrintPrefix([adbPath] + extraArgs + [
127 def install (adbPath, apkPath, extraArgs = [], printPrefix=""): argument
129 execWithPrintPrefix([adbPath] + extraArgs + [
135 def installToDevice (device, adbPath, packageName, apkPath, printPrefix=""): argument
141 uninstall(adbPath, packageName, ['-s', device.serial], printPrefix)
142 install(adbPath, apkPath, ['-s', device.serial], printPrefix)
144 def installToDevices (devices, doParallel, adbPath, packageName, apkPath): argument
147 …parallelApply(installToDevice, [(device, adbPath, packageName, apkPath, ("(%s):%s" % (device.model…
149 serialApply(installToDevice, [(device, adbPath, packageName, apkPath) for device in devices]);
151 def installToAllDevices (doParallel, adbPath, packageName, apkPath): argument
152 devices = getDevices(adbPath)
153 installToDevices(devices, doParallel, adbPath, packageName, apkPath)
223 installToAllDevices(args.doParallel, args.adbPath, packageName, apkPath)
226 devices = getDevices(args.adbPath)
230 installToDevice(devices[0], args.adbPath, packageName, apkPath)
237 installToDevice(devices[deviceNdx-1], args.adbPath, packageName, apkPath)
239 devices = getDevices(args.adbPath)
248 installToDevices(devices, args.doParallel, args.adbPath, packageName, apkPath)