Home
last modified time | relevance | path

Searched refs:pendingRestores (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/rollback/
DPackageRollbackInfo.java180 @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
195 this.mPendingRestores = pendingRestores; in PackageRollbackInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java168 ArrayList<RestoreInfo> pendingRestores = info.getPendingRestores(); in testRestoreAppDataSnapshot_availableBackupForLockedUser() local
169 assertEquals(1, pendingRestores.size()); in testRestoreAppDataSnapshot_availableBackupForLockedUser()
170 assertEquals(10, pendingRestores.get(0).userId); in testRestoreAppDataSnapshot_availableBackupForLockedUser()
171 assertEquals(1, pendingRestores.get(0).appId); in testRestoreAppDataSnapshot_availableBackupForLockedUser()
172 assertEquals("seinfo", pendingRestores.get(0).seInfo); in testRestoreAppDataSnapshot_availableBackupForLockedUser()
192 ArrayList<RestoreInfo> pendingRestores = info.getPendingRestores(); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser() local
193 assertEquals(0, pendingRestores.size()); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser()
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java92 final List<RestoreInfo> pendingRestores = packageRollbackInfo.getPendingRestores(); in restoreAppData() local
107 pendingRestores.add(new RestoreInfo(userId, appId, seInfo)); in restoreAppData()
DRollbackStore.java411 List<RestoreInfo> pendingRestores = info.getPendingRestores(); in toJson() local
414 json.put("pendingRestores", convertToJsonArray(pendingRestores)); in toJson()
436 final ArrayList<RestoreInfo> pendingRestores = convertToRestoreInfoArray( in packageRollbackInfoFromJson() local
450 pendingBackups, pendingRestores, isApex, isApkInApex, snapshottedUsers, in packageRollbackInfoFromJson()