Searched refs:runExpectingFailure (Results 1 – 14 of 14) sorted by relevance
86 new InstallMultiple(instant).addFile(APK_FAIL_APPLICATION).runExpectingFailure( in testInstallUsePackageFailApplication()103 new InstallMultiple(instant).addFile(APK_FAIL_ACTIVITY).runExpectingFailure( in testInstallUsePackageFailActivity()120 new InstallMultiple(instant).addFile(APK_FAIL_SERVICE).runExpectingFailure( in testInstallUsePackageFailService()137 new InstallMultiple(instant).addFile(APK_FAIL_RECEIVER).runExpectingFailure( in testInstallUsePackageFailReceiver()154 new InstallMultiple(instant).addFile(APK_FAIL_PROVIDER).runExpectingFailure( in testInstallUsePackageFailProvider()
58 new InstallMultiple().addFile(APK_DEX_COMPRESSED).runExpectingFailure(); in testBadInstallWithCompressedDex()69 .runExpectingFailure(); in testBadInstallWithDexCompressedSplit()82 .runExpectingFailure(); in testBadInstallWithBaseThenDexCompressedSplit()
124 .runExpectingFailure("INSTALL_FAILED_VERSION_DOWNGRADE"); in testInstallDowngradeAcrossMajorMinorVersion()128 .runExpectingFailure("INSTALL_FAILED_VERSION_DOWNGRADE"); in testInstallDowngradeAcrossMajorMinorVersion()132 .runExpectingFailure("INSTALL_FAILED_VERSION_DOWNGRADE"); in testInstallDowngradeAcrossMajorMinorVersion()
295 .runExpectingFailure(); in testInstallBaseWithFsvSigAndSplitWithout()326 installer.runExpectingFailure(); in testInstallDmWithMissingFsvSig()346 installer.runExpectingFailure(); in testInstallSplitWithFsvSigAndBaseWithout()367 .runExpectingFailure(); in testInstallBaseWithFsvSigThenSplitWithout()406 .runExpectingFailure(); in testInstallBaseIncrementallyWithIdSigAndWrongFsvSig()416 .runExpectingFailure(); in testInstallBaseIncrementallyWithWrongIdSigAndFsvSig()
408 new InstallMultiple(instant).addFile(APK).addFile(APK).runExpectingFailure(); in testDuplicateBase()422 … new InstallMultiple(instant).addFile(APK).addFile(APK_v7).addFile(APK_v7).runExpectingFailure(); in testDuplicateSplit()436 new InstallMultiple(instant).addFile(APK).addFile(APK_DIFF_CERT_v7).runExpectingFailure(); in testDiffCert()451 … new InstallMultiple(instant).inheritFrom(PKG).addFile(APK_DIFF_CERT_v7).runExpectingFailure(); in testDiffCertInherit()465 … new InstallMultiple(instant).addFile(APK).addFile(APK_DIFF_VERSION_v7).runExpectingFailure(); in testDiffVersion()480 … new InstallMultiple(instant).inheritFrom(PKG).addFile(APK_DIFF_VERSION_v7).runExpectingFailure(); in testDiffVersionInherit()544 new InstallMultiple(instant).inheritFrom(PKG).addFile(APK_v7).runExpectingFailure(); in testDiffRevisionDowngrade()648 .runExpectingFailure("INSTALL_FAILED_MISSING_SPLIT"); in testRequiredSplitMissing()702 .runExpectingFailure("INSTALL_FAILED_MISSING_SPLIT"); in testRequiredSplitRemoved()
171 new InstallMultiple().addFile(OVERLAY_ANDROID_APK).runExpectingFailure();195 new InstallMultiple().addFile(OVERLAY_ALL_PIE_APK).runExpectingFailure();223 OVERLAY_ALL_NO_NAME_DIFFERENT_CERT_APK).runExpectingFailure();
130 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_B).runExpectingFailure(); in testInstallMissingDependency_usesSplit()147 APK_FEATURE_A_pl).runExpectingFailure(); in testInstallMissingDependency_configForSplit()335 APK_FEATURE_PROVIDER_A_WITH_EXTRACTING).runExpectingFailure( in testNativeInstallable_extractNativeLibs_baseFalse_splitTrue_full()345 APK_FEATURE_PROVIDER_A_WITH_EXTRACTING).runExpectingFailure( in testNativeInstallable_extractNativeLibs_baseFalse_splitTrue_instant()
68 .runExpectingFailure("INSTALL_FAILED_SHARED_USER_INCOMPATIBLE"); in testSharedUidDifferentCerts()
195 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple199 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
118 .runExpectingFailure("INSTALL_FAILED_UPDATE_INCOMPATIBLE"); in testAppUpgradeDifferentCerts()
115 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple119 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
397 installer.runExpectingFailure(); in testInstallDmFailedWithoutFsvSigForBase()415 installer.runExpectingFailure(); in testInstallDmWithoutFsvSigForSplit()433 .runExpectingFailure(); in testInstallDmWithoutFsvSigForSplitOnlyInstall()
88 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple