/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | FullBackupTest.java | 19 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 …]
|
D | BackupAgentTest.java | 25 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags; 50 @Mock FullBackup.BackupScheme mBackupScheme;
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 24 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 …]
|
D | FullBackup.java | 66 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 …]
|
D | BackupUtils.java | 19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 11 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/ |
D | ObbBackupService.java | 20 import android.app.backup.FullBackup; 76 FullBackup.backupToTar(packageName, FullBackup.OBB_TREE_TOKEN, null, 117 FullBackup.restoreFile(data, fileSize, type, -1, mtime, outFile);
|
D | SharedStorageAgent.java | 4 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/ |
D | SystemBackupAgent.java | 24 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/ |
D | FullRestoreEngine.java | 31 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/ |
D | ShadowFullBackup.java | 4 import android.app.backup.FullBackup; 23 @Implements(FullBackup.class)
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbBackupEngine.java | 14 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()
|
D | KeyValueAdbRestoreEngine.java | 11 import android.app.backup.FullBackup; 75 FullBackup.restoreFile(inFD, info.size, info.type, info.mode, info.mtime, restoreDataName); in prepareRestoreData()
|
D | UserBackupManagerService.java | 52 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/ |
D | BackupRestoreConfirmation.java | 20 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/ |
D | TarBackupReader.java | 48 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/ |
D | BackupUtilsTest.java | 21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 4264 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/ |
D | preloaded-classes | 806 android.app.backup.FullBackup
|
D | boot-image-profile.txt | 23600 Landroid/app/backup/FullBackup;
|
/frameworks/base/config/ |
D | preloaded-classes | 803 android.app.backup.FullBackup
|
D | boot-image-profile.txt | 33233 Landroid/app/backup/FullBackup;
|