/frameworks/native/cmds/rawbu/ |
Android.mk | 6 LOCAL_SRC_FILES:= backup.cpp
|
/frameworks/base/core/java/android/app/backup/ |
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
|
IBackupManager.aidl | 17 package android.app.backup; 19 import android.app.backup.IFullBackupRestoreObserver; 20 import android.app.backup.IRestoreSession; 25 * Direct interface to the Backup Manager Service that applications invoke on. The only 27 * data it wishes to back up, so the system should run a backup pass. 29 * Apps will use the {@link android.app.backup.BackupManager} class rather than going through 37 * data, and therefore needs to undergo an incremental backup pass. 40 * only callers who hold the android.permission.BACKUP permission 50 * only callers who hold the android.permission.BACKUP permission 56 * Notifies the Backup Manager Service that an agent has become available. Thi [all...] |
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...] |
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...] |
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. 94 * <p>Callers must hold the android.permission.BACKUP permission to use this method. 124 * Restore a single application from backup. The data will be restored from the 125 * current backup dataset if the given package has stored data there, or fro [all...] |
AbsoluteFileBackupHelper.java | 17 package android.app.backup;
|
BackupDataInputStream.java | 17 package android.app.backup; 98 * Report the key string associated with this entity within the backup data set.
|
RestoreSet.java | 17 package android.app.backup; 42 * Token that identifies this backup set unambiguously to the backup/restore
|
/frameworks/base/core/java/com/android/internal/backup/ |
IBackupTransport.aidl | 17 package com.android.internal.backup; 19 import android.app.backup.RestoreSet; 44 * can potentially associate backup data with arbitrary user accounts should 53 * Ask the transport where, on local device storage, to keep backup state blobs. 55 * "live" backup services without interfering with the live bookkeeping. The 57 * available backup transports; the name of the class implementing the transport 61 * Backup Manager could use to disambiguate state files associated with 62 * different backup transports. 67 * Verify that this is a suitable time for a backup pass. This should return zero 68 * if a backup is reasonable right now, some positive value otherwise. This metho [all...] |
IObbBackupService.aidl | 17 package com.android.internal.backup; 19 import android.app.backup.IBackupManager; 23 * Interface for the Backup Manager Service to communicate with a helper service that 24 * handles local (whole-file) backup & restore of OBB content on behalf of applications. 25 * This can't be done within the Backup Manager Service itself because of the restrictions
|
/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/chromium/chrome/browser/sync/engine/ |
build_and_process_conflict_sets_command.cc | 96 syncable::EntryKernel* backup) { 101 *backup = entry->GetKernelCopy(); 106 syncable::EntryKernel* backup) { 108 backup->ref(syncable::META_HANDLE)); 111 if (!entry.Put(syncable::IS_DEL, backup->ref(syncable::IS_DEL))) 114 entry.Put(syncable::NON_UNIQUE_NAME, backup->ref(syncable::NON_UNIQUE_NAME)); 115 entry.Put(syncable::PARENT_ID, backup->ref(syncable::PARENT_ID)); 117 if (!backup->ref(syncable::IS_DEL)) { 118 if (!entry.PutPredecessor(backup->ref(syncable::PREV_ID))) 122 if (backup->ref(syncable::PREV_ID) != entry.Get(syncable::PREV_ID) [all...] |
/frameworks/base/services/java/com/android/server/ |
SystemBackupAgent.java | 20 import android.app.backup.BackupDataInput; 21 import android.app.backup.BackupDataOutput; 22 import android.app.backup.BackupAgentHelper; 23 import android.app.backup.FullBackup; 24 import android.app.backup.FullBackupDataOutput; 25 import android.app.backup.WallpaperBackupHelper; 38 * Backup agent for various system-managed data, currently just the system wallpaper 44 // are also used in the full-backup file format, so must not change unless steps are
|
/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.
|
/frameworks/base/core/java/android/app/ |
IBackupAgent.aidl | 19 import android.app.backup.IBackupManager; 24 * backup & restore mechanism. End user code will not typically implement 31 * Request that the app perform an incremental backup. 34 * app's data state as of the last backup operation's completion. 35 * This file is empty or invalid when a full backup is being 39 * is the data destination for this backup pass's incrementals. 45 * be echoed back to the backup service binder once the new 60 * app's backup. This is to be a <i>replacement</i> of the app's 65 * various historical backup content possibilities. 72 * be echoed back to the backup service binder once the agent i [all...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 3 import android.app.backup.FullBackupAgent; 4 import android.app.backup.FullBackup; 5 import android.app.backup.FullBackupDataOutput; 34 * Full backup of the shared-storage filesystem 39 // hierarchy backup process on them. By convention in the Storage Manager, the
|
ObbBackupService.java | 20 import android.app.backup.BackupDataOutput; 21 import android.app.backup.FullBackup; 22 import android.app.backup.IBackupManager; 36 import com.android.internal.backup.IObbBackupService; 39 * Service that the Backup Manager Services delegates OBB backup/restore operations to, 91 Log.e(TAG, "Unable to finalize obb backup stream!");
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsBackupHelper.java | 19 import com.android.cts.verifier.backup.BackupTestActivity; 21 import android.app.backup.BackupDataInputStream; 22 import android.app.backup.BackupDataOutput; 23 import android.app.backup.BackupHelper; 83 Log.e(TAG, "Couldn't backup test results...", e);
|
/frameworks/base/obex/javax/obex/ |
ServerRequestHandler.java | 159 * @param backup <code>true</code> if the client requests that the server 171 public int onSetPath(HeaderSet request, HeaderSet reply, boolean backup, boolean create) {
|
/external/e2fsprogs/doc/ |
Makefile.in | 58 clean-all:: clean-tex clean-backup clean-final clean-tarfiles clean-html 68 .PHONY: clean-backup 69 clean-backup::
|
/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/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 20 import android.app.backup.BackupHelperDispatcher; 21 import android.app.backup.BackupDataInput; 22 import android.app.backup.BackupDataOutput; 23 import android.app.backup.BackupManager; 24 import android.app.backup.FileBackupHelper; 131 new Test("Backup Helpers") {
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
SinglePhotoDataAdapter.java | 136 Bitmap backup = future.get(); local 137 if (backup == null) { 143 setScreenNail(backup, backup.getWidth(), backup.getHeight());
|