Searched refs:includeMap (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | FullBackupTest.java | 47 Map<String, Set<PathWithRequiredFlags>> includeMap; field in FullBackupTest 56 includeMap = new ArrayMap<>(); in setUp() 67 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); in testparseBackupSchemeFromXml_onlyInclude() 70 assertEquals("Unexpected number of <include/>s", 1, includeMap.size()); in testparseBackupSchemeFromXml_onlyInclude() 72 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyInclude() 89 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 92 assertEquals("Unexpected number of <include/>s", 1, includeMap.size()); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 94 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 114 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag() 116 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 655 Map<String, Set<PathWithRequiredFlags>> includeMap, in applyXmlFiltersAndDoFullBackupForDomain() argument 658 if (includeMap == null || includeMap.size() == 0) { in applyXmlFiltersAndDoFullBackupForDomain() 664 } else if (includeMap.get(domainToken) != null) { in applyXmlFiltersAndDoFullBackupForDomain() 667 for (PathWithRequiredFlags includeFile : includeMap.get(domainToken)) { in applyXmlFiltersAndDoFullBackupForDomain()
|