Searched refs:includeMap (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | FullBackupTest.java | 45 Map<String, Set<PathWithRequiredFlags>> includeMap; field in FullBackupTest 54 includeMap = new ArrayMap<>(); in setUp() 65 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); in testparseBackupSchemeFromXml_onlyInclude() 68 assertEquals("Unexpected number of <include/>s", 1, includeMap.size()); in testparseBackupSchemeFromXml_onlyInclude() 70 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyInclude() 87 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 90 assertEquals("Unexpected number of <include/>s", 1, includeMap.size()); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 92 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag() 112 bs.parseBackupSchemeFromXmlLocked(mXpp, excludesSet, includeMap); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag() 114 Set<PathWithRequiredFlags> fileDomainIncludes = includeMap.get(FullBackup.FILES_TREE_TOKEN); in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 547 Map<String, Set<PathWithRequiredFlags>> includeMap, in applyXmlFiltersAndDoFullBackupForDomain() argument 550 if (includeMap == null || includeMap.size() == 0) { in applyXmlFiltersAndDoFullBackupForDomain() 555 } else if (includeMap.get(domainToken) != null) { in applyXmlFiltersAndDoFullBackupForDomain() 558 for (PathWithRequiredFlags includeFile : includeMap.get(domainToken)) { in applyXmlFiltersAndDoFullBackupForDomain()
|