Searched refs:PropertyConfig (Results 1 – 12 of 12) sorted by relevance
92 AppSearchSchema.PropertyConfig[] sortedProperties = in appendAppSearchSchemaString()93 getProperties().toArray(new AppSearchSchema.PropertyConfig[0]); in appendAppSearchSchemaString()97 AppSearchSchema.PropertyConfig propertyConfig = sortedProperties[i]; in appendAppSearchSchemaString()125 public List<PropertyConfig> getProperties() { in getProperties()131 List<PropertyConfig> ret = new ArrayList<>(propertyBundles.size()); in getProperties()133 ret.add(PropertyConfig.fromBundle(propertyBundles.get(i))); in getProperties()173 public AppSearchSchema.Builder addProperty(@NonNull PropertyConfig propertyConfig) { in addProperty()208 public abstract static class PropertyConfig { class in AppSearchSchema289 PropertyConfig(@NonNull Bundle bundle) { in PropertyConfig() method in AppSearchSchema.PropertyConfig321 case AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED: in appendPropertyConfigString()[all …]
22 import android.app.appsearch.AppSearchSchema.PropertyConfig;46 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL)52 .setCardinality(PropertyConfig.CARDINALITY_REPEATED)58 .setCardinality(PropertyConfig.CARDINALITY_REPEATED)64 .setCardinality(PropertyConfig.CARDINALITY_REPEATED)70 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL)76 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL)
84 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)90 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)96 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)100 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)106 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)112 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)116 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)122 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)129 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)134 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)[all …]
51 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)57 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)63 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REQUIRED)67 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REQUIRED)
190 @AppSearchSchema.PropertyConfig.DataType int dataType = 0; in setEmptyProperty()199 case AppSearchSchema.PropertyConfig.DATA_TYPE_STRING: in setEmptyProperty()202 case AppSearchSchema.PropertyConfig.DATA_TYPE_LONG: in setEmptyProperty()205 case AppSearchSchema.PropertyConfig.DATA_TYPE_DOUBLE: in setEmptyProperty()208 case AppSearchSchema.PropertyConfig.DATA_TYPE_BOOLEAN: in setEmptyProperty()211 case AppSearchSchema.PropertyConfig.DATA_TYPE_BYTES: in setEmptyProperty()214 case AppSearchSchema.PropertyConfig.DATA_TYPE_DOCUMENT: in setEmptyProperty()
55 List<AppSearchSchema.PropertyConfig> properties = schema.getProperties(); in toSchemaTypeConfigProto()65 @NonNull AppSearchSchema.PropertyConfig property) { in toPropertyConfigProto()71 @AppSearchSchema.PropertyConfig.DataType int dataType = property.getDataType(); in toPropertyConfigProto()80 @AppSearchSchema.PropertyConfig.Cardinality int cardinality = property.getCardinality(); in toPropertyConfigProto()122 AppSearchSchema.PropertyConfig propertyConfig = toPropertyConfig(properties.get(i)); in toAppSearchSchema()129 private static AppSearchSchema.PropertyConfig toPropertyConfig( in toPropertyConfig()
51 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)54 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)58 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
45 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)49 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
38 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_Email()49 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_Email()104 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testGetProto_MusicRecording()115 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_MusicRecording()
52 …method @NonNull public java.util.List<android.app.appsearch.AppSearchSchema.PropertyConfig> getPro…56 …ppSearchSchema.BooleanPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {67 …AppSearchSchema.Builder addProperty(@NonNull android.app.appsearch.AppSearchSchema.PropertyConfig);71 … AppSearchSchema.BytesPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {80 …pSearchSchema.DocumentPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {92 …AppSearchSchema.DoublePropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {101 …s AppSearchSchema.LongPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {110 public abstract static class AppSearchSchema.PropertyConfig {118 …AppSearchSchema.StringPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {
480 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_putDocument_success()527 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_putDocument_failure()577 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_search_success()
1384 AppSearchSchema.PropertyConfig.CARDINALITY_REQUIRED) in testSetSchema_incompatible()