Home
last modified time | relevance | path

Searched refs:runExpectingFailure (Results 1 – 14 of 14) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUseEmbeddedDexTest.java85 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()
DUseProcessTest.java86 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()
DMajorVersionTest.java124 .runExpectingFailure("INSTALL_FAILED_VERSION_DOWNGRADE"); in testInstallDowngradeAcrossMajorMinorVersion()
128 .runExpectingFailure("INSTALL_FAILED_VERSION_DOWNGRADE"); in testInstallDowngradeAcrossMajorMinorVersion()
132 .runExpectingFailure("INSTALL_FAILED_VERSION_DOWNGRADE"); in testInstallDowngradeAcrossMajorMinorVersion()
DSplitTests.java535 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 …]
DSharedUserIdTest.java70 .runExpectingFailure("INSTALL_FAILED_SHARED_USER_INCOMPATIBLE"); in testSharedUidDifferentCerts()
DIsolatedSplitsTests.java132 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()
DAppSecurityTests.java138 .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()
DApkVerityInstallTest.java311 .runExpectingFailure(); in testInstallBaseWithFsvSigAndSplitWithout()
378 .runExpectingFailure(); in testInstallBaseWithFsvSigThenSplitWithout()
417 .runExpectingFailure(); in testInstallBaseIncrementallyWithIdSigAndWrongFsvSig()
427 .runExpectingFailure(); in testInstallBaseIncrementallyWithWrongIdSigAndFsvSig()
DOverlayHostTest.java186 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();
DBaseInstallMultiple.java226 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
230 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java115 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
119 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java115 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
119 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java79 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
DInstallDexMetadataHostTest.java403 .runExpectingFailure(); in testInstallDmForSplitOnlyInstall()