Searched refs:setStaged (Results 1 – 8 of 8) sorted by relevance
180 int sessionId = Install.multi(TEST_APEX_WITH_APK_V2, TestApp.A2).setStaged().commit(); in testDuplicateApkInApexShouldFail_Commit()195 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testSystemServerRestartDoesNotAffectStagedSessions_Commit()210 int id1 = Install.single(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp()212 int id2 = Install.multi(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp()214 int id3 = Install.single(TestApp.A1).setStaged().commit(); in testAbandonStagedSessionShouldCleanUp()216 int id4 = Install.multi(TestApp.A1).setStaged().commit(); in testAbandonStagedSessionShouldCleanUp()224 Install.single(APEX_WRONG_SHA_V2).setStaged()); in testStagedSessionShouldCleanUpOnVerificationFailure()226 Install.multi(APEX_WRONG_SHA_V2, TestApp.A1).setStaged()); in testStagedSessionShouldCleanUpOnVerificationFailure()231 Install.single(TestApp.A1).setStaged()); in testStagedSessionShouldCleanUpOnVerificationFailure()233 Install.multi(TestApp.A1, TestApp.B1).setStaged()); in testStagedSessionShouldCleanUpOnVerificationFailure()[all …]
89 int sessionId = Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testPreviouslyAbandonedRollbacks_Phase1_InstallAndAbandon()94 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testPreviouslyAbandonedRollbacks_Phase1_InstallAndAbandon()136 Install.single(app).setStaged().setEnableRollback() in testRollbackAllowlistedApp_Phase1_Install()174 Install.single(TEST_APEX_WITH_APK_V2_CRASHING).setStaged() in testRollbackApexWithApkCrashing_Phase1_Install()211 Install.single(TestApp.ACrashing2).setEnableRollback().setStaged().commit(); in testWatchdogMonitorsAcrossReboots_Phase1_Install()
127 Install.single(TestApp.A1).setStaged().commit(); in testStagedRollback_Phase1()134 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testStagedRollback_Phase2()
153 Install.single(NETWORK_STACK).setStaged().setEnableRollback() in installNetworkStackPackage()
553 parentParams.setStaged(); in commit()585 params.setStaged(); in commit()
3404 public void setStaged() { in setStaged() method in PackageInstaller.SessionParams
3617 sessionParams.setStaged(); in makeInstallParams()
4202 … method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged();