HomeSort by relevance Sort by last modified time
    Searched defs:backup (Results 1 - 25 of 73) sorted by null

1 2 3

  /cts/tests/tests/app/src/android/app/backup/cts/
BackupAgentHelperTest.java 17 package android.app.backup.cts;
19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.FileBackupHelper;
21 import android.app.backup.SharedPreferencesBackupHelper;
FileBackupHelperTest.java 17 package android.app.backup.cts;
19 import android.app.backup.FileBackupHelper;
SharedPreferencesBackupHelperTest.java 17 package android.app.backup.cts;
19 import android.app.backup.SharedPreferencesBackupHelper;
BackupManagerTest.java 17 package android.app.backup.cts;
19 import android.app.backup.BackupManager;
20 import android.app.backup.RestoreObserver;
31 // Backup isn't expected to work in this test but check for obvious bugs...
BackupAgentTest.java 17 package android.app.backup.cts;
19 import android.app.backup.BackupAgent;
20 import android.app.backup.BackupDataInput;
21 import android.app.backup.BackupDataOutput;
  /frameworks/base/core/java/android/app/backup/
BackupHelper.java 17 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.
49 * written during this helper's previous backup operation, and the {@code newState}
51 * new state after performing the backup operation.
57 * last backup state provided by the application. May be
59 * provided and the application should perform a full backup.
61 * pointing to the backup data destination.
62 * Typically the application will use backup helper classes t
    [all...]
FullBackupAgent.java 17 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
FullBackupDataOutput.java 1 package android.app.backup;
7 * to a full backup data set, via its {@link BackupAgent#onFullBackup(FullBackupDataOutput)}
RestoreObserver.java 17 package android.app.backup;
20 import android.app.backup.RestoreSet;
30 * {@link android.app.backup.IRestoreSession.getAvailableRestoreSets} method.
32 * @param result An array of {@link android.app.backup.RestoreSet RestoreSet} objects
61 * indication of the backup manager's progress through the overall restore process.
RestoreSet.java 17 package android.app.backup;
42 * Token that identifies this backup set unambiguously to the backup/restore
AbsoluteFileBackupHelper.java 17 package android.app.backup;
BackupAgentHelper.java 17 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 o
    [all...]
BackupDataInputStream.java 17 package android.app.backup;
98 * Report the key string associated with this entity within the backup data set.
BackupDataOutput.java 17 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
77 * Mark the beginning of one record in the backup data stream. This must be called before
82 * @return The number of bytes written to the backup stream
95 * Write a chunk of data under the current entity to the backup transport.
BackupDataInput.java 17 package android.app.backup;
24 * information from the backup data set, via its
30 * byte array that holds the raw data saved in the remote backup.
174 * for further processing. This allows a {@link android.app.backup.BackupAgent} to
BackupManager.java 17 package android.app.backup;
19 import android.app.backup.RestoreSession;
20 import android.app.backup.IBackupManager;
21 import android.app.backup.IRestoreSession;
28 * The interface through which an application interacts with the Android backup service to
29 * request backup and restore operations.
33 * call to {@link #dataChanged()} will notify the backup service. The system
34 * will then schedule a backup operation to occur in the near future. Repeated
35 * calls to {@link #dataChanged()} have no further effect until the backup
38 * A backup or restore operation for your application begins when the system launches th
    [all...]
FileBackupHelper.java 17 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)}
SharedPreferencesBackupHelper.java 17 package android.app.backup;
29 * {@link android.app.backup.BackupAgentHelper} to manage the backup of
30 * {@link android.content.SharedPreferences}. Whenever a backup is performed, it
32 * backup operation.
34 * To use this class, the application's backup agent class should extend
35 * {@link android.app.backup.BackupAgentHelper}. Then, in the agent's
37 * allocated and installed as a backup/restore handler within the BackupAgentHelper
38 * framework. For example, an agent supporting backup and restore for
42 * import android.app.backup.BackupAgentHelper
    [all...]
BackupHelperDispatcher.java 17 package android.app.backup;
94 // do the backup
  /external/javassist/sample/duplicate/
DuplicatedObject.java 6 private DuplicatedObject backup; field in class:DuplicatedObject
15 backup = null; // self is a backup object.
21 backup = (DuplicatedObject)m._getMetaobject();
24 backup = null;
33 if (backup != null)
34 backup.trapMethodcall(identifier, args);
  /external/fsck_msdos/
boot.c 57 u_char backup[DOSBOOTBLOCKSIZE]; local
107 boot->Backup = block[50] + (block[51] << 8);
156 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
157 != boot->Backup * boot->BytesPerSec
158 || read(dosfs, backup, sizeof backup) != sizeof backup) {
159 perror("could not read backup bootblock");
162 backup[65] = block[65]; /* XXX */
163 if (memcmp(block + 11, backup + 11, 79))
    [all...]
  /frameworks/base/core/java/com/android/internal/backup/
BackupConstants.java 17 package com.android.internal.backup;
20 * Constants used internally between the backup manager and its transports
  /packages/apps/Email/src/com/android/email/provider/
AccountBackupRestore.java 23 * Helper class to facilitate EmailProvider's account backup/restore facility.
25 * Account backup/restore was implemented entirely for the purpose of recovering from database
29 * decided to backup accounts when created/modified and then restore them if 1) there are no
30 * accounts in the database and 2) there are backup accounts. This, at least, would cause user's
33 * To accomplish backup/restore, we use the facility now built in to EmailProvider to store a
34 * backup version of the Account and HostAuth tables in a second database (EmailProviderBackup.db)
43 * Backup user Account and HostAuth data into our backup database
47 public static void backup(Context context) { method in class:AccountBackupRestore
  /external/e2fsprogs/lib/blkid/
save.c 140 char *backup; local
142 backup = malloc(strlen(filename) + 5);
143 if (backup) {
144 sprintf(backup, "%s.old", filename);
145 unlink(backup);
146 link(filename, backup);
147 free(backup);
  /external/javasqlite/src/main/java/SQLite/
Backup.java 4 * Class wrapping an SQLite backup object.
7 public class Backup {
16 * Finish a backup.
41 * Perform a backup step.
43 * @param n number of pages to backup
44 * @return true when backup completed
56 * Perform the backup in one step.
59 public void backup() throws SQLite.Exception { method in class:Backup
78 * Return the total number of pages in the backup source database.

Completed in 1807 milliseconds

1 2 3