Home
last modified time | relevance | path

Searched refs:commitExpectingFailure (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DApexShimValidationTest.java113 InstallUtils.commitExpectingFailure( in testRejectsApexWithAdditionalFile_rebootless()
125 InstallUtils.commitExpectingFailure( in testRejectsApexWithAdditionalFolder_rebootless()
137 InstallUtils.commitExpectingFailure( in testRejectsApexWithPostInstallHook_rebootless()
149 InstallUtils.commitExpectingFailure( in testRejectsApexWithPreInstallHook_rebootless()
161 InstallUtils.commitExpectingFailure( in testRejectsApexWrongSHA_rebootless()
DStagedInstallTest.java528 InstallUtils.commitExpectingFailure(AssertionError.class, in testsFailsNonStagedApexInstall()
574 InstallUtils.commitExpectingFailure(AssertionError.class, in testNonStagedInstallApkWithSameNameAsApexShouldFail()
723 InstallUtils.commitExpectingFailure(IllegalArgumentException.class, in testInstallApex_DeviceDoesNotSupportApex_Fails()
1349 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_downgradeToV2_fails()
1360 InstallUtils.commitExpectingFailure(SecurityException.class, in testRebootlessUpdate_noPermission_fails()
1371 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_noPreInstalledApex_fails()
1382 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_unsignedPayload_fails()
1393 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_payloadSignedWithDifferentKey_fails()
1405 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_outerContainerSignedWithDifferentCert_fails()
1416 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_outerContainerUnsigned_fails()
[all …]
/cts/hostsidetests/install/app/src/android/cts/install/
DDowngradeTest.java127 InstallUtils.commitExpectingFailure(AssertionError.class, in assert_downgradeNotAllowed_phase()
139 InstallUtils.commitExpectingFailure(AssertionError.class, in assert_downgradeNotRequested_phase()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java181 InstallUtils.commitExpectingFailure(AssertionError.class, in testInstallTwoApksDowngradeFail()
218 InstallUtils.commitExpectingFailure(AssertionError.class, "Missing existing base package", in testChildFailurePropagated()
226 InstallUtils.commitExpectingFailure(AssertionError.class, "Failed to parse", in testEarlyFailureFailsAll()
393 InstallUtils.commitExpectingFailure(IllegalStateException.class, failMessage, install); in assertInconsistentSettings()
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsTests.java77 InstallUtils.commitExpectingFailure(AssertionError.class, in testSamegradeStaticSharedLibFail()
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java229 public static void commitExpectingFailure(Class expectedThrowableClass, in commitExpectingFailure() method in InstallUtils