Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
45 Map<String, Set<PathWithRequiredFlags>> includeMap;
46 Set<PathWithRequiredFlags> excludesSet;
70 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyInclude()
72 PathWithRequiredFlags include = fileDomainIncludes.iterator().next(); in testparseBackupSchemeFromXml_onlyInclude()
92 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
94 PathWithRequiredFlags include = fileDomainIncludes.iterator().next(); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
114 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
116 PathWithRequiredFlags include = fileDomainIncludes.iterator().next(); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
138 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
[all …]
/frameworks/base/core/java/android/app/backup/
DFullBackup.java324 public static class PathWithRequiredFlags { class in FullBackup.BackupScheme
328 public PathWithRequiredFlags(String path, int requiredFlags) { in PathWithRequiredFlags() method in FullBackup.BackupScheme.PathWithRequiredFlags
347 Map<String, Set<PathWithRequiredFlags>> mIncludes;
354 ArraySet<PathWithRequiredFlags> mExcludes;
405 public synchronized Map<String, Set<PathWithRequiredFlags>>
417 public synchronized ArraySet<PathWithRequiredFlags> maybeParseAndGetCanonicalExcludePaths() in maybeParseAndGetCanonicalExcludePaths()
427 mIncludes = new ArrayMap<String, Set<PathWithRequiredFlags>>(); in maybeParseBackupSchemeLocked()
428 mExcludes = new ArraySet<PathWithRequiredFlags>(); in maybeParseBackupSchemeLocked()
460 Set<PathWithRequiredFlags> excludes, in parseBackupSchemeFromXmlLocked()
461 Map<String, Set<PathWithRequiredFlags>> includes) in parseBackupSchemeFromXmlLocked()
[all …]
DBackupUtils.java19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
35 File file, Collection<PathWithRequiredFlags> canonicalPathList) throws IOException { in isFileSpecifiedInPathList()
36 for (PathWithRequiredFlags canonical : canonicalPathList) { in isFileSpecifiedInPathList()
DBackupAgent.java22 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
368 Map<String, Set<PathWithRequiredFlags>> manifestIncludeMap; in onFullBackup()
369 ArraySet<PathWithRequiredFlags> manifestExcludeSet; in onFullBackup()
547 Map<String, Set<PathWithRequiredFlags>> includeMap, in applyXmlFiltersAndDoFullBackupForDomain()
548 ArraySet<PathWithRequiredFlags> filterSet, ArraySet<String> traversalExcludeSet, in applyXmlFiltersAndDoFullBackupForDomain()
558 for (PathWithRequiredFlags includeFile : includeMap.get(domainToken)) { in applyXmlFiltersAndDoFullBackupForDomain()
720 ArraySet<PathWithRequiredFlags> manifestExcludes, in fullBackupFileTree()
789 ArraySet<PathWithRequiredFlags> manifestExcludes, String filePath) { in manifestExcludesContainFilePath()
790 for (PathWithRequiredFlags exclude : manifestExcludes) { in manifestExcludesContainFilePath()
845 Map<String, Set<PathWithRequiredFlags>> includes = null; in isFileEligibleForRestore()
[all …]
/frameworks/base/services/robotests/backup/src/android/app/backup/
DBackupUtilsTest.java21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
185 private Collection<PathWithRequiredFlags> paths(File... files) { in paths()
187 .map(file -> new PathWithRequiredFlags(file.getPath(), 0)) in paths()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4267 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;-><init>(Ljava/lang/String;I)V
4268 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->getPath()Ljava/lang/String;
4269 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->getRequiredFlags()I
4270 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->mPath:Ljava/lang/String;
4271 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->mRequiredFlags:I