Home
last modified time | relevance | path

Searched refs:existingSchemaBuilder (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java148 SchemaProto.Builder existingSchemaBuilder = in testRewriteSchema_addType() local
157 new ArrayList<>(existingSchemaBuilder.getTypesList()); in testRewriteSchema_addType()
200 createPrefix("package", "newDatabase"), existingSchemaBuilder, newSchema); in testRewriteSchema_addType()
278 assertThat(existingSchemaBuilder.getTypesList()).containsExactlyElementsIn(existingTypes); in testRewriteSchema_addType()
287 SchemaProto.Builder existingSchemaBuilder = in testRewriteSchema_rewriteType() local
302 existingSchemaBuilder, in testRewriteSchema_rewriteType()
311 SchemaProto expectedSchema = existingSchemaBuilder.build(); in testRewriteSchema_rewriteType()
312 assertThat(existingSchemaBuilder.getTypesList()) in testRewriteSchema_rewriteType()
322 SchemaProto.Builder existingSchemaBuilder = in testRewriteSchema_deleteType() local
337 existingSchemaBuilder, in testRewriteSchema_deleteType()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java736 SchemaProto.Builder existingSchemaBuilder = getSchemaProtoLocked().toBuilder(); in doSetSchemaNoChangeNotificationLocked() local
750 rewriteSchema(prefix, existingSchemaBuilder, newSchemaBuilder.build()); in doSetSchemaNoChangeNotificationLocked()
760 SchemaProto finalSchema = existingSchemaBuilder.build(); in doSetSchemaNoChangeNotificationLocked()