Home
last modified time | relevance | path

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

/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DPersonBuilderHelper.java255 String[] sortedProperties = doc.getPropertyNames().toArray(new String[0]); in appendGenericDocumentString() local
256 Arrays.sort(sortedProperties); in appendGenericDocumentString()
257 for (int i = 0; i < sortedProperties.length; i++) { in appendGenericDocumentString()
258 Object property = Objects.requireNonNull(doc.getProperty(sortedProperties[i])); in appendGenericDocumentString()
259 appendPropertyString(sortedProperties[i], property, builder); in appendGenericDocumentString()
260 if (i != sortedProperties.length - 1) { in appendGenericDocumentString()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DGenericDocument.java967 String[] sortedProperties = getPropertyNames().toArray(new String[0]); in appendGenericDocumentString() local
968 Arrays.sort(sortedProperties); in appendGenericDocumentString()
970 for (int i = 0; i < sortedProperties.length; i++) { in appendGenericDocumentString()
971 Object property = Objects.requireNonNull(getProperty(sortedProperties[i])); in appendGenericDocumentString()
973 appendPropertyString(sortedProperties[i], property, builder); in appendGenericDocumentString()
974 if (i != sortedProperties.length - 1) { in appendGenericDocumentString()
DAppSearchSchema.java117 AppSearchSchema.PropertyConfig[] sortedProperties = in appendAppSearchSchemaString() local
119 Arrays.sort(sortedProperties, (o1, o2) -> o1.getName().compareTo(o2.getName())); in appendAppSearchSchemaString()
121 for (int i = 0; i < sortedProperties.length; i++) { in appendAppSearchSchemaString()
122 AppSearchSchema.PropertyConfig propertyConfig = sortedProperties[i]; in appendAppSearchSchemaString()
125 if (i != sortedProperties.length - 1) { in appendAppSearchSchemaString()