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

1 2 3

  /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...]
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
55 * Run the backup process on each of the configured handlers.
79 * must have a prefix string that is unique within this backup agent's set of
83 * @param helper A backup/restore helper object to be invoked during backup and restor
    [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...]
BackupAgent.java 17 package android.app.backup;
20 import android.app.backup.IBackupManager;
33 * application and Android's data backup infrastructure. An application that wishes
34 * to participate in the backup and restore mechanism will declare a subclass of
35 * {@link android.app.backup.BackupAgent}, implement the
38 * and provide the name of its backup agent class in its {@code AndroidManifest.xml} file via
46 * {@link android.app.backup.BackupManager#dataChanged() BackupManager.dataChanged()} method.
47 * This notifies the Android Backup Manager that the application needs an opportunity
48 * to update its backup image. The Backup Manager, in turn, schedules
    [all...]
BackupHelperDispatcher.java 17 package android.app.backup;
94 // do the backup
FileBackupHelperBase.java 17 package android.app.backup;
27 * Base class for the {@link android.app.backup.FileBackupHelper} implementation.
80 throw new RuntimeException("Backup failed 0x" + Integer.toHexString(err));
RestoreSession.java 17 package android.app.backup;
19 import android.app.backup.RestoreObserver;
20 import android.app.backup.RestoreSet;
21 import android.app.backup.IRestoreObserver;
22 import android.app.backup.IRestoreSession;
45 * the restore set lookup by the backup transport. This parameter must not be
65 * <p>Callers must hold the android.permission.BACKUP permission to use this method.
90 * Restore a single application from backup. The data will be restored from the
91 * current backup dataset if the given package has stored data there, or from
93 * backup dataset has no matching data. If no backup data exists for this packag
    [all...]
  /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
LocalTransport.java 17 package com.android.internal.backup;
19 import android.app.backup.BackupDataInput;
20 import android.app.backup.BackupDataOutput;
21 import android.app.backup.RestoreSet;
41 * Backup transport for stashing stuff into a known location on disk, and
50 = "com.android.internal.backup.LocalTransport";
57 private File mDataDir = new File(Environment.getDownloadCacheDirectory(), "backup");
73 // any time is a good time for local backup
135 Log.v(TAG, "Exception reading backup input:", e);
238 Log.e(TAG, "Unable to read backup records", e)
    [all...]
  /external/e2fsprogs/lib/blkid/
save.c 139 char *backup; local
141 backup = malloc(strlen(filename) + 5);
142 if (backup) {
143 sprintf(backup, "%s.old", filename);
144 unlink(backup);
145 link(filename, backup);
146 free(backup);
  /packages/apps/Camera/src/com/android/camera/ui/
PopupWindow.java 156 RawTexture backup = mBackupTexture; local
159 // "backup", so that we can restore the content after it is
161 root.copyTexture2D(backup, aXoffset, aYoffset, aWidth, aHeight);
172 backup.drawBack(root, aXoffset, aYoffset, aWidth, aHeight);
  /packages/apps/Email/tests/src/com/android/email/
AccountBackupRestoreTests.java 29 * This is a series of unit tests for backup/restore of the Account class.
75 * Test backup with no accounts
96 * Test backup with accounts
102 // Create real accounts in need of backup
128 for (Account backup : backups) {
129 if ("testBackup1".equals(backup.getDescription())) {
130 assertTrue(0 != (backup.mBackupFlags & Account.BACKUP_FLAGS_IS_DEFAULT));
131 } else if ("testBackup2".equals(backup.getDescription())) {
132 assertFalse(0 != (backup.mBackupFlags & Account.BACKUP_FLAGS_IS_DEFAULT));
134 fail("unexpected backup name=" + backup.getDescription())
301 Account backup = new Account(mMockContext); local
    [all...]
  /packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
SimpleCharStream.java 139 backup(0);
250 public void backup(int amount) { method in class:SimpleCharStream
  /packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
SimpleCharStream.java 139 backup(0);
250 public void backup(int amount) { method in class:SimpleCharStream
  /packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
SimpleCharStream.java 139 backup(0);
250 public void backup(int amount) { method in class:SimpleCharStream
  /external/chromium/third_party/icu/source/common/
uniset_props.cpp 472 RuleCharacterIterator::Pos backup; local
511 // Prepare to backup if necessary
512 chars.getPos(backup);
518 chars.setPos(backup); // backup
524 chars.getPos(backup); // prepare to backup
530 chars.getPos(backup); // prepare to backup
540 chars.setPos(backup); // backu
    [all...]

Completed in 734 milliseconds

1 2 3