Home
last modified time | relevance | path

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

/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java1587 SchemaProto existingSchema = getSchemaProtoLocked(); in prunePackageData() local
1589 for (int i = 0; i < existingSchema.getTypesCount(); i++) { in prunePackageData()
1590 String packageName = getPackageName(existingSchema.getTypes(i).getSchemaType()); in prunePackageData()
1592 newSchemaBuilder.addTypes(existingSchema.getTypes(i)); in prunePackageData()
1713 @NonNull SchemaProto.Builder existingSchema, in rewriteSchema() argument
1749 for (int i = 0; i < existingSchema.getTypesCount(); i++) { in rewriteSchema()
1750 String schemaType = existingSchema.getTypes(i).getSchemaType(); in rewriteSchema()
1754 existingSchema.setTypes(i, newProto); in rewriteSchema()
1757 existingSchema.removeTypes(i); in rewriteSchema()
1764 existingSchema.addAllTypes(newTypesToProto.values()); in rewriteSchema()