Home
last modified time | relevance | path

Searched refs:PathWithRequiredFlags (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
44 Map<String, Set<PathWithRequiredFlags>> includeMap;
45 Set<PathWithRequiredFlags> excludesSet;
69 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyInclude()
71 PathWithRequiredFlags include = fileDomainIncludes.iterator().next(); in testparseBackupSchemeFromXml_onlyInclude()
91 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
93 PathWithRequiredFlags include = fileDomainIncludes.iterator().next(); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
113 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
115 PathWithRequiredFlags include = fileDomainIncludes.iterator().next(); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
137 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
[all …]
/frameworks/base/core/java/android/app/backup/
DFullBackup.java322 public static class PathWithRequiredFlags { class in FullBackup.BackupScheme
326 public PathWithRequiredFlags(String path, int requiredFlags) { in PathWithRequiredFlags() method in FullBackup.BackupScheme.PathWithRequiredFlags
345 Map<String, Set<PathWithRequiredFlags>> mIncludes;
352 ArraySet<PathWithRequiredFlags> mExcludes;
403 public synchronized Map<String, Set<PathWithRequiredFlags>>
415 public synchronized ArraySet<PathWithRequiredFlags> maybeParseAndGetCanonicalExcludePaths() in maybeParseAndGetCanonicalExcludePaths()
425 mIncludes = new ArrayMap<String, Set<PathWithRequiredFlags>>(); in maybeParseBackupSchemeLocked()
426 mExcludes = new ArraySet<PathWithRequiredFlags>(); in maybeParseBackupSchemeLocked()
458 Set<PathWithRequiredFlags> excludes, in parseBackupSchemeFromXmlLocked()
459 Map<String, Set<PathWithRequiredFlags>> includes) in parseBackupSchemeFromXmlLocked()
[all …]
DBackupAgent.java21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
347 Map<String, Set<PathWithRequiredFlags>> manifestIncludeMap; in onFullBackup()
348 ArraySet<PathWithRequiredFlags> manifestExcludeSet; in onFullBackup()
522 Map<String, Set<PathWithRequiredFlags>> includeMap, in applyXmlFiltersAndDoFullBackupForDomain()
523 ArraySet<PathWithRequiredFlags> filterSet, ArraySet<String> traversalExcludeSet, in applyXmlFiltersAndDoFullBackupForDomain()
533 for (PathWithRequiredFlags includeFile : includeMap.get(domainToken)) { in applyXmlFiltersAndDoFullBackupForDomain()
695 ArraySet<PathWithRequiredFlags> manifestExcludes, in fullBackupFileTree()
764 ArraySet<PathWithRequiredFlags> manifestExcludes, String filePath) { in manifestExcludesContainFilePath()
765 for (PathWithRequiredFlags exclude : manifestExcludes) { in manifestExcludesContainFilePath()
820 Map<String, Set<PathWithRequiredFlags>> includes = null; in isFileEligibleForRestore()
[all …]