/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | FullBackupTest.java | 63 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyInclude() 69 Set<String> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyInclude() 82 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_onlyExclude() 99 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_includeAndExclude() 102 Set<String> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_includeAndExclude() 128 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes() 131 Set<String> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes() 137 Set<String> databaseDomainIncludes = includeMap.get(FullBackup.DATABASE_TREE_TOKEN); in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes() 159 includeMap.get(FullBackup.SHAREDPREFS_TREE_TOKEN)); in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes() 221 FullBackup.BackupScheme bs = FullBackup.getBackupSchemeForTest(mContext); in testParseBackupSchemeFromXml_invalidXmlFails() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 288 FullBackup.BackupScheme backupScheme = FullBackup.getBackupScheme(this); in onFullBackup() 300 if (Log.isLoggable(FullBackup.TAG_XML_PARSER, Log.VERBOSE)) { in onFullBackup() 301 Log.v(FullBackup.TAG_XML_PARSER, in onFullBackup() 365 packageName, FullBackup.ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 370 packageName, FullBackup.DEVICE_ROOT_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 377 packageName, FullBackup.FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 383 packageName, FullBackup.DEVICE_FILES_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 390 packageName, FullBackup.DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 396 packageName, FullBackup.DEVICE_DATABASE_TREE_TOKEN, manifestIncludeMap, in onFullBackup() 403 packageName, FullBackup.SHAREDPREFS_TREE_TOKEN, manifestIncludeMap, in onFullBackup() [all …]
|
D | FullBackup.java | 52 public class FullBackup { class 240 if (domainToken.equals(FullBackup.FILES_TREE_TOKEN)) { in tokenToDirectoryPath() 242 } else if (domainToken.equals(FullBackup.DATABASE_TREE_TOKEN)) { in tokenToDirectoryPath() 244 } else if (domainToken.equals(FullBackup.ROOT_TREE_TOKEN)) { in tokenToDirectoryPath() 246 } else if (domainToken.equals(FullBackup.SHAREDPREFS_TREE_TOKEN)) { in tokenToDirectoryPath() 248 } else if (domainToken.equals(FullBackup.CACHE_TREE_TOKEN)) { in tokenToDirectoryPath() 250 } else if (domainToken.equals(FullBackup.NO_BACKUP_TREE_TOKEN)) { in tokenToDirectoryPath() 252 } else if (domainToken.equals(FullBackup.DEVICE_FILES_TREE_TOKEN)) { in tokenToDirectoryPath() 254 } else if (domainToken.equals(FullBackup.DEVICE_DATABASE_TREE_TOKEN)) { in tokenToDirectoryPath() 256 } 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/ |
D | KeyValueAdbBackupEngine.java | 12 import android.app.backup.FullBackup; 193 FullBackup.backupToTar(mPackage.packageName, FullBackup.KEY_VALUE_DATA_TOKEN, null, in run() 202 FullBackup.backupToTar(mPackage.packageName, FullBackup.KEY_VALUE_DATA_TOKEN, null, in run()
|
D | KeyValueAdbRestoreEngine.java | 11 import android.app.backup.FullBackup; 77 FullBackup.restoreFile(inFD, info.size, info.type, info.mode, info.mtime, restoreDataName); in prepareRestoreData()
|
D | BackupManagerService.java | 53 import android.app.backup.FullBackup; 3862 FullBackup.backupToTar(mPackage.packageName, null, null, in run() 3871 FullBackup.backupToTar(mPackage.packageName, null, null, in run() 4026 FullBackup.backupToTar(pkg.packageName, FullBackup.APK_TREE_TOKEN, null, in writeApkToBackup() 4043 FullBackup.backupToTar(pkg.packageName, FullBackup.OBB_TREE_TOKEN, null, in writeApkToBackup() 5946 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 5969 if (info.domain.equals(FullBackup.APK_TREE_TOKEN)) { in restoreOneFile() 6064 if (info.domain.equals(FullBackup.OBB_TREE_TOKEN)) { in restoreOneFile() 6838 if (FullBackup.SHARED_PREFIX.regionMatches(0, in readTarHeaders() 6839 info.path, 0, FullBackup.SHARED_PREFIX.length())) { in readTarHeaders() [all …]
|
/frameworks/base/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/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
D | BackupRestoreConfirmation.java | 20 import android.app.backup.FullBackup; 141 if (action.equals(FullBackup.FULL_BACKUP_INTENT_ACTION)) { in onCreate() 144 } else if (action.equals(FullBackup.FULL_RESTORE_INTENT_ACTION)) { in onCreate() 153 mToken = intent.getIntExtra(FullBackup.CONF_TOKEN_INTENT_EXTRA, -1); in onCreate()
|
/frameworks/base/ |
D | preloaded-classes | 643 android.app.backup.FullBackup
|
D | compiled-classes-phone | 603 android.app.backup.FullBackup
|
/frameworks/base/services/ |
D | profile-classes | 147 Landroid/app/backup/FullBackup;
|