Home
last modified time | relevance | path

Searched refs:setStaged (Results 1 – 13 of 13) 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/appenumeration/src/android/appenumeration/cts/
DPackageInstallerEnumerationTests.java105 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothing_cannotSeeSession()
114 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothingHasPermission_canSeeSession()
123 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesPackage_canSeeSession()
132 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_queriesNothingTargetsQ_canSeeSession()
141 final int sessionId = Install.single(TestApp.A1).setPackageName(TestApp.A).setStaged() in getStagedSessions_sessionOwner_canSeeSession()
/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/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java198 int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in testOpenSingleSessionWithParameters()
209 int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).setStaged().createSession(); in testOpenSessionForMultiPackageSession()
239 params.setStaged(); in testMutateInstallFlags()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java120 public Install setStaged() { in setStaged() method in Install
297 params.setStaged(); in createEmptyInstallSession()
/cts/hostsidetests/install/app/src/android/cts/install/
DUpgradeTest.java121 install.setStaged(); in getParameterizedInstall()
DDowngradeTest.java154 install.setStaged(); in getParameterizedInstall()
DSamegradeTest.java168 install.setStaged(); in getParameterizedInstall()
DInstallTest.java152 install.setStaged(); in getParameterizedInstall()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java363 int sessionId = Install.multi(TestApp.A1, TestApp.Apex2).setStaged().createSession(); in testNoSessionUpdatedBroadcastSentForStagedSessionAbandon()
972 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testFailureReasonPersists_SingleSession_Commit()
989 int firstSessionId = Install.single(TestApp.A1).setStaged().commit(); in testFailureReasonPersists_MultipleSession_Commit()
990 int secondSessionId = Install.single(TestApp.B1).setStaged().commit(); in testFailureReasonPersists_MultipleSession_Commit()
1044 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testInstallApkChangingFingerprint()
1096 int sessionId = Install.single(Apex2WithoutApkInApex).setStaged().commit(); in testInstallStagedApex_SameGrade_NewOneWins_Commit()
1417 return Install.single(TestApp.A1).setStaged().createSession(); in createStagedSession()
1433 int sessionId = Install.single(testApp).setStaged().setRequestDowngrade().createSession(); in stageDowngradeSingleApk()
1454 int sessionId = Install.single(testApp).setStaged().createSession(); in stageSingleApk()
1463 int multiPackageSessionId = Install.multi(testApps).setStaged().createSession(); in stageMultipleApks()
DApexShimValidationTest.java173 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt4203 … method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged();