Searched defs:backup (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/app/backup/
H A DBackupHelper.java17 package android.app.backup;
23 * when dispatching backup and restore operations to the installed helpers.
29 * created by other components within the backup system. Invocations of multiple
32 * produced during the previous backup operation.
48 * written during this helper's previous backup operation, and the {@code newState}
50 * new state after performing the backup operation.
60 * last backup state provided by the application. May be
62 * provided and the application should perform a full backup.
64 * pointing to the backup data destination.
65 * Typically the application will use backup helpe
[all...]
H A DBackupObserver.java17 package android.app.backup;
22 * Callback class for receiving progress reports during a backup operation. These
30 * This method could be called several times for packages with full data backup.
31 * It will tell how much of backup data is already saved and how much is expected.
34 * @param backupProgress Current progress of backup for the package.
40 * The backup of single package has completed. This method will be called at most one time
41 * for each package and could be not called if backup is failed before and
45 * @param status Zero on success; a nonzero error code if the backup operation failed.
51 * The backup process has completed. This method will always be called,
52 * even if no individual package backup operation
[all...]
H A DFullBackupAgent.java17 package android.app.backup;
23 * Simple concrete class that merely provides the default BackupAgent full backup/restore
33 // Doesn't do incremental backup/restore
39 // Doesn't do incremental backup/restore
H A DAbsoluteFileBackupHelper.java17 package android.app.backup;
H A DBackupAgentHelper.java17 package android.app.backup;
25 * heterogeneous data sets within the backup data, each identified by a unique
26 * key prefix. When processing a backup or restore operation, the BackupAgentHelper
31 * backup agent. Then, within the agent's {@link BackupAgent#onCreate() onCreate()}
36 * <ul><li>{@link FileBackupHelper} - Manages the backup and restore of entire files
38 * <li>{@link SharedPreferencesBackupHelper} - Manages the backup and restore of an
48 * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p>
61 * Run the backup process on each of the configured handlers.
85 * must have a prefix string that is unique within this backup agent's set of
89 * @param helper A backup/restor
[all...]
H A DBackupDataInputStream.java17 package android.app.backup;
98 * Report the key string associated with this entity within the backup data set.
H A DBackupProgress.java17 package android.app.backup;
24 * Information about current progress of full data backup
33 * Expected size of data in full backup.
37 * Amount of backup data that is already saved in backup.
H A DFileBackupHelper.java17 package android.app.backup;
27 * {@link android.app.backup.BackupAgentHelper} to manage the backup of a set of
28 * files. Whenever backup is performed, all files changed since the last backup
29 * will be saved in their entirety. When backup first occurs,
47 * Construct a helper to manage backup/restore of entire files within the
50 * @param context The backup agent's Context object
70 * {@link android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor, BackupDataOutput, ParcelFileDescriptor)}
H A DFullBackupDataOutput.java1 package android.app.backup;
7 * to a full backup data set, via its {@link BackupAgent#onFullBackup(FullBackupDataOutput)}
H A DRestoreObserver.java17 package android.app.backup;
22 import android.app.backup.RestoreSet;
32 * {@link android.app.backup.IRestoreSession.getAvailableRestoreSets} method.
34 * @param result An array of {@link android.app.backup.RestoreSet RestoreSet} objects
64 * indication of the backup manager's progress through the overall restore process.
H A DRestoreSet.java17 package android.app.backup;
44 * Token that identifies this backup set unambiguously to the backup/restore
H A DSharedPreferencesBackupHelper.java17 package android.app.backup;
28 * {@link android.app.backup.BackupAgentHelper} to manage the backup of
29 * {@link android.content.SharedPreferences}. Whenever a backup is performed, it
31 * backup operation.
33 * To use this class, the application's backup agent class should extend
34 * {@link android.app.backup.BackupAgentHelper}. Then, in the agent's
36 * allocated and installed as a backup/restore handler within the BackupAgentHelper
37 * framework. For example, an agent supporting backup and restore for
41 * import android.app.backup
[all...]
H A DBackupDataOutput.java17 package android.app.backup;
26 * information to the backup data set, via its {@link
28 * onBackup()} method. Data written for backup is presented
32 * To commit a data record to the backup transport, the agent's
40 * Entity key strings are considered to be unique within a given application's backup
41 * data set. If a backup agent writes a new entity under an existing key string, its value will
78 * Mark the beginning of one record in the backup data stream. This must be called before
84 * @return The number of bytes written to the backup stream
97 * Write a chunk of data under the current entity to the backup transport.
H A DBackupDataInput.java17 package android.app.backup;
26 * information from the backup data set, via its
32 * byte array that holds the raw data saved in the remote backup.
178 * for further processing. This allows a {@link android.app.backup.BackupAgent} to
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransportService.java17 package com.android.internal.backup;
/frameworks/base/core/java/com/android/server/backup/
H A DAccountManagerBackupHelper.java17 package com.android.server.backup;
20 import android.app.backup.BlobBackupHelper;
26 * Helper for handling backup of account manager specific state.
32 // current schema of the backup state blob
35 // key under which the account access grant state blob is committed to backup
46 Slog.d(TAG, "Handling backup of " + key);
55 Slog.w(TAG, "Unexpected backup key " + key);
H A DNotificationBackupHelper.java17 package com.android.server.backup;
20 import android.app.backup.BlobBackupHelper;
H A DPermissionBackupHelper.java17 package com.android.server.backup;
20 import android.app.backup.BlobBackupHelper;
29 // current schema of the backup state blob
32 // key under which the permission-grant state blob is committed to backup
43 Slog.d(TAG, "Handling backup of " + key);
51 Slog.w(TAG, "Unexpected backup key " + key);
H A DPreferredActivityBackupHelper.java17 package com.android.server.backup;
20 import android.app.backup.BlobBackupHelper;
29 // current schema of the backup state blob
32 // key under which the preferred-activity state blob is committed to backup
52 Slog.d(TAG, "Handling backup of " + key);
64 Slog.w(TAG, "Unexpected backup key " + key);
H A DShortcutBackupHelper.java16 package com.android.server.backup;
18 import android.app.backup.BlobBackupHelper;
H A DUsageStatsBackupHelper.java1 package com.android.server.backup;
4 import android.app.backup.BlobBackupHelper;
44 if (DEBUG) Log.e(TAG, "Failed to backup Usage Stats", ioe);
/frameworks/base/services/core/java/com/android/server/backup/
H A DBackupUtils.java17 package com.android.server.backup;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
H A DBackupUtilsTest.java16 package com.android.server.pm.backup;
26 import com.android.server.backup.BackupUtils;
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DFullBackupTest.java17 package android.app.backup;
59 "<full-backup-content>" +
61 "</full-backup-content>"));
78 "<full-backup-content>" +
80 "</full-backup-content>"));
94 "<full-backup-content>" +
97 "</full-backup-content>"));
116 "<full-backup-content>" +
125 "</full-backup-content>"));
228 "<full-backup
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/
H A DFullBackupJob.java17 package com.android.server.backup;

Completed in 266 milliseconds

12