Lines Matching refs:apkPath
127 def install (adbPath, apkPath, extraArgs = [], printPrefix=""): argument
128 print(printPrefix + "Installing %s...\n" % apkPath,)
132 apkPath
136 def installToDevice (device, adbPath, packageName, apkPath, printPrefix=""): argument
143 install(adbPath, apkPath, ['-s', device.serial], printPrefix)
145 def installToDevices (devices, doParallel, adbPath, packageName, apkPath): argument
148 …parallelApply(installToDevice, [(device, adbPath, packageName, apkPath, ("(%s):%s" % (device.model…
150 serialApply(installToDevice, [(device, adbPath, packageName, apkPath) for device in devices]);
152 def installToAllDevices (doParallel, adbPath, packageName, apkPath): argument
154 installToDevices(devices, doParallel, adbPath, packageName, apkPath)
218 apkPath = getAPKPath(args.buildRoot, args.target) variable
220 if not os.path.isfile(apkPath):
221 die("%s does not exist" % apkPath)
224 installToAllDevices(args.doParallel, args.adbPath, packageName, apkPath)
231 installToDevice(devices[0], args.adbPath, packageName, apkPath)
238 installToDevice(devices[deviceNdx-1], args.adbPath, packageName, apkPath)
249 installToDevices(devices, args.doParallel, args.adbPath, packageName, apkPath)