Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java194 pkgInfo1.getPendingRestores().add( in saveAndLoadRollback()
196 pkgInfo1.getPendingRestores().add( in saveAndLoadRollback()
209 pkgInfo2.getPendingRestores().add( in saveAndLoadRollback()
245 pkgInfo1.getPendingRestores().add( in loadFromJsonNoExtensionVersions()
247 pkgInfo1.getPendingRestores().add( in loadFromJsonNoExtensionVersions()
259 pkgInfo2.getPendingRestores().add( in loadFromJsonNoExtensionVersions()
295 pkgInfo1.getPendingRestores().add( in loadFromJson()
297 pkgInfo1.getPendingRestores().add( in loadFromJson()
309 pkgInfo2.getPendingRestores().add( in loadFromJson()
409 assertThat(b.getPendingRestores()).comparingElementsUsing(RESTORE_INFO_CORR) in assertPackageRollbacksAreEquivalent()
[all …]
DAppDataRollbackHelperTest.java170 ArrayList<RestoreInfo> pendingRestores = info.getPendingRestores(); in testRestoreAppDataSnapshot_availableBackupForLockedUser()
194 ArrayList<RestoreInfo> pendingRestores = info.getPendingRestores(); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser()
232 wasRecentlyRestored.getPendingRestores().add( in commitPendingBackupAndRestoreForUser()
238 pendingRestore.getPendingRestores().add( in commitPendingBackupAndRestoreForUser()
247 wasRecentlyRestored.getPendingRestores().add( in commitPendingBackupAndRestoreForUser()
/frameworks/base/core/java/android/content/rollback/
DPackageRollbackInfo.java128 public ArrayList<RestoreInfo> getPendingRestores() { in getPendingRestores() method in PackageRollbackInfo
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java325 synchronized (backupManagerService.getPendingRestores()) { in handleMessage()
330 backupManagerService.getPendingRestores().add(task); in handleMessage()
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java92 final List<RestoreInfo> pendingRestores = packageRollbackInfo.getPendingRestores(); in restoreAppData()
DRollbackStore.java431 List<RestoreInfo> pendingRestores = info.getPendingRestores(); in toJson()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java153 when(mBackupManagerService.getPendingRestores()).thenReturn(new ArrayDeque<>()); in setUp()
334 assertThat(mBackupManagerService.getPendingRestores()).hasSize(1); in testRestoreAll_whenRestoreInProgress_addsToPendingRestores()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java1400 synchronized (backupManagerService.getPendingRestores()) { in finalizeRestore()
1401 if (backupManagerService.getPendingRestores().size() > 0) { in finalizeRestore()
1405 PerformUnifiedRestoreTask task = backupManagerService.getPendingRestores().remove(); in finalizeRestore()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java824 public Queue<PerformUnifiedRestoreTask> getPendingRestores() { in getPendingRestores() method in UserBackupManagerService