summaryrefslogtreecommitdiff
path: root/core/java/android/backup/FileBackupHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor android.backup => android.app.backupChristopher Tate2010-03-051-104/+0
| | | | Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
* Add some backup Javadoc and clean importsKenny Root2010-02-241-5/+25
| | | | | | | 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-1/+13
| | | | | | | | | | | | | | 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
* Turn off most of the backup-related debug loggingChristopher Tate2009-09-301-2/+2
| | | | | | | The core logging in BackupManagerService and in the Google backup transport are still enabled at this point. Change-Id: I10abfa565bbd1097dd3631051b6aca163e4af33a
* Helper API cleanup. Allows multiple helpers to function,Joe Onorato2009-06-221-65/+18
| | | | | because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
* Add RestoreFileHelper, BackupDataInput, and add java wrappers for the ↵Joe Onorato2009-06-121-4/+39
| | | | methods on BackupDataOutput.
* Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.Joe Onorato2009-06-111-11/+25
| | | | This took quite a bit of refactoring.
* Hook up the backup data writer, and add a utility to read the backup data files.Joe Onorato2009-05-201-5/+2
|
* Remove unnecessary code.Marco Nelissen2009-05-141-3/+0
|
* Get the backup calling through to the file backup helper.Joe Onorato2009-05-141-18/+26
| | | | | This includes some cleanup to make the parameters match between BackupService.onBackup and FileBackupHelper.performBackup.
* More backup testsJoe Onorato2009-05-071-0/+68