Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
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()
DUseEmbeddedDexTest.java58 new InstallMultiple().addFile(APK_DEX_COMPRESSED).runExpectingFailure(); in testBadInstallWithCompressedDex()
69 .runExpectingFailure(); in testBadInstallWithDexCompressedSplit()
82 .runExpectingFailure(); in testBadInstallWithBaseThenDexCompressedSplit()
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()
DApkVerityInstallTest.java295 .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()
DSplitTests.java408 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()
DOverlayHostTest.java171 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();
DIsolatedSplitsTests.java130 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()
DSharedUserIdTest.java68 .runExpectingFailure("INSTALL_FAILED_SHARED_USER_INCOMPATIBLE"); in testSharedUidDifferentCerts()
DBaseInstallMultiple.java195 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
199 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple
DAppSecurityTests.java118 .runExpectingFailure("INSTALL_FAILED_UPDATE_INCOMPATIBLE"); in testAppUpgradeDifferentCerts()
/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/
DInstallDexMetadataHostTest.java397 installer.runExpectingFailure(); in testInstallDmFailedWithoutFsvSigForBase()
415 installer.runExpectingFailure(); in testInstallDmWithoutFsvSigForSplit()
433 .runExpectingFailure(); in testInstallDmWithoutFsvSigForSplitOnlyInstall()
DBaseInstallMultiple.java88 void runExpectingFailure() throws DeviceNotAvailableException { in runExpectingFailure() method in BaseInstallMultiple