Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java21 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
47 Map<String, Set<PathWithRequiredFlags>> includeMap;
48 Set<PathWithRequiredFlags> excludesSet;
72 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyInclude()
74 PathWithRequiredFlags include = fileDomainIncludes.iterator().next(); in testparseBackupSchemeFromXml_onlyInclude()
94 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
96 PathWithRequiredFlags include = fileDomainIncludes.iterator().next(); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
116 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
118 PathWithRequiredFlags include = fileDomainIncludes.iterator().next(); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
140 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
[all …]
DBackupAgentTest.java25 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
61 PathWithRequiredFlags path = new PathWithRequiredFlags("path", /* requiredFlags */ 0); in testGetIncludeExcludeRules_isNotMigration_returnsRules()
62 Map<String, Set<PathWithRequiredFlags>> includePaths = Collections.singletonMap("test", in testGetIncludeExcludeRules_isNotMigration_returnsRules()
64 ArraySet<PathWithRequiredFlags> excludePaths = new ArraySet<>(); in testGetIncludeExcludeRules_isNotMigration_returnsRules()
/frameworks/base/core/java/android/app/backup/
DFullBackup.java397 public static class PathWithRequiredFlags { class in FullBackup.BackupScheme
401 public PathWithRequiredFlags(String path, int requiredFlags) { in PathWithRequiredFlags() method in FullBackup.BackupScheme.PathWithRequiredFlags
420 Map<String, Set<PathWithRequiredFlags>> mIncludes;
427 ArraySet<PathWithRequiredFlags> mExcludes;
511 public synchronized Map<String, Set<PathWithRequiredFlags>>
523 public synchronized ArraySet<PathWithRequiredFlags> maybeParseAndGetCanonicalExcludePaths() in maybeParseAndGetCanonicalExcludePaths()
552 mIncludes = new ArrayMap<String, Set<PathWithRequiredFlags>>(); in maybeParseBackupSchemeLocked()
553 mExcludes = new ArraySet<PathWithRequiredFlags>(); in maybeParseBackupSchemeLocked()
639 Set<PathWithRequiredFlags> excludes, in parseNewBackupSchemeFromXmlLocked()
640 Map<String, Set<PathWithRequiredFlags>> includes) in parseNewBackupSchemeFromXmlLocked()
[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.java24 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags;
433 Map<String, Set<PathWithRequiredFlags>> manifestIncludeMap in onFullBackup()
435 Set<PathWithRequiredFlags> manifestExcludeSet in onFullBackup()
570 Map<String, Set<PathWithRequiredFlags>> manifestIncludeMap; in getIncludeExcludeRules()
571 ArraySet<PathWithRequiredFlags> manifestExcludeSet; in getIncludeExcludeRules()
621 Map<String, Set<PathWithRequiredFlags>> includeMap, in applyXmlFiltersAndDoFullBackupForDomain()
622 Set<PathWithRequiredFlags> filterSet, ArraySet<String> traversalExcludeSet, in applyXmlFiltersAndDoFullBackupForDomain()
633 for (PathWithRequiredFlags includeFile : includeMap.get(domainToken)) { in applyXmlFiltersAndDoFullBackupForDomain()
795 Set<PathWithRequiredFlags> manifestExcludes, in fullBackupFileTree()
865 Set<PathWithRequiredFlags> manifestExcludes, String filePath) { in manifestExcludesContainFilePath()
[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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt4264 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;-><init>(Ljava/lang/String;I)V
4265 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->getPath()Ljava/lang/String;
4266 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->getRequiredFlags()I
4267 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->mPath:Ljava/lang/String;
4268 Landroid/app/backup/FullBackup$BackupScheme$PathWithRequiredFlags;->mRequiredFlags:I