Home
last modified time | relevance | path

Searched refs:FullBackup (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java19 import static android.app.backup.FullBackup.ConfigSection.CLOUD_BACKUP;
21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
66 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyInclude()
72 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyInclude()
88 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
94 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
113 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
116 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
134 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
140 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
[all …]
DBackupAgentTest.java25 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
50 @Mock FullBackup.BackupScheme mBackupScheme;
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java24 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
416 FullBackup.BackupScheme backupScheme = FullBackup.getBackupScheme(this, in onFullBackup()
426 if (Log.isLoggable(FullBackup.TAG_XML_PARSER, Log.VERBOSE)) { in onFullBackup()
427 Log.v(FullBackup.TAG_XML_PARSER, in onFullBackup()
488 packageName, FullBackup.ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup()
495 packageName, FullBackup.DEVICE_ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup()
504 packageName, FullBackup.FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup()
510 packageName, FullBackup.DEVICE_FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup()
517 packageName, FullBackup.DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup()
523 packageName, FullBackup.DEVICE_DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup()
[all …]
DFullBackup.java66 public class FullBackup { class
323 if (domainToken.equals(FullBackup.FILES_TREE_TOKEN)) { in tokenToDirectoryPath()
325 } else if (domainToken.equals(FullBackup.DATABASE_TREE_TOKEN)) { in tokenToDirectoryPath()
327 } else if (domainToken.equals(FullBackup.ROOT_TREE_TOKEN)) { in tokenToDirectoryPath()
329 } else if (domainToken.equals(FullBackup.SHAREDPREFS_TREE_TOKEN)) { in tokenToDirectoryPath()
331 } else if (domainToken.equals(FullBackup.CACHE_TREE_TOKEN)) { in tokenToDirectoryPath()
333 } else if (domainToken.equals(FullBackup.NO_BACKUP_TREE_TOKEN)) { in tokenToDirectoryPath()
335 } else if (domainToken.equals(FullBackup.DEVICE_FILES_TREE_TOKEN)) { in tokenToDirectoryPath()
337 } else if (domainToken.equals(FullBackup.DEVICE_DATABASE_TREE_TOKEN)) { in tokenToDirectoryPath()
339 } else if (domainToken.equals(FullBackup.DEVICE_ROOT_TREE_TOKEN)) { in tokenToDirectoryPath()
[all …]
DBackupUtils.java19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java11 import android.app.backup.FullBackup;
101 FullBackup.backupToTar( in backupManifest()
189 FullBackup.backupToTar( in backupWidget()
243 FullBackup.backupToTar( in backupApk()
245 FullBackup.APK_TREE_TOKEN, in backupApk()
271 FullBackup.backupToTar( in backupObb()
273 FullBackup.OBB_TREE_TOKEN, in backupObb()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java20 import android.app.backup.FullBackup;
76 FullBackup.backupToTar(packageName, FullBackup.OBB_TREE_TOKEN, null,
117 FullBackup.restoreFile(data, fileSize, type, -1, mtime, outFile);
DSharedStorageAgent.java4 import android.app.backup.FullBackup;
55 String domain = FullBackup.SHARED_PREFIX + i; in onFullBackup()
95 FullBackup.restoreFile(data, size, type, -1, mtime, outFile); in onRestoreFile()
/frameworks/base/services/core/java/com/android/server/backup/
DSystemBackupAgent.java24 import android.app.backup.FullBackup;
151 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) { in onRestoreFile()
165 FullBackup.restoreFile(data, size, type, mode, mtime, outFile); in onRestoreFile()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java31 import android.app.backup.FullBackup;
266 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile()
295 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile()
371 FullBackup.KEY_VALUE_DATA_TOKEN.equals(info.domain) in restoreOneFile()
414 if (FullBackup.OBB_TREE_TOKEN.equals(info.domain)) { in restoreOneFile()
423 } else if (FullBackup.KEY_VALUE_DATA_TOKEN.equals(info.domain)) { in restoreOneFile()
643 if (FullBackup.CACHE_TREE_TOKEN.equals(info.domain)) { in isRestorableFile()
650 if (FullBackup.ROOT_TREE_TOKEN.equals(info.domain)) { in isRestorableFile()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowFullBackup.java4 import android.app.backup.FullBackup;
23 @Implements(FullBackup.class)
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java14 import android.app.backup.FullBackup;
220 FullBackup.KEY_VALUE_DATA_TOKEN, in run()
228 FullBackup.backupToTar(mPackage.packageName, FullBackup.KEY_VALUE_DATA_TOKEN, null, in run()
DKeyValueAdbRestoreEngine.java11 import android.app.backup.FullBackup;
75 FullBackup.restoreFile(inFD, info.size, info.type, info.mode, info.mtime, restoreDataName); in prepareRestoreData()
DUserBackupManagerService.java52 import android.app.backup.FullBackup;
3046 if (!startConfirmationUi(token, FullBackup.FULL_BACKUP_INTENT_ACTION)) { in adbBackup()
3184 if (!startConfirmationUi(token, FullBackup.FULL_RESTORE_INTENT_ACTION)) { in adbRestore()
3234 confIntent.putExtra(FullBackup.CONF_TOKEN_INTENT_EXTRA, token); in startConfirmationUi()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java20 import android.app.backup.FullBackup;
175 mToken = intent.getIntExtra(FullBackup.CONF_TOKEN_INTENT_EXTRA, -1); in setTokenOrFinish()
201 if (mAction.equals(FullBackup.FULL_BACKUP_INTENT_ACTION)) { in setViews()
204 } else if (mAction.equals(FullBackup.FULL_RESTORE_INTENT_ACTION)) { in setViews()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java48 import android.app.backup.FullBackup;
182 if (FullBackup.SHARED_PREFIX.regionMatches(0, in readTarHeaders()
183 info.path, 0, FullBackup.SHARED_PREFIX.length())) { in readTarHeaders()
185 info.path = info.path.substring(FullBackup.SHARED_PREFIX.length()); in readTarHeaders()
187 info.domain = FullBackup.SHARED_STORAGE_TOKEN; in readTarHeaders()
191 } else if (FullBackup.APPS_PREFIX.regionMatches(0, in readTarHeaders()
192 info.path, 0, FullBackup.APPS_PREFIX.length())) { in readTarHeaders()
196 info.path = info.path.substring(FullBackup.APPS_PREFIX.length()); in readTarHeaders()
/frameworks/base/services/robotests/backup/src/android/app/backup/
DBackupUtilsTest.java21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt4264 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;-><init>(Ljava/lang/String;I)V
4265 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->getPath()Ljava/lang/String;
4266 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->getRequiredFlags()I
4267 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->mPath:Ljava/lang/String;
4268 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->mRequiredFlags:I
4269 Landroid/app/backup/FullBackup$BackupScheme;-><init>(Landroid/content/Context;)V
4270 Landroid/app/backup/FullBackup$BackupScheme;->CACHE_DIR:Ljava/io/File;
4271 Landroid/app/backup/FullBackup$BackupScheme;->DATABASE_DIR:Ljava/io/File;
4272 Landroid/app/backup/FullBackup$BackupScheme;->DEVICE_CACHE_DIR:Ljava/io/File;
4273 Landroid/app/backup/FullBackup$BackupScheme;->DEVICE_DATABASE_DIR:Ljava/io/File;
[all …]
/frameworks/base/boot/
Dpreloaded-classes806 android.app.backup.FullBackup
Dboot-image-profile.txt23600 Landroid/app/backup/FullBackup;
/frameworks/base/config/
Dpreloaded-classes803 android.app.backup.FullBackup
Dboot-image-profile.txt33233 Landroid/app/backup/FullBackup;