Home
last modified time | relevance | path

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

/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DAppSearchSchema.java92 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 AppSearchSchema
289 PropertyConfig(@NonNull Bundle bundle) { in PropertyConfig() method in AppSearchSchema.PropertyConfig
321 case AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED: in appendPropertyConfigString()
[all …]
/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/external/
DAppSearchEmail.java22 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)
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java84 .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 …]
DAppSearchPerson.java51 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
57 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
63 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REQUIRED)
67 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REQUIRED)
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java190 @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()
DSchemaToProtoConverter.java55 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()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibleToPackagesDocument.java51 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
54 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
58 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
DVisibilityDocument.java45 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
49 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java38 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()
/frameworks/base/apex/appsearch/framework/api/
Dcurrent.txt52 …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 {
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java480 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()
DAppSearchImplTest.java1384 AppSearchSchema.PropertyConfig.CARDINALITY_REQUIRED) in testSetSchema_incompatible()