History log of /frameworks/base/include/utils/BackupHelpers.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
63bcb79dd437e70593b63cc5a87baab3251c2183 24-Jun-2009 Christopher Tate <ctate@google.com> Only report "unknown metadata" once per restore helper

Also removes the auto-free object, replacing it with direct memory manipulation.
/frameworks/base/include/utils/BackupHelpers.h
11b157790234d3d2f116ce4c7ed1d3d00fb78bc3 23-Jun-2009 Christopher Tate <ctate@google.com> Add file mode to the file-backup saved state blobs

This change puts the file's access mode into the saved-state blob used by the
file backup helpers. The tests have been updated for the new blob content
format.

What this change *doesn't* do is actually backup/restore the file mode. This
change is a prerequisite for that, but mode preservation in backup/restore will
require adding metadata to the backup data stream itself, so will be approached
a bit more carefully.

(Also fixed one outright bug in the test program: ReadEntityData() had been
changed to return a ssize_t union of either a byte-count or a negative number
indicating error, but the test program was still assuming that nonzero == error,
and was spuriously failing.)
/frameworks/base/include/utils/BackupHelpers.h
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/include/utils/BackupHelpers.h
5d605dc56b036232e885f6ec36b888b729673060 19-Jun-2009 Joe Onorato <joeo@android.com> backup stuff
/frameworks/base/include/utils/BackupHelpers.h
d2d9ceb7305d593c1b767bbb05de0082a9af4109 18-Jun-2009 Joe Onorato <joeo@android.com> Make RestoreHelper and friends also write out the snapshot state.
/frameworks/base/include/utils/BackupHelpers.h
efd0fab04b96d7ab0c1d8bf3b79397c8621e31c5 18-Jun-2009 Joe Onorato <joeo@android.com> FileRestoreHelper and RestoreHelperDispatcher work.
/frameworks/base/include/utils/BackupHelpers.h
5f15d151b5101fadfe6cba1e8f4aa6367e8c603e 16-Jun-2009 Joe Onorato <joeo@android.com> checkpoint BackupDatAInput / RestoreHelper
/frameworks/base/include/utils/BackupHelpers.h
ce88cb15b52998e16c3ba548a4ec49117a835e21 11-Jun-2009 Joe Onorato <joeo@android.com> Make the file backup helper not crash if a file you requested
can't be stated. This means you don't need to know if the files
you are backing up exist or not -- we'll figure it out for you.
/frameworks/base/include/utils/BackupHelpers.h
23ecae3bbb60c5af940f3a22170d75eb6ac05b69 11-Jun-2009 Joe Onorato <joeo@android.com> Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.

This took quite a bit of refactoring.
/frameworks/base/include/utils/BackupHelpers.h
8ae2335a3c93d0c00e998fdec18f64dfe43b94cb 04-Jun-2009 Mathias Agopian <mathias@google.com> rename a few files to camel-case, add copyright notices
/frameworks/base/include/utils/BackupHelpers.h