Lines Matching defs:fail

90         fail(errMsg);
102 Log.i(TAG, "sdcard not mounted? Some of these tests might fail");
223 fail("Timed out waiting for packageInstalled callback");
228 fail("Package installation should have succeeded, but got code "
233 fail("Package installation should fail");
254 fail("Timed out waiting for PACKAGE_ADDED notification");
279 fail("Timed out waiting for packageInstalled callback");
432 fail("compat check: Can't read " + info.dataDir + "/lib");
457 fail("Can't read " + nativeLibDir.getPath());
489 fail("Can't read " + nativeLibSymLink.getPath());
493 fail("Install should have failed");
563 fail(pkgName + " shouldnt be installed");
647 fail("Permission not found: " + cmd);
666 fail("Permission still exists: " + cmd);
677 fail("Permission not requested: " + cmd);
681 fail("Permission not granted: " + cmd);
685 fail("Permission granted: " + cmd);
707 private void installFromRawResource(InstallParams ip, int flags, boolean cleanUp, boolean fail,
723 if (fail) {
747 boolean cleanUp, boolean fail, int result, int expInstallLocation) throws Exception {
749 installFromRawResource(ip, flags, cleanUp, fail, result, expInstallLocation);
1697 int moveFlags, boolean cleanUp, boolean fail, int result) throws Exception {
1706 if (fail) {
1747 private void sampleMoveFromRawResource(int installFlags, int moveFlags, boolean fail,
1751 fail, result);
1763 boolean fail = false;
1765 sampleMoveFromRawResource(installFlags, moveFlags, fail, result);
1772 boolean fail = true;
1774 sampleMoveFromRawResource(installFlags, moveFlags, fail, result);
1786 boolean fail = true;
1788 sampleMoveFromRawResource(installFlags, moveFlags, fail, result);
1800 boolean fail = false;
1802 sampleMoveFromRawResource(installFlags, moveFlags, fail, result);
1814 boolean fail = false;
1816 sampleMoveFromRawResource(installFlags, moveFlags, fail, result);
1828 boolean fail = true;
1954 * Install an app with both internal and external flags set. should fail
1990 * lock. Should fail.
2968 private InstallParams replaceCerts(int apk1, int apk2, boolean cleanUp, boolean fail,
2978 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3178 private void checkSharedSignatures(int apk1, int apk2, boolean cleanUp, boolean fail,
3191 if (fail) {
3213 boolean fail = false;
3216 checkSharedSignatures(apk1, apk2, true, fail, retCode, expMatchResult);
3223 boolean fail = true;
3226 checkSharedSignatures(apk1, apk2, true, fail, retCode, expMatchResult);
3237 boolean fail = true;
3240 checkSharedSignatures(apk1, apk2, true, fail, retCode, expMatchResult);
3251 boolean fail = true;
3254 checkSharedSignatures(apk1, apk2, true, fail, retCode, expMatchResult);
3306 boolean fail = true;
3310 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3318 boolean fail = true;
3322 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3330 boolean fail = true;
3334 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3342 boolean fail = true;
3346 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3354 boolean fail = true;
3358 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3366 boolean fail = true;
3370 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);