Lines Matching refs:apkPath
127 def install (adbPath, apkPath, extraArgs = [], printPrefix=""): argument
128 print printPrefix + "Installing %s...\n" % apkPath,
131 apkPath
135 def installToDevice (device, adbPath, packageName, apkPath, printPrefix=""): argument
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
153 installToDevices(devices, doParallel, adbPath, packageName, apkPath)
217 apkPath = getAPKPath(args.buildRoot, args.target) variable
219 if not os.path.isfile(apkPath):
220 die("%s does not exist" % apkPath)
223 installToAllDevices(args.doParallel, args.adbPath, packageName, apkPath)
230 installToDevice(devices[0], args.adbPath, packageName, apkPath)
237 installToDevice(devices[deviceNdx-1], args.adbPath, packageName, apkPath)
248 installToDevices(devices, args.doParallel, args.adbPath, packageName, apkPath)