Searched refs:PathWithRequiredFlags (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | FullBackupTest.java | 21 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 …]
|
D | BackupAgentTest.java | 25 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/ |
D | FullBackup.java | 397 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 …]
|
D | BackupUtils.java | 19 import android.app.backup.FullBackup.BackupScheme.PathWithRequiredFlags; 35 File file, Collection<PathWithRequiredFlags> canonicalPathList) throws IOException { in isFileSpecifiedInPathList() 36 for (PathWithRequiredFlags canonical : canonicalPathList) { in isFileSpecifiedInPathList()
|
D | BackupAgent.java | 24 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/ |
D | BackupUtilsTest.java | 21 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/ |
D | hiddenapi-max-target-o.txt | 4264 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
|