Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverterTest.java55 SchemaTypeConfigProto.newBuilder().setSchemaType(SCHEMA_TYPE_1).build();
57 SchemaTypeConfigProto.newBuilder().setSchemaType(SCHEMA_TYPE_2).build();
160 .setSchemaType(SCHEMA_TYPE_1) in testConvertDocument_whenPropertyHasEmptyList()
209 .setSchemaType(SCHEMA_TYPE_2) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
214 .setSchemaType(SCHEMA_TYPE_1) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
225 .setSchemaType(SCHEMA_TYPE_2) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
DSchemaToProtoConverterTest.java61 .setSchemaType("Email") in testGetProto_Email()
121 .setSchemaType("MusicRecording") in testGetProto_MusicRecording()
DSnippetTest.java43 SchemaTypeConfigProto.newBuilder().setSchemaType(PREFIX + SCHEMA_TYPE).build();
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java107 .setSchemaType("package$existingDatabase/Foo") in testRewriteSchema_addType()
114 SchemaTypeConfigProto.newBuilder().setSchemaType("Foo").build(); in testRewriteSchema_addType()
117 .setSchemaType("TestType") in testRewriteSchema_addType()
138 .setSchemaType("RefType") in testRewriteSchema_addType()
142 SchemaTypeConfigProto.newBuilder().setSchemaType("RefType").build(); in testRewriteSchema_addType()
184 .setSchemaType("package$newDatabase/Foo") in testRewriteSchema_addType()
188 .setSchemaType("package$newDatabase/TestType") in testRewriteSchema_addType()
218 .setSchemaType( in testRewriteSchema_addType()
224 .setSchemaType("package$newDatabase/RefType") in testRewriteSchema_addType()
242 .setSchemaType("package$existingDatabase/Foo") in testRewriteSchema_rewriteType()
[all …]
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DTypePropertyPathToProtoConverter.java45 .setSchemaType(e.getKey()) in toTypePropertyMaskList()
DSchemaToProtoConverter.java53 .setSchemaType(schema.getSchemaType()) in toSchemaTypeConfigProto()
103 builder.setSchemaType(documentProperty.getSchemaType()) in toPropertyConfigProto()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java529 typeConfigBuilder.setSchemaType(newSchemaType); in getSchema()
540 propertyConfigBuilder.setSchemaType(newPropertySchemaType); in getSchema()
785 typePropertyMask.toBuilder().setSchemaType(prefixedType).build()); in getDocument()
1724 typeConfigBuilder.setSchemaType(newSchemaType); in rewriteSchema()
1734 propertyConfigBuilder.setSchemaType(newPropertySchemaType); in rewriteSchema()
1897 typePropertyMask.toBuilder().setSchemaType(prefixedType).build()); in rewriteResultSpecForPrefixesLocked()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DGenericDocument.java1077 public BuilderType setSchemaType(@NonNull String schemaType) { in setSchemaType() method in GenericDocument.Builder