Home
last modified time | relevance | path

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

/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverter.java53 .setSchemaType(schema.getSchemaType()) in toSchemaTypeConfigProto()
103 builder.setSchemaType(documentProperty.getSchemaType()) in toPropertyConfigProto()
119 AppSearchSchema.Builder builder = new AppSearchSchema.Builder(proto.getSchemaType()); in toAppSearchSchema()
178 proto.getPropertyName(), proto.getSchemaType()) in toDocumentPropertyConfig()
DGenericDocumentToProtoConverter.java56 .setSchema(document.getSchemaType()) in toDocumentProto()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DAppSearchSchema.java89 builder.append("schemaType: \"").append(getSchemaType()).append("\",\n"); in appendAppSearchSchemaString()
114 public String getSchemaType() { in getSchemaType() method in AppSearchSchema
147 if (!getSchemaType().equals(otherSchema.getSchemaType())) { in equals()
155 return Objects.hash(getSchemaType(), getProperties()); in hashCode()
828 public String getSchemaType() { in getSchemaType() method in AppSearchSchema.DocumentPropertyConfig
919 builder.append("schemaType: \"").append(getSchemaType()).append("\",\n"); in appendDocumentPropertyConfigFields()
DSetSchemaResponse.java352 public String getSchemaType() { in getSchemaType() method in SetSchemaResponse.MigrationFailure
371 + getSchemaType() in toString()
DSetSchemaRequest.java422 referencedSchemas.remove(schema.getSchemaType()); in build()
DGenericDocument.java147 public String getSchemaType() { in getSchemaType() method in GenericDocument
896 builder.append("schemaType: \"").append(getSchemaType()).append("\",\n"); in appendGenericDocumentString()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DAppSearchMigrationHelper.java77 mDestinationTypes.add(newSchema.getSchemaType()); in AppSearchMigrationHelper()
204 if (!mDestinationTypes.contains(newDocument.getSchemaType())) { in readAndTransform()
212 + newDocument.getSchemaType() in readAndTransform()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java309 String prefixedSchemaType = schema.getSchemaType(); in AppSearchImpl()
521 String typePrefix = getPrefix(fullSchema.getTypes(i).getSchemaType()); in getSchema()
528 String newSchemaType = typeConfigBuilder.getSchemaType().substring(prefix.length()); in getSchema()
537 if (!propertyConfigBuilder.getSchemaType().isEmpty()) { in getSchema()
539 propertyConfigBuilder.getSchemaType().substring(prefix.length()); in getSchema()
778 String nonPrefixedType = typePropertyMask.getSchemaType(); in getDocument()
1590 String packageName = getPackageName(existingSchema.getTypes(i).getSchemaType()); in prunePackageData()
1723 String newSchemaType = prefix + typeConfigBuilder.getSchemaType(); in rewriteSchema()
1732 if (!propertyConfigBuilder.getSchemaType().isEmpty()) { in rewriteSchema()
1733 String newPropertySchemaType = prefix + propertyConfigBuilder.getSchemaType(); in rewriteSchema()
[all …]
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/util/
DSchemaMigrationUtil.java56 existingTypes.add(schema.getSchemaType()); in getActiveMigrators()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibilityStoreImpl.java108 if (schema.getSchemaType().equals(VisibilityDocument.SCHEMA_TYPE)) { in VisibilityStoreImpl()
110 } else if (schema.getSchemaType().equals(VisibleToPackagesDocument.SCHEMA_TYPE)) { in VisibilityStoreImpl()
/frameworks/base/apex/appsearch/framework/api/
Dcurrent.txt53 method @NonNull public String getSchemaType();
81 method @NonNull public String getSchemaType();
175 method @NonNull public String getSchemaType();
430 method @NonNull public String getSchemaType();
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java164 .getSchemaType()) in testRewriteSchema_addType()
170 .getSchemaType()) in testRewriteSchema_addType()
176 .getSchemaType()) in testRewriteSchema_addType()
1669 existingPackages.add(PrefixUtil.getPackageName(existingSchemas.get(i).getSchemaType())); in testPrunePackageData()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java927 document.getSchemaType(), in putDocumentsFromFile()