/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | FullBackupTest.java | 19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags; 63 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyInclude() 69 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyInclude() 85 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 91 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 110 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag() 113 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag() 131 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag() 137 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag() 156 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags; 342 FullBackup.BackupScheme backupScheme = FullBackup.getBackupScheme(this); in onFullBackup() 354 if (Log.isLoggable(FullBackup.TAG_XML_PARSER, Log.VERBOSE)) { in onFullBackup() 355 Log.v(FullBackup.TAG_XML_PARSER, in onFullBackup() 419 packageName, FullBackup.ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 424 packageName, FullBackup.DEVICE_ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 431 packageName, FullBackup.FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 437 packageName, FullBackup.DEVICE_FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 444 packageName, FullBackup.DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 450 packageName, FullBackup.DEVICE_DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup() [all …]
|
D | FullBackup.java | 52 public class FullBackup { class 248 if (domainToken.equals(FullBackup.FILES_TREE_TOKEN)) { in tokenToDirectoryPath() 250 } else if (domainToken.equals(FullBackup.DATABASE_TREE_TOKEN)) { in tokenToDirectoryPath() 252 } else if (domainToken.equals(FullBackup.ROOT_TREE_TOKEN)) { in tokenToDirectoryPath() 254 } else if (domainToken.equals(FullBackup.SHAREDPREFS_TREE_TOKEN)) { in tokenToDirectoryPath() 256 } else if (domainToken.equals(FullBackup.CACHE_TREE_TOKEN)) { in tokenToDirectoryPath() 258 } else if (domainToken.equals(FullBackup.NO_BACKUP_TREE_TOKEN)) { in tokenToDirectoryPath() 260 } else if (domainToken.equals(FullBackup.DEVICE_FILES_TREE_TOKEN)) { in tokenToDirectoryPath() 262 } else if (domainToken.equals(FullBackup.DEVICE_DATABASE_TREE_TOKEN)) { in tokenToDirectoryPath() 264 } else if (domainToken.equals(FullBackup.DEVICE_ROOT_TREE_TOKEN)) { in tokenToDirectoryPath() [all …]
|
/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/fullbackup/ |
D | FullBackupEngine.java | 32 import android.app.backup.FullBackup; 116 FullBackup.backupToTar(mPackage.packageName, null, null, in run() 125 FullBackup.backupToTar(mPackage.packageName, null, null, in run() 299 FullBackup.backupToTar(pkg.packageName, FullBackup.APK_TREE_TOKEN, null, in writeApkToBackup() 318 FullBackup.backupToTar(pkg.packageName, FullBackup.OBB_TREE_TOKEN, null, in writeApkToBackup()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbBackupEngine.java | 12 import android.app.backup.FullBackup; 202 FullBackup.backupToTar(mPackage.packageName, FullBackup.KEY_VALUE_DATA_TOKEN, null, in run() 211 FullBackup.backupToTar(mPackage.packageName, FullBackup.KEY_VALUE_DATA_TOKEN, null, in run()
|
D | KeyValueAdbRestoreEngine.java | 11 import android.app.backup.FullBackup; 78 FullBackup.restoreFile(inFD, info.size, info.type, info.mode, info.mtime, restoreDataName); in prepareRestoreData()
|
D | BackupManagerService.java | 43 import android.app.backup.FullBackup; 2496 if (!startConfirmationUi(token, FullBackup.FULL_BACKUP_INTENT_ACTION)) { in adbBackup() 2614 if (!startConfirmationUi(token, FullBackup.FULL_RESTORE_INTENT_ACTION)) { in adbRestore() 2647 confIntent.putExtra(FullBackup.CONF_TOKEN_INTENT_EXTRA, token); in startConfirmationUi()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | SystemBackupAgent.java | 23 import android.app.backup.FullBackup; 140 if (domain.equals(FullBackup.ROOT_TREE_TOKEN)) { in onRestoreFile() 154 FullBackup.restoreFile(data, size, type, mode, mtime, outFile); in onRestoreFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngine.java | 30 import android.app.backup.FullBackup; 260 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 289 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 406 if (FullBackup.OBB_TREE_TOKEN.equals(info.domain)) { in restoreOneFile() 415 } else if (FullBackup.KEY_VALUE_DATA_TOKEN.equals(info.domain)) { in restoreOneFile() 605 if (FullBackup.CACHE_TREE_TOKEN.equals(info.domain)) { in isRestorableFile() 612 if (FullBackup.ROOT_TREE_TOKEN.equals(info.domain)) { in isRestorableFile()
|
D | PerformAdbRestoreTask.java | 35 import android.app.backup.FullBackup; 522 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 550 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 621 FullBackup.KEY_VALUE_DATA_TOKEN.equals(info.domain) in restoreOneFile() 660 if (FullBackup.OBB_TREE_TOKEN.equals(info.domain)) { in restoreOneFile() 669 } else if (FullBackup.KEY_VALUE_DATA_TOKEN.equals(info.domain)) { in restoreOneFile()
|
/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/config/ |
D | preloaded-classes | 490 android.app.backup.FullBackup
|
D | hiddenapi-light-greylist.txt | 487 Landroid/app/backup/FullBackup;->backupToTar(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;…
|
D | boot-image-profile.txt | 54152 Landroid/app/backup/FullBackup;
|