/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | FullBackupTest.java | 19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags; 64 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyInclude() 70 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyInclude() 86 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 92 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 111 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag() 114 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag() 132 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag() 138 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag() 157 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 22 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags; 363 FullBackup.BackupScheme backupScheme = FullBackup.getBackupScheme(this); in onFullBackup() 375 if (Log.isLoggable(FullBackup.TAG_XML_PARSER, Log.VERBOSE)) { in onFullBackup() 376 Log.v(FullBackup.TAG_XML_PARSER, in onFullBackup() 440 packageName, FullBackup.ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 445 packageName, FullBackup.DEVICE_ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 452 packageName, FullBackup.FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 458 packageName, FullBackup.DEVICE_FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 465 packageName, FullBackup.DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 471 packageName, FullBackup.DEVICE_DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup() [all …]
|
D | FullBackup.java | 53 public class FullBackup { class 250 if (domainToken.equals(FullBackup.FILES_TREE_TOKEN)) { in tokenToDirectoryPath() 252 } else if (domainToken.equals(FullBackup.DATABASE_TREE_TOKEN)) { in tokenToDirectoryPath() 254 } else if (domainToken.equals(FullBackup.ROOT_TREE_TOKEN)) { in tokenToDirectoryPath() 256 } else if (domainToken.equals(FullBackup.SHAREDPREFS_TREE_TOKEN)) { in tokenToDirectoryPath() 258 } else if (domainToken.equals(FullBackup.CACHE_TREE_TOKEN)) { in tokenToDirectoryPath() 260 } else if (domainToken.equals(FullBackup.NO_BACKUP_TREE_TOKEN)) { in tokenToDirectoryPath() 262 } else if (domainToken.equals(FullBackup.DEVICE_FILES_TREE_TOKEN)) { in tokenToDirectoryPath() 264 } else if (domainToken.equals(FullBackup.DEVICE_DATABASE_TREE_TOKEN)) { in tokenToDirectoryPath() 266 } 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/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngine.java | 30 import android.app.backup.FullBackup; 272 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 301 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 377 FullBackup.KEY_VALUE_DATA_TOKEN.equals(info.domain) in restoreOneFile() 420 if (FullBackup.OBB_TREE_TOKEN.equals(info.domain)) { in restoreOneFile() 429 } else if (FullBackup.KEY_VALUE_DATA_TOKEN.equals(info.domain)) { in restoreOneFile() 651 if (FullBackup.CACHE_TREE_TOKEN.equals(info.domain)) { in isRestorableFile() 658 if (FullBackup.ROOT_TREE_TOKEN.equals(info.domain)) { in isRestorableFile()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | SystemBackupAgent.java | 23 import android.app.backup.FullBackup; 147 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) { in onRestoreFile() 161 FullBackup.restoreFile(data, size, type, mode, mtime, outFile); in onRestoreFile()
|
/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 | 13 import android.app.backup.FullBackup; 218 FullBackup.KEY_VALUE_DATA_TOKEN, in run() 226 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 | 51 import android.app.backup.FullBackup; 2617 if (!startConfirmationUi(token, FullBackup.FULL_BACKUP_INTENT_ACTION)) { in adbBackup() 2736 if (!startConfirmationUi(token, FullBackup.FULL_RESTORE_INTENT_ACTION)) { in adbRestore() 2769 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/config/ |
D | hiddenapi-greylist-max-o.txt | 4267 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;-><init>(Ljava/lang/String;I)V 4268 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->getPath()Ljava/lang/String; 4269 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->getRequiredFlags()I 4270 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->mPath:Ljava/lang/String; 4271 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->mRequiredFlags:I 4272 Landroid/app/backup/FullBackup$BackupScheme;-><init>(Landroid/content/Context;)V 4273 Landroid/app/backup/FullBackup$BackupScheme;->CACHE_DIR:Ljava/io/File; 4274 Landroid/app/backup/FullBackup$BackupScheme;->DATABASE_DIR:Ljava/io/File; 4275 Landroid/app/backup/FullBackup$BackupScheme;->DEVICE_CACHE_DIR:Ljava/io/File; 4276 Landroid/app/backup/FullBackup$BackupScheme;->DEVICE_DATABASE_DIR:Ljava/io/File; [all …]
|
D | preloaded-classes | 543 android.app.backup.FullBackup
|
D | boot-image-profile.txt | 32605 Landroid/app/backup/FullBackup;
|