Searched refs:pendingBackups (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 91 final List<Integer> pendingBackups = packageRollbackInfo.getPendingBackups(); in restoreAppData() local 98 if (pendingBackups != null && pendingBackups.indexOf(userId) != -1) { in restoreAppData() 99 pendingBackups.remove(pendingBackups.indexOf(userId)); in restoreAppData()
|
D | RollbackStore.java | 410 List<Integer> pendingBackups = info.getPendingBackups(); in toJson() local 413 json.put("pendingBackups", fromIntList(pendingBackups)); in toJson() 434 final List<Integer> pendingBackups = toIntList( in packageRollbackInfoFromJson() local 450 pendingBackups, pendingRestores, isApex, isApkInApex, snapshottedUsers, in packageRollbackInfoFromJson()
|
/frameworks/base/core/java/android/content/rollback/ |
D | PackageRollbackInfo.java | 180 @NonNull List<Integer> pendingBackups, @NonNull ArrayList<RestoreInfo> pendingRestores, in PackageRollbackInfo() argument 182 this(packageRolledBackFrom, packageRolledBackTo, pendingBackups, pendingRestores, isApex, in PackageRollbackInfo() 189 @NonNull List<Integer> pendingBackups, @NonNull ArrayList<RestoreInfo> pendingRestores, in PackageRollbackInfo() argument 194 this.mPendingBackups = pendingBackups; in PackageRollbackInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 132 List<Integer> pendingBackups = info.getPendingBackups(); in testRestoreAppDataSnapshot_pendingBackupForUser() local 133 pendingBackups.add(10); in testRestoreAppDataSnapshot_pendingBackupForUser() 134 pendingBackups.add(11); in testRestoreAppDataSnapshot_pendingBackupForUser() 147 assertEquals(1, pendingBackups.size()); in testRestoreAppDataSnapshot_pendingBackupForUser() 148 assertEquals(11, (int) pendingBackups.get(0)); in testRestoreAppDataSnapshot_pendingBackupForUser()
|