/frameworks/av/media/libstagefright/omx/ |
H A D | OMXNodeInstance.cpp | 104 OMX_U32 portIndex, bool copy, OMX_U8 *backup) 110 mBackup(backup) { 1194 // use a backup buffer instead of the actual buffer 102 BufferMeta( const sp<IMemory> &mem, const sp<IHidlMemory> &hidlMemory, OMX_U32 portIndex, bool copy, OMX_U8 *backup) argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | AbsoluteFileBackupHelper.java | 17 package android.app.backup;
|
H A D | BackupAgent.java | 17 package android.app.backup; 21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags; 54 * application and Android's data backup infrastructure. An application that wishes 55 * to participate in the backup and restore mechanism will declare a subclass of 56 * {@link android.app.backup.BackupAgent}, implement the 59 * and provide the name of its backup agent class in its {@code AndroidManifest.xml} file via 67 * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div> 73 * {@link android.app.backup.BackupManager#dataChanged() BackupManager.dataChanged()} method. 75 * to update its backup image. The Backup Manager, in turn, schedules a 76 * backup pas [all...] |
H A D | 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 of 89 * @param helper A backup/restor [all...] |
H A D | BackupDataInput.java | 17 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 D | BackupDataInputStream.java | 17 package android.app.backup; 98 * Report the key string associated with this entity within the backup data set.
|
H A D | BackupDataOutput.java | 17 package android.app.backup; 27 * information to the backup data set, via its {@link 29 * onBackup()} method. Data written for backup is presented 33 * To commit a data record to the backup transport, the agent's 41 * Entity key strings are considered to be unique within a given application's backup 42 * data set. If a backup agent writes a new entity under an existing key string, its value will 99 * Returns the quota in bytes for the application's current backup operation. The 109 * Returns flags with additional information about the backup transport. For supported flags see 110 * {@link android.app.backup.BackupAgent} 119 * Mark the beginning of one record in the backup dat [all...] |
H A D | 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. 48 * written during this helper's previous backup operation, and the {@code newState} 50 * new state after performing the backup operation. 60 * last backup state provided by the application. May be 62 * provided and the application should perform a full backup. 64 * pointing to the backup data destination. 65 * Typically the application will use backup helpe [all...] |
H A D | BackupHelperDispatcher.java | 17 package android.app.backup; 93 // do the backup
|
H A D | BackupManager.java | 17 package android.app.backup; 36 * The interface through which an application interacts with the Android backup service to 37 * request backup and restore operations. 41 * call to {@link #dataChanged()} will notify the backup service. The system 42 * will then schedule a backup operation to occur in the near future. Repeated 43 * calls to {@link #dataChanged()} have no further effect until the backup 46 * A backup or restore operation for your application begins when the system launches the 47 * {@link android.app.backup.BackupAgent} subclass you've declared in your manifest. See the 48 * documentation for {@link android.app.backup.BackupAgent} for a detailed description 51 * Several attributes affecting the operation of the backup an [all...] |
H A D | BackupManagerMonitor.java | 17 package android.app.backup; 23 * Callback class for receiving important events during backup/restore operations. 24 * Events consist mostly of errors and exceptions, giving detailed reason on why a restore/backup 42 "android.app.backup.extra.LOG_EVENT_PACKAGE_NAME"; 47 "android.app.backup.extra.LOG_EVENT_PACKAGE_VERSION"; 50 "android.app.backup.extra.LOG_EVENT_PACKAGE_FULL_VERSION"; 52 public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID"; 60 "android.app.backup.extra.LOG_EVENT_CATEGORY"; 65 * the call was to cancel backup of all packages 67 public static final String EXTRA_LOG_CANCEL_ALL = "android.app.backup [all...] |
H A D | BackupObserver.java | 17 package android.app.backup; 22 * Callback class for receiving progress reports during a backup operation. These 30 * This method could be called several times for packages with full data backup. 31 * It will tell how much of backup data is already saved and how much is expected. 34 * @param backupProgress Current progress of backup for the package. 40 * The backup of single package has completed. This method will be called at most one time 41 * for each package and could be not called if backup is failed before and 45 * @param status Zero on success; a nonzero error code if the backup operation failed. 51 * The backup process has completed. This method will always be called, 52 * even if no individual package backup operation [all...] |
H A D | BackupProgress.java | 17 package android.app.backup; 24 * Information about current progress of full data backup 33 * Expected size of data in full backup. 37 * Amount of backup data that is already saved in backup.
|
H A D | BackupTransport.java | 17 package android.app.backup; 26 import com.android.internal.backup.IBackupTransport; 55 * Indicates that the transport cannot accept a diff backup for this package. 58 * non-incremental backup. This might be used if the transport no longer has data for this 61 * <p>This is only valid when backup manager called {@link 71 * For key value backup, indicates that the backup data is a diff from a previous backup. The 72 * transport must apply this diff to an existing backup to build the new backup se [all...] |
H A D | BlobBackupHelper.java | 17 package android.app.backup; 57 * Generate and return the byte array containing the backup payload describing 58 * the current data state. During a backup operation this method is called once 67 * Given a byte array that was restored from backup, do whatever is appropriate 115 // Empty file is expected on first backup, so carry on. If the state 122 Log.e(TAG, "Error examining prior backup state " + e.getMessage()); 242 Log.i(TAG, "Performing backup for " + this.getClass().getName()); 253 Log.i(TAG, "Key " + key + " backup checksum is " + checksum); 312 // Just ensure that we do a full backup the first time after a restore
|
H A D | 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)}
|
H A D | FileBackupHelperBase.java | 17 package android.app.backup; 27 * Base class for the {@link android.app.backup.FileBackupHelper} implementation.
|
H A D | FullBackup.java | 17 package android.app.backup; 46 * Global constant definitions et cetera related to the full-backup-to-fd 201 // Now twiddle the state to match the backup, assuming all went well 400 * backup set. If this map is empty we will back up the entire data directory (including 413 * backup/restore set. 466 if (!"full-backup-content".equals(parser.getName())) { 468 " (<full-backup-content>). Found \"" + parser.getName() + "\""); 634 throw new XmlPullParserException("Unrecognised tag in backup" +
|
H A D | 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
|
H A D | FullBackupDataOutput.java | 1 package android.app.backup; 7 * to a full backup data set, via its {@link BackupAgent#onFullBackup(FullBackupDataOutput)} 18 * Returns the quota in bytes for the application's current backup operation. The 28 * Returns flags with additional information about the backup transport. For supported flags see 29 * {@link android.app.backup.BackupAgent} 67 /** @hide - used only internally to the backup manager service's stream construction */
|
H A D | RestoreDescription.java | 17 package android.app.backup;
|
H A D | RestoreObserver.java | 17 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 D | RestoreSession.java | 17 package android.app.backup; 20 import android.app.backup.RestoreObserver; 21 import android.app.backup.RestoreSet; 22 import android.app.backup.IRestoreObserver; 23 import android.app.backup.IRestoreSession; 48 * the restore set lookup by the backup transport. This parameter must not be 73 * the restore set lookup by the backup transport. This parameter must not be 196 * Restore a single application from backup. The data will be restored from the 197 * current backup dataset if the given package has stored data there, or from 199 * backup datase [all...] |
H A D | RestoreSet.java | 17 package android.app.backup; 44 * Token that identifies this backup set unambiguously to the backup/restore
|
H A D | SelectBackupTransportCallback.java | 17 package android.app.backup; 22 * Callback class for receiving success or failure callbacks on selecting a backup transport. These
|