Searched refs:setEnableRollback (Results 1 – 7 of 7) sorted by relevance
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()175 .setEnableRollback().commit(); in testRollbackApexWithApkCrashing_Phase1_Install()211 Install.single(TestApp.ACrashing2).setEnableRollback().setStaged().commit(); in testWatchdogMonitorsAcrossReboots_Phase1_Install()253 Install.single(apex2).setEnableRollback(PackageManager.ROLLBACK_DATA_POLICY_RETAIN) in testRollbackRebootlessApex()273 Install.single(apex2).setEnableRollback(PackageManager.ROLLBACK_DATA_POLICY_RETAIN) in testNativeWatchdogTriggersRebootlessApexRollback_Phase1_Install()276 Install.single(TestApp.A2).setEnableRollback().commit(); in testNativeWatchdogTriggersRebootlessApexRollback_Phase1_Install()
150 Install.single(TestApp.A2).setEnableRollback().setRollbackImpactLevel( in testBasic()215 Install.single(TestApp.A2).setEnableRollback().commit(); in testSameVersionUpdate()216 Install.single(TestApp.ACrashing2).setEnableRollback().commit(); in testSameVersionUpdate()255 Install.single(TestApp.ACrashing2).setEnableRollback().commit(); in testBadUpdateRollback()259 Install.single(TestApp.B2).setEnableRollback().commit(); in testBadUpdateRollback()311 Install.single(TestApp.A2).setEnableRollback().commit(); in testRollForwardRace()
96 Install.single(TestApp.A2).setEnableRollback().commit(); in testMultipleUsersUpgradeToV2()134 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testStagedRollback_Phase2()
153 Install.single(NETWORK_STACK).setStaged().setEnableRollback() in installNetworkStackPackage()
3168 public void setEnableRollback(boolean enable) { in setEnableRollback() method in PackageInstaller.SessionParams3169 setEnableRollback(enable, PackageManager.ROLLBACK_DATA_POLICY_RESTORE); in setEnableRollback()3187 public void setEnableRollback(boolean enable, in setEnableRollback() method in PackageInstaller.SessionParams
3561 sessionParams.setEnableRollback(true, rollbackStrategy); in makeInstallParams()
4193 method public void setEnableRollback(boolean);4194 method public void setEnableRollback(boolean, int);