Searched refs:setStaged (Results 1 – 13 of 13) sorted by relevance
106 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 …]
105 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()
267 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()
190 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()
198 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()
120 public Install setStaged() { in setStaged() method in Install297 params.setStaged(); in createEmptyInstallSession()
121 install.setStaged(); in getParameterizedInstall()
154 install.setStaged(); in getParameterizedInstall()
168 install.setStaged(); in getParameterizedInstall()
152 install.setStaged(); in getParameterizedInstall()
363 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()
173 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex()
4203 … method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged();