Searched refs:runExpectingFailure (Results 1 – 14 of 14) sorted by relevance
85 new InstallMultiple().addFile(APK_DEX_COMPRESSED).runExpectingFailure(); in testBadInstallWithCompressedDex()91 new InstallMultiple().addFile(APK_DEX_COMPRESSED_PER_PROCESS).runExpectingFailure(); in testBadInstallWithCompressedDex_perProcess()108 .runExpectingFailure(); in testBadInstallWithDexCompressedSplit()115 .runExpectingFailure(); in testBadInstallWithDexCompressedSplit_perProcess()135 .runExpectingFailure(); in testBadInstallWithBaseThenDexCompressedSplit()143 .runExpectingFailure(); in testBadInstallWithBaseThenDexCompressedSplit_perProcess()
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()
124 .runExpectingFailure("INSTALL_FAILED_VERSION_DOWNGRADE"); in testInstallDowngradeAcrossMajorMinorVersion()128 .runExpectingFailure("INSTALL_FAILED_VERSION_DOWNGRADE"); in testInstallDowngradeAcrossMajorMinorVersion()132 .runExpectingFailure("INSTALL_FAILED_VERSION_DOWNGRADE"); in testInstallDowngradeAcrossMajorMinorVersion()
535 new InstallMultiple(instant).addFile(APK).addFile(APK).runExpectingFailure(); in testDuplicateBase()549 … new InstallMultiple(instant).addFile(APK).addFile(APK_v7).addFile(APK_v7).runExpectingFailure(); in testDuplicateSplit()563 new InstallMultiple(instant).addFile(APK).addFile(APK_DIFF_CERT_v7).runExpectingFailure(); in testDiffCert()578 … new InstallMultiple(instant).inheritFrom(PKG).addFile(APK_DIFF_CERT_v7).runExpectingFailure(); in testDiffCertInherit()592 … new InstallMultiple(instant).addFile(APK).addFile(APK_DIFF_VERSION_v7).runExpectingFailure(); in testDiffVersion()607 … new InstallMultiple(instant).inheritFrom(PKG).addFile(APK_DIFF_VERSION_v7).runExpectingFailure(); in testDiffVersionInherit()671 new InstallMultiple(instant).inheritFrom(PKG).addFile(APK_v7).runExpectingFailure(); in testDiffRevisionDowngrade()775 .runExpectingFailure("INSTALL_FAILED_MISSING_SPLIT"); in testRequiredSplitMissing()829 .runExpectingFailure("INSTALL_FAILED_MISSING_SPLIT"); in testRequiredSplitRemoved()845 .runExpectingFailure("INSTALL_FAILED_MISSING_SPLIT"); in testRequiredSplitTypesInstalledIncomplete()[all …]
70 .runExpectingFailure("INSTALL_FAILED_SHARED_USER_INCOMPATIBLE"); in testSharedUidDifferentCerts()
132 new InstallMultiple(instant).addFile(APK_BASE).addFile(APK_FEATURE_B).runExpectingFailure(); in testInstallMissingDependency_usesSplit()149 APK_FEATURE_A_pl).runExpectingFailure(); in testInstallMissingDependency_configForSplit()337 APK_FEATURE_PROVIDER_A_WITH_EXTRACTING).runExpectingFailure( in testNativeInstallable_extractNativeLibs_baseFalse_splitTrue_full()347 APK_FEATURE_PROVIDER_A_WITH_EXTRACTING).runExpectingFailure( in testNativeInstallable_extractNativeLibs_baseFalse_splitTrue_instant()
138 .runExpectingFailure("INSTALL_FAILED_UPDATE_INCOMPATIBLE"); in testAppUpgradeDifferentCerts()393 .runExpectingFailure("INSTALL_PARSE_FAILED_MANIFEST_MALFORMED"); in testInstallDuplicatePermission_differentProtectionLevel_fail()423 .runExpectingFailure("INSTALL_PARSE_FAILED_MANIFEST_MALFORMED"); in testInstallDuplicatePermission_differentPermissionGroup_fail()
311 .runExpectingFailure(); in testInstallBaseWithFsvSigAndSplitWithout()378 .runExpectingFailure(); in testInstallBaseWithFsvSigThenSplitWithout()417 .runExpectingFailure(); in testInstallBaseIncrementallyWithIdSigAndWrongFsvSig()427 .runExpectingFailure(); in testInstallBaseIncrementallyWithWrongIdSigAndFsvSig()
186 new InstallMultiple().addFile(OVERLAY_ANDROID_APK).runExpectingFailure();210 new InstallMultiple().addFile(OVERLAY_ALL_PIE_APK).runExpectingFailure();238 OVERLAY_ALL_NO_NAME_DIFFERENT_CERT_APK).runExpectingFailure();
226 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple230 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
115 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple119 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
79 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
403 .runExpectingFailure(); in testInstallDmForSplitOnlyInstall()