Home
last modified time | relevance | path

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

/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DAppSearchSchema.java92 AppSearchSchema.PropertyConfig[] sortedProperties = in appendAppSearchSchemaString() local
94 Arrays.sort(sortedProperties, (o1, o2) -> o1.getName().compareTo(o2.getName())); in appendAppSearchSchemaString()
96 for (int i = 0; i < sortedProperties.length; i++) { in appendAppSearchSchemaString()
97 AppSearchSchema.PropertyConfig propertyConfig = sortedProperties[i]; in appendAppSearchSchemaString()
100 if (i != sortedProperties.length - 1) { in appendAppSearchSchemaString()
DGenericDocument.java904 String[] sortedProperties = getPropertyNames().toArray(new String[0]); in appendGenericDocumentString() local
905 Arrays.sort(sortedProperties); in appendGenericDocumentString()
907 for (int i = 0; i < sortedProperties.length; i++) { in appendGenericDocumentString()
908 Object property = getProperty(sortedProperties[i]); in appendGenericDocumentString()
910 appendPropertyString(sortedProperties[i], property, builder); in appendGenericDocumentString()
911 if (i != sortedProperties.length - 1) { in appendGenericDocumentString()