Home
last modified time | relevance | path

Searched refs:getPendingBackups (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java190 pkgInfo1.getPendingBackups().add(8); in saveAndLoadRollback()
191 pkgInfo1.getPendingBackups().add(888); in saveAndLoadRollback()
192 pkgInfo1.getPendingBackups().add(88885); in saveAndLoadRollback()
207 pkgInfo2.getPendingBackups().add(57); in saveAndLoadRollback()
241 pkgInfo1.getPendingBackups().add(59); in loadFromJsonNoExtensionVersions()
242 pkgInfo1.getPendingBackups().add(1245); in loadFromJsonNoExtensionVersions()
243 pkgInfo1.getPendingBackups().add(124544); in loadFromJsonNoExtensionVersions()
257 pkgInfo2.getPendingBackups().add(5); in loadFromJsonNoExtensionVersions()
291 pkgInfo1.getPendingBackups().add(59); in loadFromJson()
292 pkgInfo1.getPendingBackups().add(1245); in loadFromJson()
[all …]
DAppDataRollbackHelperTest.java73 assertEquals(2, info.getPendingBackups().size()); in testSnapshotAppData()
74 assertEquals(10, (int) info.getPendingBackups().get(0)); in testSnapshotAppData()
75 assertEquals(11, (int) info.getPendingBackups().get(1)); in testSnapshotAppData()
91 assertEquals(1, info2.getPendingBackups().size()); in testSnapshotAppData()
92 assertEquals(11, (int) info2.getPendingBackups().get(0)); in testSnapshotAppData()
134 List<Integer> pendingBackups = info.getPendingBackups(); in testRestoreAppDataSnapshot_pendingBackupForUser()
267 assertEquals(-1, wasRecentlyRestored.getPendingBackups().indexOf(37)); in commitPendingBackupAndRestoreForUser()
274 assertEquals(-1, pendingBackup.getPendingBackups().indexOf(37)); in commitPendingBackupAndRestoreForUser()
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java91 final List<Integer> pendingBackups = packageRollbackInfo.getPendingBackups(); in restoreAppData()
230 final List<Integer> pendingBackupUsers = info.getPendingBackups(); in commitPendingBackupAndRestoreForUser()
DRollbackStore.java430 List<Integer> pendingBackups = info.getPendingBackups(); in toJson()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java192 if (backupManagerService.getPendingBackups().size() > 0) { in handleMessage()
193 for (BackupRequest b : backupManagerService.getPendingBackups().values()) { in handleMessage()
199 backupManagerService.getPendingBackups().clear(); in handleMessage()
/frameworks/base/core/java/android/content/rollback/
DPackageRollbackInfo.java123 public List<Integer> getPendingBackups() { in getPendingBackups() method in PackageRollbackInfo
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2702 mBackupManagerService.getPendingBackups().clear(); in createKeyValueBackupTask()
2949 assertThat(mBackupManagerService.getPendingBackups()).containsKey(packageName); in assertBackupPendingFor()
2959 assertThat(mBackupManagerService.getPendingBackups()).doesNotContainKey(packageName); in assertBackupNotPendingFor()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java788 public HashMap<String, BackupRequest> getPendingBackups() { in getPendingBackups() method in UserBackupManagerService