cc84c69726507a85116f5664e20e2ebfac76edbe |
|
29-Mar-2010 |
Christopher Tate <ctate@google.com> |
API CHANGE: rename BackupHelperAgent => BackupAgentHelper per API Council Part of bug #2545514 Change-Id: Ic775e3b942c485252149c1b6c15c88517fa4e3e5
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestAgent.java
|
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/BackupTestAgent.java
|
dc355a90a3d9d34f66316928a53f61ac35ab4781 |
|
26-Jun-2009 |
Joe Onorato <joeo@android.com> |
Add a test for SharedPreferencesBackupHelper (which nobody had ever tested. I like it when stuff just works the first time).
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestAgent.java
|
aae628b44518f0886a7f33b88c1131f47d853e70 |
|
26-Jun-2009 |
Joe Onorato <joeo@android.com> |
Test that we correctly back up an empty file. (It turns out that we do. It didn't used to work, I'm not sure what changed)
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestAgent.java
|
4a64bded06a0299785c295a975e2818308eb53e2 |
|
26-Jun-2009 |
Joe Onorato <joeo@android.com> |
Add some helpful tests scripts for backup and make bmgr restore wait until the backup is done.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestAgent.java
|
4ababd922eac5931e0222862ff082dc29e012816 |
|
26-Jun-2009 |
Joe Onorato <joeo@android.com> |
Make the BackupHelperDispatcher properly handle multiple helpers.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestAgent.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/BackupTestAgent.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/BackupTestAgent.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/BackupTestAgent.java
|
1cf587496fcb1d652bab9fc6792fb106b6fefaa4 |
|
12-Jun-2009 |
Joe Onorato <joeo@android.com> |
Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestAgent.java
|
181fafaf48208978b8ba2022683ffa78aaeddde1 |
|
14-May-2009 |
Christopher Tate <ctate@google.com> |
Retool the backup process to use a new 'BackupAgent' class Backups will be handled by launching the application in a special mode under which no activities or services will be started, only the BackupAgent subclass named in the app's android:backupAgent manifest property. This takes the place of the BackupService class used earlier during development. In the cases of *full* backup or restore, an application that does not supply its own BackupAgent will be launched in a restricted manner; in particular, it will be using the default Application class rather than any manifest-declared one. This ensures that the app is not running any code that may try to manipulate its data while the backup system reads/writes its data set.
/frameworks/base/tests/backup/src/com/android/backuptest/BackupTestAgent.java
|