Searched defs:backup (Results 1 - 25 of 41) 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.
56 * last backup state provided by the application. May be
58 * provided and the application should perform a full backup.
60 * pointing to the backup data destination.
61 * Typically the application will use backup helpe
[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 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
H A DBackupHelperDispatcher.java17 package android.app.backup;
93 // do the backup
H A DBackupManager.java17 package android.app.backup;
20 import android.app.backup.RestoreSession;
21 import android.app.backup.IBackupManager;
22 import android.app.backup.IRestoreSession;
29 * The interface through which an application interacts with the Android backup service to
30 * request backup and restore operations.
34 * call to {@link #dataChanged()} will notify the backup service. The system
35 * will then schedule a backup operation to occur in the near future. Repeated
36 * calls to {@link #dataChanged()} have no further effect until the backup
39 * A backup o
[all...]
H A DRestoreDescription.java17 package android.app.backup;
H A DWallpaperBackupHelper.java17 package android.app.backup;
H A DBlobBackupHelper.java17 package android.app.backup;
58 * Generate and return the byte array containing the backup payload describing
59 * the current data state. During a backup operation this method is called once
68 * Given a byte array that was restored from backup, do whatever is appropriate
111 // Empty file is expected on first backup, so carry on. If the state
115 Log.e(TAG, "Error examining prior backup state " + e.getMessage());
293 // Just ensure that we do a full backup the first time after a restore
/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 DNotificationBackupHelper.java17 package com.android.server.backup;
20 import android.app.backup.BlobBackupHelper;
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);
63 Slog.w(TAG, "Unexpected backup key " + key);
/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>" +
123 "</full-backup-content>"));
196 "<full-backup
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/
H A DFullBackupJob.java17 package com.android.server.backup;
H A DKeyValueBackupJob.java17 package com.android.server.backup;
32 * Job for scheduling key/value backup work. This module encapsulates all
33 * of the policy around when those backup passes are executed.
44 // Random variation in next-backup scheduling time to avoid server load spikes
47 // Once someone asks for a backup, this is how long we hold off until we find
106 // Time to run a key/value backup!
113 // rest of the backup system.
/frameworks/base/obex/javax/obex/
H A DServerRequestHandler.java159 * @param backup <code>true</code> if the client requests that the server
171 public int onSetPath(HeaderSet request, HeaderSet reply, boolean backup, boolean create) { argument
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMnsObexServer.java124 final boolean backup, final boolean create) {
123 onSetPath(final HeaderSet request, HeaderSet reply, final boolean backup, final boolean create) argument

Completed in 2439 milliseconds

12