Home
last modified time | relevance | path

Searched refs:setSchemaType (Results 1 – 22 of 22) sorted by relevance

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DSchemaCacheTest.java38 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/Person").build(); in testGetSchemaTypesWithDescendants()
41 .setSchemaType("package$database/Artist") in testGetSchemaTypesWithDescendants()
45 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/Other").build(); in testGetSchemaTypesWithDescendants()
73 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/A").build(); in testGetSchemaTypesWithDescendants_multipleLevel()
75 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/B").build(); in testGetSchemaTypesWithDescendants_multipleLevel()
78 .setSchemaType("package$database/C") in testGetSchemaTypesWithDescendants_multipleLevel()
83 .setSchemaType("package$database/D") in testGetSchemaTypesWithDescendants_multipleLevel()
88 .setSchemaType("package$database/E") in testGetSchemaTypesWithDescendants_multipleLevel()
DAppSearchImplTest.java152 .setSchemaType("package$existingDatabase/Foo") in testRewriteSchema_addType()
159 SchemaTypeConfigProto.newBuilder().setSchemaType("Foo").build(); in testRewriteSchema_addType()
162 .setSchemaType("TestType") in testRewriteSchema_addType()
183 .setSchemaType("RefType") in testRewriteSchema_addType()
188 .setSchemaType("RefType") in testRewriteSchema_addType()
232 .setSchemaType("package$newDatabase/Foo") in testRewriteSchema_addType()
236 .setSchemaType("package$newDatabase/TestType") in testRewriteSchema_addType()
266 .setSchemaType( in testRewriteSchema_addType()
272 .setSchemaType("package$newDatabase/RefType") in testRewriteSchema_addType()
291 .setSchemaType("package$existingDatabase/Foo") in testRewriteSchema_rewriteType()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DAdbDumpUtilTest.java89 SchemaTypeConfigProto.newBuilder().setSchemaType(EMAIL_TYPE).addProperties( in testDesensitizeDebugInfo()
91 PropertyConfigProto.DataType.Code.DOCUMENT).setSchemaType( in testDesensitizeDebugInfo()
96 SchemaTypeConfigProto.newBuilder().setSchemaType(PERSON_TYPE).addProperties( in testDesensitizeDebugInfo()
102 SchemaTypeConfigProto.newBuilder().setSchemaType( in testDesensitizeDebugInfo()
105 PropertyConfigProto.DataType.Code.DOCUMENT).setSchemaType( in testDesensitizeDebugInfo()
110 SchemaTypeConfigProto.newBuilder().setSchemaType( in testDesensitizeDebugInfo()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java92 .setSchemaType("Email") in testGetProto_DescriptionSet()
142 .setSchemaType("Person") in testGetProto_DescriptionSet()
190 .setSchemaType("Email") in testGetProto_Email()
255 .setSchemaType("MusicRecording") in testGetProto_MusicRecording()
310 .setSchemaType("Album") in testGetProto_JoinableConfig()
346 .setSchemaType("EmailMessage") in testGetProto_ParentTypes()
393 .setSchemaType("Person") in testGetProto_DocumentIndexingConfig()
414 .setSchemaType("Organization") in testGetProto_DocumentIndexingConfig()
473 .setSchemaType("Email") in testGetProto_EmbeddingProperty()
DGenericDocumentToProtoConverterTest.java65 SchemaTypeConfigProto.newBuilder().setSchemaType(SCHEMA_TYPE_1).build();
67 SchemaTypeConfigProto.newBuilder().setSchemaType(SCHEMA_TYPE_2).build();
239 .setSchemaType(PREFIX + SCHEMA_TYPE_1) in testConvertDocument_whenPropertyHasEmptyList()
367 .setSchemaType(PREFIX + SCHEMA_TYPE_1) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
374 .setSchemaType(PREFIX + SCHEMA_TYPE_1) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
379 .setSchemaType(PREFIX + SCHEMA_TYPE_2) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
DSearchSpecToProtoConverterTest.java323 .setSchemaType(prefix + schemaType) in testToScoringSpecProto()
623 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/Person").build(); in testToResultSpecProto_projection_removeSchemaWithoutParentInFilter()
626 .setSchemaType("package$database/Artist") in testToResultSpecProto_projection_removeSchemaWithoutParentInFilter()
630 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/Other").build(); in testToResultSpecProto_projection_removeSchemaWithoutParentInFilter()
761 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/Person").build(); in testToSearchSpecProto_propertyFilter_removeSchemaWithoutParentInFilter()
764 .setSchemaType("package$database/Artist") in testToSearchSpecProto_propertyFilter_removeSchemaWithoutParentInFilter()
768 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/Other").build(); in testToSearchSpecProto_propertyFilter_removeSchemaWithoutParentInFilter()
1499 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/Person").build(); in testGetTargetSchemaFilters_polymorphismExpansion()
1502 .setSchemaType("package$database/Artist") in testGetTargetSchemaFilters_polymorphismExpansion()
1506 SchemaTypeConfigProto.newBuilder().setSchemaType("package$database/Other").build(); in testGetTargetSchemaFilters_polymorphismExpansion()
[all …]
DSearchResultToProtoConverterTest.java85 SchemaTypeConfigProto.newBuilder().setSchemaType(schemaType).build(); in testToSearchResultProto()
159 SchemaTypeConfigProto.newBuilder().setSchemaType(schemaType).build(); in testToSearchResultProtoWithDoublyNested()
DSearchSuggestionSpecToProtoConverterTest.java109 .setSchemaType("package$database/typeA") in testToProto_propertyFilters()
DSnippetTest.java49 SchemaTypeConfigProto.newBuilder().setSchemaType(PREFIXED_SCHEMA_TYPE).build();
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/util/
DPrefixUtilTest.java236 propertyConfigBuilder.setSchemaType("prefix/schema"); in testRemovePrefixesFromSchemaType()
239 builder.setSchemaType("prefix/schema"); in testRemovePrefixesFromSchemaType()
247 unprefixedPropertyConfigBuilder.setSchemaType("schema"); in testRemovePrefixesFromSchemaType()
250 unprefixedBuilder.setSchemaType("schema"); in testRemovePrefixesFromSchemaType()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DAdbDumpUtil.java109 typeBuilder.setSchemaType(generateFingerprintMd5(typeBuilder.getSchemaType())); in desensitizeDebugInfo()
114 propertyBuilder.setSchemaType( in desensitizeDebugInfo()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/util/
DPrefixUtil.java250 typeConfigBuilder.setSchemaType(newSchemaType); in removePrefixesFromSchemaType()
261 propertyConfigBuilder.setSchemaType(newPropertySchemaType); in removePrefixesFromSchemaType()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DTypePropertyPathToProtoConverter.java46 .setSchemaType(e.getKey()) in toTypePropertyMaskBuilderList()
DSearchSpecToProtoConverter.java304 .setSchemaType(SearchSpec.SCHEMA_TYPE_WILDCARD) in toSearchSpecProto()
313 .setSchemaType(prefixedSchemaType) in toSearchSpecProto()
519 .setSchemaType(prefixedType) in toResultSpecProto()
1060 TypePropertyWeights.newBuilder().setSchemaType(prefixedSchemaType); in addTypePropertyWeights()
DSchemaToProtoConverter.java57 .setSchemaType(schema.getSchemaType()) in toSchemaTypeConfigProto()
124 builder.setSchemaType(documentProperty.getSchemaType()) in toPropertyConfigProto()
DSearchSuggestionSpecToProtoConverter.java119 .setSchemaType(prefixedSchemaType) in toSearchSuggestionSpecProto()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DInternalVisibilityConfig.java231 public Builder setSchemaType(@NonNull String schemaType) { in setSchemaType() method in InternalVisibilityConfig.Builder
DGenericDocument.java1141 public BuilderType setSchemaType(@NonNull String schemaType) { in setSchemaType() method in GenericDocument.Builder
1143 mDocumentParcelBuilder.setSchemaType(schemaType); in setSchemaType()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityToDocumentConverterTest.java243 builder.setSchemaType("prefixedSchema") in testToVisibilityConfig()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java180 .setSchemaType(
838 .setSchemaType(prefixedSchemaType) in doSetSchemaNoChangeNotificationLocked()
1327 nonPrefixedPropertyMaskBuilders.get(i).setSchemaType(prefixedType).build()); in getDocumentProtoByIdLocked()
2528 typeConfigBuilder.setSchemaType(newSchemaType); in rewriteSchema()
2538 propertyConfigBuilder.setSchemaType(newPropertySchemaType); in rewriteSchema()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DGenericDocumentParcel.java371 public Builder setSchemaType(@NonNull String schemaType) { in setSchemaType() method in GenericDocumentParcel.Builder
/packages/modules/AppSearch/framework/api/
Dcurrent.txt261 …generic_document_builder_hidden_methods") @NonNull public BuilderType setSchemaType(@NonNull Strin…