Lines Matching refs:printPrefix
119 def uninstall (adbPath, packageName, extraArgs = [], printPrefix=""): argument
120 print printPrefix + "Removing existing %s...\n" % packageName,
124 ], printPrefix, failOnNonZeroExit=False)
125 print printPrefix + "Remove complete\n",
127 def install (adbPath, apkPath, extraArgs = [], printPrefix=""): argument
128 print printPrefix + "Installing %s...\n" % apkPath,
132 ], printPrefix)
133 print printPrefix + "Install complete\n",
135 def installToDevice (device, adbPath, packageName, apkPath, printPrefix=""): argument
136 if len(printPrefix) == 0:
139 print printPrefix + "Installing to %s\n" % device.serial,
141 uninstall(adbPath, packageName, ['-s', device.serial], printPrefix)
142 install(adbPath, apkPath, ['-s', device.serial], printPrefix)