Home
last modified time | relevance | path

Searched refs:FullBackup (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java63 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/
DBackupAgent.java288 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 …]
DFullBackup.java52 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/
DObbBackupService.java20 import android.app.backup.FullBackup;
76 FullBackup.backupToTar(packageName, FullBackup.OBB_TREE_TOKEN, null,
117 FullBackup.restoreFile(data, fileSize, type, -1, mtime, outFile);
DSharedStorageAgent.java4 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/
DKeyValueAdbBackupEngine.java12 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()
DKeyValueAdbRestoreEngine.java11 import android.app.backup.FullBackup;
77 FullBackup.restoreFile(inFD, info.size, info.type, info.mode, info.mtime, restoreDataName); in prepareRestoreData()
DBackupManagerService.java53 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/
DSystemBackupAgent.java23 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/
DBackupRestoreConfirmation.java20 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/
Dpreloaded-classes643 android.app.backup.FullBackup
Dcompiled-classes-phone603 android.app.backup.FullBackup
/frameworks/base/services/
Dprofile-classes147 Landroid/app/backup/FullBackup;