Searched refs:setStaged (Results 1 – 9 of 9) sorted by relevance
115 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testSystemServerRestartDoesNotAffectStagedSessions_Commit()130 int id1 = Install.single(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp()132 int id2 = Install.multi(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp()134 int id3 = Install.single(TestApp.A1).setStaged().commit(); in testAbandonStagedSessionShouldCleanUp()136 int id4 = Install.multi(TestApp.A1).setStaged().commit(); in testAbandonStagedSessionShouldCleanUp()143 Install.single(APEX_WRONG_SHA_V2).setStaged()); in testStagedSessionShouldCleanUpOnVerificationFailure()148 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testStagedSessionShouldCleanUpOnOnSuccess_Commit()163 Install.single(TestApp.AIncompleteSplit).setStaged()); in testStagedInstallationShouldCleanUpOnValidationFailure()215 sessionId = Install.single(TestApp.Apex3).setStaged().commit(); in testActiveApexIsRevertedOnCheckpointRollback_Commit()251 .setStaged()); in testApexInstallerNotInAllowListCanNotInstall_staged()[all …]
153 Install.single(TestApp.A2).setEnableRollback().setStaged().commit(); in testNativeWatchdogTriggersRollback_Phase1_Install()186 Install.single(TestApp.A2).setEnableRollback().setStaged().commit(); in testNativeWatchdogTriggersRollbackForAll_Phase1_InstallA()203 Install.single(TestApp.B2).setEnableRollback().setStaged().commit(); in testNativeWatchdogTriggersRollbackForAll_Phase2_InstallB()244 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testPreviouslyAbandonedRollbacks_Phase1_InstallAndAbandon()286 Install.single(app).setStaged().setEnableRollback() in testRollbackAllowlistedApp_Phase1_Install()303 Install a2 = Install.single(TestApp.A2).setStaged() in testRollbackDataPolicy_Phase1_Install()305 Install b2 = Install.single(TestApp.B2).setStaged() in testRollbackDataPolicy_Phase1_Install()308 Install c2 = Install.single(TestApp.C2).setStaged().setEnableRollback(); in testRollbackDataPolicy_Phase1_Install()309 Install.multi(a2, b2, c2).setEnableRollback().setStaged().commit(); in testRollbackDataPolicy_Phase1_Install()472 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testRollbackApkDataDirectories_Phase2_InstallV2()[all …]
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()
88 Install.single(UNCOMPRESSED_APEX_V2).setStaged().commit(); in testUnusedDecompressedApexIsCleanedUp_HigherVersion()93 Install.single(UNCOMPRESSED_APEX_V1).setStaged().commit(); in testUnusedDecompressedApexIsCleanedUp_SameVersion()134 Install.single(UNCOMPRESSED_APEX_V2).setStaged().setEnableRollback().commit(); in testCompressedApexCanBeRolledBack_Commit()
536 parentParams.setStaged(); in commit()568 params.setStaged(); in commit()
2075 public void setStaged() { in setStaged() method in PackageInstaller.SessionParams
2855 sessionParams.setStaged(); in makeInstallParams()2864 sessionParams.setStaged(); in makeInstallParams()
2693 … method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged();