Home
last modified time | relevance | path

Searched refs:schemaMap (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSearchResultToProtoConverterTest.java86 Map<String, Map<String, SchemaTypeConfigProto>> schemaMap = in testToSearchResultProto() local
93 searchResultProto, new SchemaCache(schemaMap), config); in testToSearchResultProto()
103 schemaMap.get(prefix), in testToSearchResultProto()
112 schemaMap.get(prefix), in testToSearchResultProto()
160 Map<String, Map<String, SchemaTypeConfigProto>> schemaMap = in testToSearchResultProtoWithDoublyNested() local
170 new SchemaCache(schemaMap), in testToSearchResultProtoWithDoublyNested()
DSearchSpecToProtoConverterTest.java444 Map<String, Map<String, SchemaTypeConfigProto>> schemaMap = in testToResultSpecProto_grouping_withJoinSpec_packageFilter() local
478 new SchemaCache(schemaMap), in testToResultSpecProto_grouping_withJoinSpec_packageFilter()
482 converter.toResultSpecProto(namespaceMap, new SchemaCache(schemaMap)); in testToResultSpecProto_grouping_withJoinSpec_packageFilter()
500 Map<String, Map<String, SchemaTypeConfigProto>> schemaMap = in testToResultSpecProto_projection_withJoinSpec_packageFilter() local
534 new SchemaCache(schemaMap), in testToResultSpecProto_projection_withJoinSpec_packageFilter()
538 converter.toResultSpecProto(namespaceMap, new SchemaCache(schemaMap)); in testToResultSpecProto_projection_withJoinSpec_packageFilter()
632 Map<String, Map<String, SchemaTypeConfigProto>> schemaMap = in testToResultSpecProto_projection_removeSchemaWithoutParentInFilter() local
648 new SchemaCache(schemaMap), in testToResultSpecProto_projection_removeSchemaWithoutParentInFilter()
652 converter.toResultSpecProto(namespaceMap, new SchemaCache(schemaMap)); in testToResultSpecProto_projection_removeSchemaWithoutParentInFilter()
671 Map<String, Map<String, SchemaTypeConfigProto>> schemaMap = in testToSearchSpecProto_propertyFilter_withJoinSpec_packageFilter() local
[all …]
DGenericDocumentToProtoConverterTest.java241 Map<String, SchemaTypeConfigProto> schemaMap = in testConvertDocument_whenPropertyHasEmptyList() local
249 schemaMap, in testConvertDocument_whenPropertyHasEmptyList()
381 Map<String, SchemaTypeConfigProto> schemaMap = in testConvertDocument_whenNestedDocumentPropertyHasEmptyList() local
393 schemaMap, in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DSchemaCacheTest.java46 Map<String, Map<String, SchemaTypeConfigProto>> schemaMap = in testGetSchemaTypesWithDescendants() local
53 SchemaCache schemaCache = new SchemaCache(schemaMap); in testGetSchemaTypesWithDescendants()
92 Map<String, Map<String, SchemaTypeConfigProto>> schemaMap = in testGetSchemaTypesWithDescendants_multipleLevel() local
101 SchemaCache schemaCache = new SchemaCache(schemaMap); in testGetSchemaTypesWithDescendants_multipleLevel()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DSchemaCache.java57 public SchemaCache(@NonNull Map<String, Map<String, SchemaTypeConfigProto>> schemaMap) { in SchemaCache() argument
58 mSchemaMap.putAll(Objects.requireNonNull(schemaMap)); in SchemaCache()
67 Map<String, SchemaTypeConfigProto> schemaMap = mSchemaMap.get(prefix); in getSchemaMapForPrefix() local
68 if (schemaMap == null) { in getSchemaMapForPrefix()
71 return schemaMap; in getSchemaMapForPrefix()