summaryrefslogtreecommitdiff
path: root/core/java/android/backup/BackupDataOutput.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor android.backup => android.app.backupChristopher Tate2010-03-051-94/+0
| | | | Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
* Add some backup Javadoc and clean importsKenny Root2010-02-241-2/+0
| | | | | | | Add a bit more Javadoc to the backup infrastructure and clean up unused imports. Change-Id: I8ab7c3fb887ae2e8d2f1bfac42f03cb4b42685ef
* API CHANGE: expose backup/restore to the SDKChristopher Tate2010-02-161-2/+21
| | | | | | | | | | | | | | The core backup/restore classes [BackupManager, BackupAgent, RestoreSession, and RestoreObserver] are now published for 3rd party developers, as well as the suite of helper classes that exist so far to aid authorship of backup/restore agents. In conjunction with the API change, the restore-time automatic data wipe has now been removed: applications are responsible for managing the logic of wipe vs merge themselves. If the app's agent onRestore() callback throws, the data is presumed to be incoherent and a wipe is issued via the Activity Manager; otherwise, no automatic action is ever taken. Change-Id: I0b3418b829d4689b58b88be3d9c4ace37a8583a9
* Helper API cleanup. Allows multiple helpers to function,Joe Onorato2009-06-221-1/+6
| | | | | because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
* Store the app signatures as part of the backup setChristopher Tate2009-06-181-0/+1
| | | | | | | | | | | Under a pseudo-app for the Package Manager, we store the app signatures for all participating applications installed on the device. At restore time we will restore this first, then ensure that the current on-device signature chain is compatible with the one in the backup set. If there's a mismatch, this may be a spoof attempt and we will refuse to restore that app's data. The restore side of this is not implemented, but the Package Manager agent is here as well as the backup side theoretically pushing the data now.
* backup fixes:Joe Onorato2009-06-171-3/+1
| | | | | | - BackupTestAgent calls the DispatchHelper - Make BackupAgent.onRestore take a BackupDataInput, not just a generic ParcelFileDescriptor.
* Add RestoreFileHelper, BackupDataInput, and add java wrappers for the ↵Joe Onorato2009-06-121-0/+22
| | | | methods on BackupDataOutput.
* Hook up the backup data writer, and add a utility to read the backup data files.Joe Onorato2009-05-201-11/+17
|
* Get the backup calling through to the file backup helper.Joe Onorato2009-05-141-0/+1
| | | | | This includes some cleanup to make the parameters match between BackupService.onBackup and FileBackupHelper.performBackup.
* More backup testsJoe Onorato2009-05-071-0/+44