Home
last modified time | relevance | path

Searched refs:RollbackDataPolicy (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/content/rollback/
DPackageRollbackInfo.java154 public @PackageManager.RollbackDataPolicy int getRollbackDataPolicy() { in getRollbackDataPolicy()
183 isApkInApex, snapshottedUsers, PackageManager.RollbackDataPolicy.RESTORE); in PackageRollbackInfo()
191 @PackageManager.RollbackDataPolicy int rollbackDataPolicy) { in PackageRollbackInfo()
210 this.mRollbackDataPolicy = PackageManager.RollbackDataPolicy.RESTORE; in PackageRollbackInfo()
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java146 case PackageManager.RollbackDataPolicy.WIPE: in doRestoreOrWipe()
149 case PackageManager.RollbackDataPolicy.RESTORE: in doRestoreOrWipe()
163 case PackageManager.RollbackDataPolicy.WIPE: in doRestoreOrWipe()
167 case PackageManager.RollbackDataPolicy.RESTORE: in doRestoreOrWipe()
DRollbackStore.java447 PackageManager.RollbackDataPolicy.RESTORE); in packageRollbackInfoFromJson()
DRollback.java454 == PackageManager.RollbackDataPolicy.RESTORE) { in snapshotUserData()
DRollbackManagerServiceImpl.java802 if (manifestPolicy != PackageManager.RollbackDataPolicy.RESTORE) {
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java1619 public int rollbackDataPolicy = PackageManager.RollbackDataPolicy.RESTORE;
1890 rollbackDataPolicy = PackageManager.RollbackDataPolicy.RESTORE; in setEnableRollback()
1909 @PackageManager.RollbackDataPolicy int dataPolicy) { in setEnableRollback()
2806 @PackageManager.RollbackDataPolicy
DPackageManager.java1057 RollbackDataPolicy.RESTORE,
1058 RollbackDataPolicy.WIPE,
1059 RollbackDataPolicy.RETAIN
1061 public @interface RollbackDataPolicy { annotation in PackageManager
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DStagedRollbackTest.java304 .setEnableRollback(PackageManager.RollbackDataPolicy.WIPE); in testRollbackDataPolicy_Phase1_Install()
306 .setEnableRollback(PackageManager.RollbackDataPolicy.RESTORE); in testRollbackDataPolicy_Phase1_Install()
DRollbackTest.java1204 .setEnableRollback(PackageManager.RollbackDataPolicy.WIPE); in testRollbackDataPolicy()
1206 .setEnableRollback(PackageManager.RollbackDataPolicy.RESTORE); in testRollbackDataPolicy()