/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
ExampleAgent.java | 19 import android.app.backup.BackupAgent; 20 import android.app.backup.BackupDataInput; 21 import android.app.backup.BackupDataOutput; 35 * This is the backup/restore agent class for the BackupRestore sample 36 * application. This particular agent illustrates using the backup and 80 * application is upgraded, the next time it attempts to do a backup, 81 * it can detect that the last backup operation was performed by an 92 // Backup Manager will handle it and simply skip the current 93 // backup operation. 102 // a backup is being performed, so we know we have to write th [all...] |
MultiRecordExampleAgent.java | 29 import android.app.backup.BackupAgent; 30 import android.app.backup.BackupDataInput; 31 import android.app.backup.BackupDataOutput; 37 * the backup data set. These records are updated independently: if the user 39 * datum's backup record is updated, not the entire data file. 42 // Key strings for each record in the backup set 68 // Backup Manager will handle it and simply skip the current 69 // backup operation. 77 // If this is the first backup ever, we have to back up everything 80 // Now read the state as of the previous backup pass, if an [all...] |
BackupRestoreActivity.java | 20 import android.app.backup.BackupManager; 21 import android.app.backup.RestoreObserver; 36 * {@link android.app.backup.BackupAgent BackupAgent}. This feature, added 43 * <p>Participating in the backup/restore mechanism is simple. The application 44 * provides a class that extends {@link android.app.backup.BackupAgent}, and 46 * {@link android.app.backup.BackupAgent#onBackup(android.os.ParcelFileDescriptor, android.app.backup.BackupDataOutput, android.os.ParcelFileDescriptor) onBackup()} 48 * {@link android.app.backup.BackupAgent#onRestore(android.app.backup.BackupDataInput, int, android.os.ParcelFileDescriptor) onRestore()}. 52 * When a backup or restore operation is performed, the application's agent clas [all...] |
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
HugeAgent.java | 19 import android.app.backup.BackupAgent; 20 import android.app.backup.BackupDataInput; 21 import android.app.backup.BackupDataOutput; 35 * This is the backup/restore agent class for the BackupRestore sample 36 * application. This particular agent illustrates using the backup and 81 * application is upgraded, the next time it attempts to do a backup, 82 * it can detect that the last backup operation was performed by an 93 // Backup Manager will handle it and simply skip the current 94 // backup operation. 103 // a backup is being performed, so we know we have to write th [all...] |
HugeBackupActivity.java | 20 import android.app.backup.BackupManager; 21 import android.app.backup.RestoreObserver; 35 * from the Backup/Restore sample application. 42 * object. This ensures that in the unlikely event of the our backup/restore 43 * agent running to perform a backup while our UI is updating the file, the 62 /** Also cache a reference to the Backup Manager */ 122 // We also need to perform an initial backup; ask for one 179 * to the persistent store, then tells the backup manager that we need 180 * a backup.
|
/development/apps/SdkSetup/src/com/android/sdksetup/ |
DefaultActivity.java | 20 import android.app.backup.IBackupManager; 51 // provision the backup manager.
|
/frameworks/base/core/java/android/app/backup/ |
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
|
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.
|
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...] |
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));
|
/frameworks/base/core/java/com/android/internal/backup/ |
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; 43 * Backup transport for stashing stuff into a known location on disk, and 52 = "com.android.internal.backup.LocalTransport"; 61 private File mDataDir = new File(Environment.getDownloadCacheDirectory(), "backup"); 88 // any time is a good time for local backup 150 Log.v(TAG, "Exception reading backup input:", e); 256 Log.e(TAG, "Unable to read backup records", e) [all...] |
/frameworks/base/core/java/android/view/ |
WindowManager.java | 1803 void backup() { method in class:WindowManager.LayoutParams 1804 int[] backup = mCompatibilityParamsBackup; local 1820 int[] backup = mCompatibilityParamsBackup; local [all...] |
/hardware/samsung_slsi/exynos5/libswconverter/ |
csc_tiled_to_linear_uv_deinterleave_neon.s | 72 stmfd sp!, {r4-r12,r14} @ backup registers 126 stmfd sp!, {r0-r2,r4} @ backup registers 184 stmfd sp!, {r0-r1} @ backup registers 216 stmfd sp!, {r0-r2,r4-r5} @ backup registers
|
csc_tiled_to_linear_uv_neon.s | 69 stmfd sp!, {r4-r12,r14} @ backup registers 119 stmfd sp!, {r0-r1} @ backup registers 186 stmfd sp!, {r0-r1,r3} @ backup registers
|
csc_tiled_to_linear_y_neon.s | 70 stmfd sp!, {r4-r12,r14} @ backup registers 134 stmfd sp!, {r0-r1} @ backup registers 201 stmfd sp!, {r0-r1,r3} @ backup registers
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 19 import android.app.backup.BackupAgent; 20 import android.app.backup.BackupDataInput; 21 import android.app.backup.BackupDataOutput; 40 * Settings backup agent for the Android browser. Currently the only thing 42 * out of the agent; the calling code handles it and the backup operation 57 * to handle bookmark backup. 86 * Restore from backup -- reads in the flattened bookmark file as supplied from 87 * the backup service, parses that out, and rebuilds the bookmarks table in the 146 Log.w(TAG, "Bad backup data; not restoring"); 156 // changes whenever we get invoked for backup in the futur [all...] |
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
BackupRestoreConfirmation.java | 20 import android.app.backup.FullBackup; 21 import android.app.backup.IBackupManager; 22 import android.app.backup.IFullBackupRestoreObserver; 39 * Confirm with the user that a requested full backup/restore operation is legitimate. 40 * Any attempt to perform a full backup/restore will launch this UI and wait for a 45 * Note that the fully scoped name of this class is baked into the backup manager service. 146 Slog.w(TAG, "Backup/restore confirmation activity launched with invalid action!"); 153 Slog.e(TAG, "Backup/restore confirmation requested but no token passed!"); 173 // Same resource IDs for each layout variant (backup / restore) 188 // this password is mandatory; we hide the other options during backup [all...] |
/frameworks/base/services/java/com/android/server/ |
PackageManagerBackupAgent.java | 19 import android.app.backup.BackupAgent; 20 import android.app.backup.BackupDataInput; 21 import android.app.backup.BackupDataOutput; 84 // in backup. This set changes as apps are installed & removed. 112 // that had backup agents at all, not limited to the set of packages 129 // If the stored version string differs, we need to re-backup all 144 * that produced this backup set. Used to reject 147 * the backup set. 181 // of the backup matches the version of the current app; if they 217 // Now we can write the backup entity for this packag [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 33 import android.app.backup.BackupDataInput; 34 import android.app.backup.BackupDataOutput; 35 import android.app.backup.BackupAgentHelper; 45 * Performs backup and restore of the User Dictionary.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
BackupTestActivity.java | 17 package com.android.cts.verifier.backup; 24 import android.app.backup.BackupManager; 25 import android.app.backup.FileBackupHelper; 26 import android.app.backup.SharedPreferencesBackupHelper; 55 * running the backup manager and reinstalling the CTS verifier.
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20100503.jar | |
/external/icu4c/i18n/ |
rbt_pars.h | 219 * Set the maximum backup to 'backup', in response to a pragma 221 * @param backup the new value to be set. 223 void pragmaMaximumBackup(int32_t backup);
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
Bmgr.java | 19 import android.app.backup.RestoreSet; 20 import android.app.backup.IBackupManager; 21 import android.app.backup.IRestoreObserver; 22 import android.app.backup.IRestoreSession; 33 "Error: Could not access the Backup Manager. Is the system running?"; 35 "Error: Could not access the backup transport. Is the system running?"; 55 mBmgr = IBackupManager.Stub.asInterface(ServiceManager.getService("backup")); 80 if ("backup".equals(op)) { 116 System.out.println("Backup Manager currently " 134 System.out.println("Backup Manager now " + enableToString(enable)) [all...] |
/frameworks/base/cmds/bu/src/com/android/commands/bu/ |
Backup.java | 19 import android.app.backup.IBackupManager; 28 public final class Backup { 39 new Backup().run(); 41 Log.e(TAG, "Error running backup/restore", e); 47 mBackupManager = IBackupManager.Stub.asInterface(ServiceManager.getService("backup")); 49 Log.e(TAG, "Can't obtain Backup Manager binder"); 56 if (arg.equals("backup")) { 95 Log.w(TAG, "Unknown backup flag " + arg); 105 Log.w(TAG, "-all passed for backup along with specific package names"); 109 Log.e(TAG, "no backup packages supplied and neither -shared nor -all given") [all...] |