/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 | 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 | BackupAgent.java | 22 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags; 388 FullBackup.BackupScheme backupScheme = FullBackup.getBackupScheme(this); in onFullBackup() 400 if (Log.isLoggable(FullBackup.TAG_XML_PARSER, Log.VERBOSE)) { in onFullBackup() 401 Log.v(FullBackup.TAG_XML_PARSER, in onFullBackup() 465 packageName, FullBackup.ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 470 packageName, FullBackup.DEVICE_ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 477 packageName, FullBackup.FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 483 packageName, FullBackup.DEVICE_FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 490 packageName, FullBackup.DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 496 packageName, FullBackup.DEVICE_DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup() [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; 261 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 290 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 366 FullBackup.KEY_VALUE_DATA_TOKEN.equals(info.domain) in restoreOneFile() 407 if (FullBackup.OBB_TREE_TOKEN.equals(info.domain)) { in restoreOneFile() 416 } else if (FullBackup.KEY_VALUE_DATA_TOKEN.equals(info.domain)) { in restoreOneFile() 632 if (FullBackup.CACHE_TREE_TOKEN.equals(info.domain)) { in isRestorableFile() 639 if (FullBackup.ROOT_TREE_TOKEN.equals(info.domain)) { in isRestorableFile()
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | SystemBackupAgent.java | 23 import android.app.backup.FullBackup; 150 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) { in onRestoreFile() 164 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; 2949 if (!startConfirmationUi(token, FullBackup.FULL_BACKUP_INTENT_ACTION)) { in adbBackup() 3086 if (!startConfirmationUi(token, FullBackup.FULL_RESTORE_INTENT_ACTION)) { in adbRestore() 3136 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 | preloaded-classes | 831 android.app.backup.FullBackup
|
D | boot-image-profile.txt | 40922 Landroid/app/backup/FullBackup;
|