Home
last modified time | relevance | path

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

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchSchema.java117 AppSearchSchema.PropertyConfig[] sortedProperties = in appendAppSearchSchemaString()
118 getProperties().toArray(new AppSearchSchema.PropertyConfig[0]); in appendAppSearchSchemaString()
122 AppSearchSchema.PropertyConfig propertyConfig = sortedProperties[i]; in appendAppSearchSchemaString()
165 public List<PropertyConfig> getProperties() { in getProperties()
169 List<PropertyConfig> ret = new ArrayList<>(mPropertyConfigParcels.size()); in getProperties()
171 ret.add(PropertyConfig.fromParcel(mPropertyConfigParcels.get(i))); in getProperties()
248 public AppSearchSchema.Builder addProperty(@NonNull PropertyConfig propertyConfig) { in addProperty()
354 public abstract static class PropertyConfig { class in AppSearchSchema
455 PropertyConfig(@NonNull PropertyConfigParcel propertyConfigParcel) { in PropertyConfig() method in AppSearchSchema.PropertyConfig
490 case AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED: in appendPropertyConfigString()
[all …]
DVisibilityPermissionConfig.java63 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchSessionInternalTestBase.java27 import android.app.appsearch.AppSearchSchema.PropertyConfig;
85 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testGetSchema_joinableValueType()
89 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testGetSchema_joinableValueType()
96 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testGetSchema_joinableValueType()
121 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_typeFilterWithPolymorphism()
132 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_typeFilterWithPolymorphism()
217 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_projectionWithPolymorphism()
224 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_projectionWithPolymorphism()
235 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_projectionWithPolymorphism()
242 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_projectionWithPolymorphism()
[all …]
DSetSchemaResponseInternalTest.java21 import android.app.appsearch.AppSearchSchema.PropertyConfig;
87 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPropertyConfig_deletionPropagation()
95 List<PropertyConfig> properties = schema.getProperties(); in testPropertyConfig_deletionPropagation()
100 .isEqualTo(PropertyConfig.CARDINALITY_OPTIONAL); in testPropertyConfig_deletionPropagation()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionInternalTest.java25 import android.app.appsearch.AppSearchSchema.PropertyConfig;
73 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_typeFilterWithPolymorphism()
84 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_typeFilterWithPolymorphism()
171 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_projectionWithPolymorphism()
178 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_projectionWithPolymorphism()
189 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_projectionWithPolymorphism()
196 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_projectionWithPolymorphism()
203 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testQuery_projectionWithPolymorphism()
277 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_indexBasedOnParentTypePolymorphism()
288 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_indexBasedOnParentTypePolymorphism()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPerson.java91 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createSchema()
107 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createSchema()
120 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createSchema()
133 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createSchema()
148 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createSchema()
155 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createSchema()
162 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createSchema()
171 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createSchema()
177 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in createSchema()
183 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in createSchema()
[all …]
DContactPoint.java51 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
64 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
71 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
84 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
97 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java45 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_DescriptionSet()
57 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_DescriptionSet()
64 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_DescriptionSet()
71 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_DescriptionSet()
77 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testGetProto_DescriptionSet()
86 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_DescriptionSet()
167 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_Email()
178 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_Email()
238 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testGetProto_MusicRecording()
249 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_MusicRecording()
[all …]
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DTestUtils.java52 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
62 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
67 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
76 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
85 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
98 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
107 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
112 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
121 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
130 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/appsearchtypes/
DMobileApplication.java77 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createMobileApplicationSchemaForPackage()
86 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createMobileApplicationSchemaForPackage()
95 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in createMobileApplicationSchemaForPackage()
103 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createMobileApplicationSchemaForPackage()
108 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createMobileApplicationSchemaForPackage()
115 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createMobileApplicationSchemaForPackage()
119 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createMobileApplicationSchemaForPackage()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DPropertyConfigParcel.java22 import android.app.appsearch.AppSearchSchema.PropertyConfig.Cardinality;
23 import android.app.appsearch.AppSearchSchema.PropertyConfig.DataType;
51 @AppSearchSchema.PropertyConfig.DataType
55 @AppSearchSchema.PropertyConfig.Cardinality
122 AppSearchSchema.PropertyConfig.DATA_TYPE_STRING, in createForString()
142 AppSearchSchema.PropertyConfig.DATA_TYPE_LONG, in createForLong()
161 AppSearchSchema.PropertyConfig.DATA_TYPE_DOUBLE, in createForDouble()
180 AppSearchSchema.PropertyConfig.DATA_TYPE_BOOLEAN, in createForBoolean()
199 AppSearchSchema.PropertyConfig.DATA_TYPE_BYTES, in createForBytes()
220 AppSearchSchema.PropertyConfig.DATA_TYPE_DOCUMENT, in createForDocument()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityDocumentV1.java65 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
70 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
75 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
80 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
85 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
DVisibilityToDocumentConverter.java120 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
126 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
132 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
139 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
150 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
164 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
170 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreTest.java444 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema()
450 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema()
456 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testMigrateFromDeprecatedOverlaySchema()
465 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema()
470 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testMigrateFromDeprecatedOverlaySchema()
475 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testMigrateFromDeprecatedOverlaySchema()
482 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testMigrateFromDeprecatedOverlaySchema()
488 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema()
494 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema()
DVisibilityStoreMigrationHelperFromV0Test.java207 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in buildAppSearchImplInV0()
214 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in buildAppSearchImplInV0()
223 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in buildAppSearchImplInV0()
229 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in buildAppSearchImplInV0()
235 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in buildAppSearchImplInV0()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java324 @AppSearchSchema.PropertyConfig.DataType int dataType = 0; in setEmptyProperty()
333 case AppSearchSchema.PropertyConfig.DATA_TYPE_STRING: in setEmptyProperty()
336 case AppSearchSchema.PropertyConfig.DATA_TYPE_LONG: in setEmptyProperty()
339 case AppSearchSchema.PropertyConfig.DATA_TYPE_DOUBLE: in setEmptyProperty()
342 case AppSearchSchema.PropertyConfig.DATA_TYPE_BOOLEAN: in setEmptyProperty()
345 case AppSearchSchema.PropertyConfig.DATA_TYPE_BYTES: in setEmptyProperty()
348 case AppSearchSchema.PropertyConfig.DATA_TYPE_DOCUMENT: in setEmptyProperty()
351 case AppSearchSchema.PropertyConfig.DATA_TYPE_EMBEDDING: in setEmptyProperty()
DSchemaToProtoConverter.java60 List<AppSearchSchema.PropertyConfig> properties = schema.getProperties(); in toSchemaTypeConfigProto()
71 @NonNull AppSearchSchema.PropertyConfig property) { in toPropertyConfigProto()
79 @AppSearchSchema.PropertyConfig.DataType int dataType = property.getDataType(); in toPropertyConfigProto()
88 @AppSearchSchema.PropertyConfig.Cardinality int cardinality = property.getCardinality(); in toPropertyConfigProto()
177 AppSearchSchema.PropertyConfig propertyConfig = toPropertyConfig(properties.get(i)); in toAppSearchSchema()
188 private static AppSearchSchema.PropertyConfig toPropertyConfig( in toPropertyConfig()
/packages/services/Car/tools/vehiclepropertyidsparser/src/com/android/car/tool/
DVehiclePropertyIdsParser.java97 private static final class PropertyConfig { class in VehiclePropertyIdsParser
162 private static void setPermission(PropertyConfig config, ACCESS_MODE accessMode, in setPermission()
395 private void parseAndSetPermAnnotation(AnnotationExpr annotation, PropertyConfig config, in parseAndSetPermAnnotation()
412 private List<PropertyConfig> parse() { in parse()
413 List<PropertyConfig> propertyConfigs = new ArrayList<>(); in parse()
420 PropertyConfig propertyConfig = new PropertyConfig(); in parse()
559 List<PropertyConfig> propertyConfigs = new VehiclePropertyIdsParser(cu).parse(); in main()
567 PropertyConfig config = propertyConfigs.get(i); in main()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DTestUtils.java72 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
87 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java542 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_putDocument_success()
595 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_putDocument_failure()
650 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_search_success()
785 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_search_join()
803 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_search_join()
1101 AppSearchSchema.PropertyConfig.CARDINALITY_REQUIRED) in testLoggingStats_setSchema()
DAppSearchImplTest.java2283 AppSearchSchema.PropertyConfig.CARDINALITY_REQUIRED) in testSetSchema_incompatible()
6174 AppSearchSchema.PropertyConfig in testAddObserver_schemaChange_contents()
6205 AppSearchSchema.PropertyConfig in testAddObserver_schemaChange_contents()
6235 AppSearchSchema.PropertyConfig in testAddObserver_schemaChange_contents()
6269 AppSearchSchema.PropertyConfig in testAddObserver_schemaChange_contents_skipBySpec()
6278 AppSearchSchema.PropertyConfig in testAddObserver_schemaChange_contents_skipBySpec()
6308 AppSearchSchema.PropertyConfig in testAddObserver_schemaChange_contents_skipBySpec()
6317 AppSearchSchema.PropertyConfig in testAddObserver_schemaChange_contents_skipBySpec()
6471 AppSearchSchema.PropertyConfig in testAddObserver_schemaChange_visibilityOnly()
6505 AppSearchSchema.PropertyConfig in testAddObserver_schemaChange_visibilityOnly()
[all …]
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java56 import android.app.appsearch.AppSearchSchema.PropertyConfig;
406 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPutDocumentsStatsLogging_takenActions()
410 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPutDocumentsStatsLogging_takenActions()
414 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPutDocumentsStatsLogging_takenActions()
420 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPutDocumentsStatsLogging_takenActions()
424 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPutDocumentsStatsLogging_takenActions()
428 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPutDocumentsStatsLogging_takenActions()
432 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPutDocumentsStatsLogging_takenActions()
436 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPutDocumentsStatsLogging_takenActions()
/packages/modules/AppSearch/framework/api/
Dcurrent.txt60 …method @NonNull public java.util.List<android.app.appsearch.AppSearchSchema.PropertyConfig> getPro…
66 …ppSearchSchema.BooleanPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {
79 …AppSearchSchema.Builder addProperty(@NonNull android.app.appsearch.AppSearchSchema.PropertyConfig);
84 … AppSearchSchema.BytesPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {
94 …pSearchSchema.DocumentPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {
112 …AppSearchSchema.DoublePropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {
122 …SearchSchema.EmbeddingPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {
136 …s AppSearchSchema.LongPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {
150 public abstract static class AppSearchSchema.PropertyConfig {
159 …AppSearchSchema.StringPropertyConfig extends android.app.appsearch.AppSearchSchema.PropertyConfig {