Home
last modified time | relevance | path

Searched refs:setStaged (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java106 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyStagedRollback_Phase1_Install()
166 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install()
169 Install.single(TestApp.B2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedRollback_Phase1_Install()
255 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install()
258 Install.single(TestApp.B2).setStaged().commit(); in testApkOnlyMultipleStagedPartialRollback_Phase1_Install()
316 Install.single(TestApp.Apex2).setStaged().commit(); in testApexOnlyStagedRollback_Phase1_InstallFirst()
330 Install.single(TestApp.Apex3).setStaged().setEnableRollback().commit(); in testApexOnlyStagedRollback_Phase2_InstallSecond()
395 Install.single(TestApp.Apex2).setStaged().setEnableRollback().commit(); in testApexOnlySystemVersionStagedRollback_Phase1_Install()
447 Install.multi(TestApp.Apex2, TestApp.A1).setStaged().commit(); in testApexAndApkStagedRollback_Phase1_InstallFirst()
462 Install.multi(TestApp.Apex3, TestApp.A2).setStaged().setEnableRollback().commit(); in testApexAndApkStagedRollback_Phase2_InstallSecond()
[all …]
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DSessionAbandonBehaviorTest.java267 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_shouldReceiveAbandonCallBack()
296 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_openedSession_canNotGetNames()
330 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_openForWriting_shouldFail()
366 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_canNotOpenAgain()
399 TestApp.B1).setStaged().createSession(); in abandon_stagedParentSession_shouldReceiveAllChildrenAbandonCallBack()
430 .setStaged().createSession(); in abandon_stagedParentSession_shouldAbandonAllChildrenSessions()
466 final int parentSessionId = Install.multi(TestApp.A1).setStaged().createSession(); in abandon_stagedParentSession_openedChildSession_getNamesShouldReturnEmptyList()
524 final int parentSessionId = Install.multi(TestApp.A1).setStaged().createSession(); in abandon_stagedParentSession_openChildSessionForWriting_shouldFail()
564 final int parentSessionId = Install.multi(TestApp.A1).setStaged().createSession(); in abandon_stagedParentSession_childSession_canNotOpenAgain()
DAtomicInstallTest.java190 Install parentStaged = Install.multi(Install.single(TestApp.A1)).setStaged(); in testFailInconsistentMultiPackageCommit()
191 Install childStaged = Install.multi(Install.single(TestApp.A1).setStaged()); in testFailInconsistentMultiPackageCommit()
240 params.setStaged(); in testInvalidStateScenario_MultiSessionCantBeApex()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java101 public Install setStaged() { in setStaged() method in Install
237 params.setStaged(); in createEmptyInstallSession()
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java191 int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in testOpenSingleSessionWithParameters()
202 int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).setStaged().createSession(); in testOpenSessionForMultiPackageSession()
232 params.setStaged(); in testMutateInstallFlags()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java719 Install.single(TestApp.Apex2).setStaged()); in testInstallApex_DeviceDoesNotSupportApex_Fails()
1006 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testFailureReasonPersists_SingleSession_Commit()
1023 int firstSessionId = Install.single(TestApp.A1).setStaged().commit(); in testFailureReasonPersists_MultipleSession_Commit()
1024 int secondSessionId = Install.single(TestApp.B1).setStaged().commit(); in testFailureReasonPersists_MultipleSession_Commit()
1078 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testInstallApkChangingFingerprint()
1131 int sessionId = Install.single(Apex2WithoutApkInApex).setStaged().commit(); in testInstallStagedApex_SameGrade_NewOneWins_Commit()
1264 return Install.single(TestApp.A1).setStaged().createSession(); in createStagedSession()
1276 int sessionId = Install.single(testApp).setStaged().setRequestDowngrade().createSession(); in stageDowngradeSingleApk()
1297 int sessionId = Install.single(testApp).setStaged().createSession(); in stageSingleApk()
1306 int multiPackageSessionId = Install.multi(testApps).setStaged().createSession(); in stageMultipleApks()
DApexShimValidationTest.java111 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex()
/cts/hostsidetests/install/app/src/android/cts/install/
DUpgradeTest.java119 install.setStaged(); in getParameterizedInstall()
DDowngradeTest.java154 install.setStaged(); in getParameterizedInstall()
DSamegradeTest.java168 install.setStaged(); in getParameterizedInstall()
DInstallTest.java156 install.setStaged(); in getParameterizedInstall()