History log of /frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4528186e0d65fc68ef0dd1941aa2ac8aefcd55a3 06-Mar-2010 Christopher Tate <ctate@google.com> Refactor android.backup => android.app.backup

Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
c8daa769256b039b6bc4c5acbe6b558cd776c00a 07-Jul-2009 Christopher Tate <ctate@google.com> BackupManager wrapper class improvements

+ Now rechecks the cached IBinder each time the wrapper is used, and if it's
still null (i.e. the BackupManager was constructed before the system service
came up) it's refetched. This lets even system code cache a single
BackupManager instance and just keep making calls through it without worrying
about interactions with the life cycle of the backup service.

+ Added a static dataChanged(packageName) method as a convenience for code that
needs to indicate that some other package needs a backup pass. This is useful
even for third party code in the case of multiple packages in a shared-uid
situation.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
5cbbf5652a78902ac3382dc4a3583bc5b0351027 23-Jun-2009 Christopher Tate <ctate@google.com> Pass the originating app's versionCode along with a restore set

This change amends the doRestore() / onRestore() interface to backup agents to
provide the integer android:versionCode of the app that stored the backup set.
This should help agents figure out how to handle whatever historical data set
they're handed at restore time.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
06290a4bb9b280fa14a2bbeb2d3ceb09396a78c3 19-Jun-2009 Joe Onorato <joeo@android.com> Helper API cleanup. Allows multiple helpers to function,
because they'll always go in the same order, and this lets
us not have to write headers to keep them paired.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
d2d9ceb7305d593c1b767bbb05de0082a9af4109 18-Jun-2009 Joe Onorato <joeo@android.com> Make RestoreHelper and friends also write out the snapshot state.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
83248c432ffe2e2a17abbc8e4960c26574b46bca 18-Jun-2009 Joe Onorato <joeo@android.com> backup fixes:

- BackupTestAgent calls the DispatchHelper
- Make BackupAgent.onRestore take a BackupDataInput, not just a
generic ParcelFileDescriptor.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
efd0fab04b96d7ab0c1d8bf3b79397c8621e31c5 18-Jun-2009 Joe Onorato <joeo@android.com> FileRestoreHelper and RestoreHelperDispatcher work.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
290bb011c5c1a9ba1f2116810b06cf52a9c36b3e 14-May-2009 Joe Onorato <joeo@android.com> Get the backup calling through to the file backup helper.

This includes some cleanup to make the parameters match
between BackupService.onBackup and FileBackupHelper.performBackup.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
b1a7ffef3a0007b6991b8338460f6aac8cbb11e8 07-May-2009 Joe Onorato <joeo@android.com> More backup tests
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java
f9225f89aafa13dcbc3a69a721acf9b76c34485c 06-May-2009 Joe Onorato <joeo@android.com> Add a test app for the backup
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestActivity.java