Searched refs:pendingRestores (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 154 ArrayList<RestoreInfo> pendingRestores = info.getPendingRestores(); in testRestoreAppDataSnapshot_availableBackupForLockedUser() local 155 assertEquals(1, pendingRestores.size()); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 156 assertEquals(10, pendingRestores.get(0).userId); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 157 assertEquals(1, pendingRestores.get(0).appId); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 158 assertEquals("seinfo", pendingRestores.get(0).seInfo); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 178 ArrayList<RestoreInfo> pendingRestores = info.getPendingRestores(); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser() local 179 assertEquals(0, pendingRestores.size()); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 100 final List<RestoreInfo> pendingRestores = packageRollbackInfo.getPendingRestores(); in restoreAppData() local 115 pendingRestores.add(new RestoreInfo(userId, appId, seInfo)); in restoreAppData() 231 final List<Rollback> pendingRestores = computePendingRestores(userId, in commitPendingBackupAndRestoreForUser() local 273 for (Rollback rollback : pendingRestores) { in commitPendingBackupAndRestoreForUser() 292 changed.addAll(pendingRestores); in commitPendingBackupAndRestoreForUser()
|
D | RollbackStore.java | 321 List<RestoreInfo> pendingRestores = info.getPendingRestores(); in toJson() local 324 json.put("pendingRestores", convertToJsonArray(pendingRestores)); in toJson() 344 final ArrayList<RestoreInfo> pendingRestores = convertToRestoreInfoArray( in packageRollbackInfoFromJson() local 355 pendingBackups, pendingRestores, isApex, snapshottedUsers, ceSnapshotInodes); in packageRollbackInfoFromJson()
|
/frameworks/base/core/java/android/content/rollback/ |
D | PackageRollbackInfo.java | 181 @NonNull IntArray pendingBackups, @NonNull ArrayList<RestoreInfo> pendingRestores, in PackageRollbackInfo() argument 187 this.mPendingRestores = pendingRestores; in PackageRollbackInfo()
|