Home
last modified time | relevance | path

Searched refs:setEnableRollback (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DStagedRollbackTest.java89 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()
DRollbackTest.java150 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()
DMultiUserRollbackTest.java96 Install.single(TestApp.A2).setEnableRollback().commit(); in testMultipleUsersUpgradeToV2()
134 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testStagedRollback_Phase2()
DNetworkStagedRollbackTest.java153 Install.single(NETWORK_STACK).setStaged().setEnableRollback() in installNetworkStackPackage()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java3168 public void setEnableRollback(boolean enable) { in setEnableRollback() method in PackageInstaller.SessionParams
3169 setEnableRollback(enable, PackageManager.ROLLBACK_DATA_POLICY_RESTORE); in setEnableRollback()
3187 public void setEnableRollback(boolean enable, in setEnableRollback() method in PackageInstaller.SessionParams
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java3561 sessionParams.setEnableRollback(true, rollbackStrategy); in makeInstallParams()
/frameworks/base/core/api/
Dsystem-current.txt4193 method public void setEnableRollback(boolean);
4194 method public void setEnableRollback(boolean, int);