Home
last modified time | relevance | path

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

/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DApexShimValidationTest.java117 InstallUtils.commitExpectingFailure( in testRejectsApexWithAdditionalFile_rebootless()
129 InstallUtils.commitExpectingFailure( in testRejectsApexWithAdditionalFolder_rebootless()
141 InstallUtils.commitExpectingFailure( in testRejectsApexWithPostInstallHook_rebootless()
153 InstallUtils.commitExpectingFailure( in testRejectsApexWithPreInstallHook_rebootless()
165 InstallUtils.commitExpectingFailure( in testRejectsApexWrongSHA_rebootless()
DStagedInstallTest.java525 InstallUtils.commitExpectingFailure(AssertionError.class, in testsFailsNonStagedApexInstall()
573 InstallUtils.commitExpectingFailure(AssertionError.class, in testNonStagedInstallApkWithSameNameAsApexShouldFail()
1312 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_downgradeToV2_fails()
1323 InstallUtils.commitExpectingFailure(SecurityException.class, in testRebootlessUpdate_noPermission_fails()
1334 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_noPreInstalledApex_fails()
1345 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_unsignedPayload_fails()
1356 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_payloadSignedWithDifferentKey_fails()
1368 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_outerContainerSignedWithDifferentCert_fails()
1379 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_outerContainerUnsigned_fails()
1390 InstallUtils.commitExpectingFailure( in testRebootlessUpdate_targetsOlderSdk_fails()
/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()
DInstallTest.java107 InstallUtils.commitExpectingFailure(AssertionError.class, in assert_commitFailure_phase()
110 InstallUtils.commitExpectingFailure(IllegalStateException.class, in assert_commitFailure_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.java112 InstallUtils.commitExpectingFailure(AssertionError.class, in testSamegradeStaticSharedLibFail()
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java187 public static void commitExpectingFailure(Class expectedThrowableClass, in commitExpectingFailure() method in InstallUtils
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java675 InstallUtils.commitExpectingFailure(AssertionError.class, in testRollbackFailsOtherSessions_Phase2_RollBack()