Lines Matching refs:packageName
225 * @param packageName the Android manifest package to check.
229 public boolean doesPackageExist(String packageName) throws IOException {
230 String pkgGrep = executeShellCommand(String.format("pm path %s", packageName));
237 * @param packageName package name to check for
241 public boolean doesAppExistOnDevice(String packageName) throws IOException {
242 return doesRemoteFileExistContainingString(DEVICE_APP_PATH, packageName);
248 * @param packageName package name to check for
252 public boolean doesAppExistOnSDCard(String packageName) throws IOException {
253 return doesRemoteFileExistContainingString(SDCARD_APP_PATH, packageName);
259 * @param packageName package name to check for
263 public boolean doesAppExistAsForwardLocked(String packageName) throws IOException {
264 return doesRemoteFileExistContainingString(APP_PRIVATE_PATH, packageName);
337 * @param packageName The name of the package to wait to load
341 public void waitForApp(String packageName) throws InterruptedException, IOException {
345 while (!doesPackageExist(packageName)) {
349 Log.e(LOG_TAG, "time out waiting for app to launch: " + packageName);
674 String packageName = currentLine.substring(currentLine.indexOf('=') + 1);
675 mDevice.uninstallPackage(packageName);