Searched defs:backup (Results 26 - 41 of 41) sorted by relevance

12

/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java17 package android.app.backup;
27 * Base class for the {@link android.app.backup.FileBackupHelper} implementation.
H A DRestoreSession.java17 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;
47 * the restore set lookup by the backup transport. This parameter must not be
126 * Restore a single application from backup. The data will be restored from the
127 * current backup dataset if the given package has stored data there, or from
129 * backup dataset has no matching data. If no backup dat
[all...]
H A DBackupTransport.java17 package android.app.backup;
26 import com.android.internal.backup.IBackupTransport;
91 * can potentially associate backup data with arbitrary user accounts should
140 * Ask the transport where, on local device storage, to keep backup state blobs.
142 * "live" backup services without interfering with the live bookkeeping. The
144 * available backup transports; the name of the class implementing the transport
149 * different backup transports.
182 * Erase the given application's data from the backup destination. This clears
183 * out the given package's data from the current backup set, making it as though
194 * Finish sending application data to the backup destinatio
[all...]
H A DBackupAgent.java17 package android.app.backup;
21 import android.app.backup.IBackupManager;
53 * application and Android's data backup infrastructure. An application that wishes
54 * to participate in the backup and restore mechanism will declare a subclass of
55 * {@link android.app.backup.BackupAgent}, implement the
58 * and provide the name of its backup agent class in its {@code AndroidManifest.xml} file via
66 * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div>
72 * {@link android.app.backup.BackupManager#dataChanged() BackupManager.dataChanged()} method.
74 * to update its backup image. The Backup Manager, in turn, schedules a
75 * backup pas
[all...]
H A DFullBackup.java17 package android.app.backup;
45 * Global constant definitions et cetera related to the full-backup-to-fd
185 // Now twiddle the state to match the backup, assuming all went well
286 * specifies a file that the client has explicitly included in their backup set. If this
299 * @return A set of canonical paths that are to be excluded from the backup/restore set.
352 if (!"full-backup-content".equals(parser.getName())) {
354 " (<full-backup-content>). Found \"" + parser.getName() + "\"");
462 throw new XmlPullParserException("Unrecognised tag in backup" +
/frameworks/base/core/java/com/android/server/backup/
H A DAccountSyncSettingsBackupHelper.java17 package com.android.server.backup;
25 import android.app.backup.BackupDataInputStream;
26 import android.app.backup.BackupDataOutput;
27 import android.app.backup.BackupHelper;
109 Log.i(TAG, "Old and new MD5 checksums match. Skipping backup.");
114 Log.e(TAG, "Couldn't backup account sync settings\n" + e);
196 // backup.
276 // Set the master sync preference to the value from the backup set.
H A DSystemBackupAgent.java17 package com.android.server.backup;
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;
51 // are also used in the full-backup file format, so must not change unless steps are
/frameworks/base/obex/javax/obex/
H A DClientSession.java332 public HeaderSet setPath(HeaderSet header, boolean backup, boolean create) throws IOException { argument
373 * The backup flag bit is bit 0 so if we add 1, this will set that bit
375 if (backup) {
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java17 package android.app.backup;
19 import android.app.backup.BackupDataInput;
20 import android.app.backup.BackupDataOutput;
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java17 package com.android.internal.backup;
19 import android.app.backup.BackupDataInput;
20 import android.app.backup.BackupDataOutput;
21 import android.app.backup.BackupTransport;
22 import android.app.backup.RestoreDescription;
23 import android.app.backup.RestoreSet;
60 = "com.android.internal.backup.LocalTransport";
75 private File mDataDir = new File(Environment.getDownloadCacheDirectory(), "backup");
87 // Additional bookkeeping for full backup
146 // any time is a good time for local backup
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/
H A DPackageManagerBackupAgent.java17 package com.android.server.backup;
19 import android.app.backup.BackupAgent;
20 import android.app.backup.BackupDataInput;
21 import android.app.backup.BackupDataOutput;
110 // in backup. This set changes as apps are installed & removed.
132 // backup periodically; this entry point serves that purpose.
170 // that had backup agents at all, not limited to the set of packages
187 // If the stored version string differs, we need to re-backup all
218 // 1. the version of the home app has changed since our last backup;
245 * that produced this backup se
[all...]
H A DTrampoline.java17 package com.android.server.backup;
19 import android.app.backup.IBackupManager;
20 import android.app.backup.IFullBackupRestoreObserver;
21 import android.app.backup.IRestoreSession;
43 // When this file is present, the backup service is inactive
44 static final String BACKUP_SUPPRESS_FILENAME = "backup-suppress";
46 // Product-level suppression of backup/restore
47 static final String BACKUP_DISABLE_PROPERTY = "ro.backup.disable";
56 File dir = new File(Environment.getSecureDataDirectory(), "backup");
64 // Note that only the owner user is currently involved in backup/restor
[all...]
H A DBackupManagerService.java17 package com.android.server.backup;
27 import android.app.backup.BackupAgent;
28 import android.app.backup.BackupDataInput;
29 import android.app.backup.BackupDataOutput;
30 import android.app.backup.BackupTransport;
31 import android.app.backup.FullBackup;
32 import android.app.backup.FullBackupDataOutput;
33 import android.app.backup.RestoreDescription;
34 import android.app.backup.RestoreSet;
35 import android.app.backup
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp125 sp<ABuffer> codec = getBuffer(header, false /* backup */, true /* limit */);
140 // return either the codec or the backup buffer
141 sp<ABuffer> getBuffer(const OMX_BUFFERHEADERTYPE *header, bool backup, bool limit) { argument
143 if (backup && mMem != NULL) {
1109 sp<ABuffer> backup = buffer_meta->getBuffer(header, true /* backup */, false /* limit */); local
1110 sp<ABuffer> codec = buffer_meta->getBuffer(header, false /* backup */, false /* limit */);
1115 && backup->capacity() >= sizeof(VideoNativeMetadata)
1117 && ((VideoNativeMetadata *)backup->base())->eType
1119 VideoNativeMetadata &backupMeta = *(VideoNativeMetadata *)backup
[all...]
/frameworks/base/core/java/android/view/
H A DWindowManager.java1781 // internal buffer to backup/restore parameters under compatibility mode.
2079 void backup() { method in class:WindowManager.LayoutParams
2080 int[] backup = mCompatibilityParamsBackup;
2081 if (backup == null) {
2082 // we backup 4 elements, x, y, width, height
2083 backup = mCompatibilityParamsBackup = new int[4];
2085 backup[0] = x;
2086 backup[1] = y;
2087 backup[2] = width;
2088 backup[
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java92 import android.app.backup.IBackupManager;
951 // XML tags for backup/restore of various bits of state
10163 // package has not opted out of backup participation.
10197 // can't happen; the backup manager is local
12451 // package, we have nothing to do: it means the state was restored from backup.
14069 * Non-Binder method, support for the backup/restore mechanism: write the
14095 Slog.e(TAG, "Unable to write preferred activities for backup", e);
14104 public void restorePreferredActivities(byte[] backup, int userId) { argument
14111 parser.setInput(new ByteArrayInputStream(backup), StandardCharsets.UTF_8.name());
14130 * Non-Binder method, support for the backup/restor
14165 restoreDefaultApps(byte[] backup, int userId) argument
14221 restoreIntentFilterVerification(byte[] backup, int userId) argument
[all...]

Completed in 348 milliseconds

12