Home
last modified time | relevance | path

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

/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java2385 SchemaProto existingSchema = getSchemaProtoLocked(); in prunePackageData() local
2387 for (int i = 0; i < existingSchema.getTypesCount(); i++) { in prunePackageData()
2388 String packageName = getPackageName(existingSchema.getTypes(i).getSchemaType()); in prunePackageData()
2390 newSchemaBuilder.addTypes(existingSchema.getTypes(i)); in prunePackageData()
2517 @NonNull SchemaProto.Builder existingSchema, in rewriteSchema() argument
2561 for (int i = 0; i < existingSchema.getTypesCount(); i++) { in rewriteSchema()
2562 String schemaType = existingSchema.getTypes(i).getSchemaType(); in rewriteSchema()
2566 existingSchema.setTypes(i, newProto); in rewriteSchema()
2569 existingSchema.removeTypes(i); in rewriteSchema()
2576 existingSchema.addAllTypes(newTypesToProto.values()); in rewriteSchema()