Searched refs:pendingRestores (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
D | AppDataRollbackHelperTest.java | 153 ArrayList<RestoreInfo> pendingRestores = info.getPendingRestores(); in testRestoreAppDataSnapshot_availableBackupForLockedUser() local 154 assertEquals(1, pendingRestores.size()); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 155 assertEquals(10, pendingRestores.get(0).userId); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 156 assertEquals(1, pendingRestores.get(0).appId); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 157 assertEquals("seinfo", pendingRestores.get(0).seInfo); in testRestoreAppDataSnapshot_availableBackupForLockedUser() 177 ArrayList<RestoreInfo> pendingRestores = info.getPendingRestores(); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser() local 178 assertEquals(0, pendingRestores.size()); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 98 final List<RestoreInfo> pendingRestores = packageRollbackInfo.getPendingRestores(); in restoreAppData() local 113 pendingRestores.add(new RestoreInfo(userId, appId, seInfo)); in restoreAppData() 229 final List<RollbackData> pendingRestores = computePendingRestores(userId, in commitPendingBackupAndRestoreForUser() local 270 for (RollbackData data : pendingRestores) { in commitPendingBackupAndRestoreForUser() 289 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() 343 final ArrayList<RestoreInfo> pendingRestores = convertToRestoreInfoArray( in packageRollbackInfoFromJson() local 353 pendingBackups, pendingRestores, isApex, installedUsers, 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()
|