/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/ |
D | AppSearchSessionInternalTestBase.java | 28 import android.app.appsearch.AppSearchSchema.PropertyConfig; 98 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testGetSchema_joinableValueType() 102 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testGetSchema_joinableValueType() 109 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testGetSchema_joinableValueType() 138 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 149 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 156 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 167 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 174 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 185 .setCardinality(PropertyConfig.CARDINALITY_REPEATED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() [all …]
|
D | AppSearchSchemaInternalTest.java | 23 import android.app.appsearch.AppSearchSchema.PropertyConfig; 42 assertThat(builder.getCardinality()).isEqualTo(PropertyConfig.CARDINALITY_OPTIONAL); in testStringPropertyConfigDefaultValues_withDeletePropagationType() 56 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testPropertyConfig_withDeletePropagationType() 66 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testPropertyConfig_withDeletePropagationType() 76 List<PropertyConfig> properties = schema.getProperties(); in testPropertyConfig_withDeletePropagationType() 81 .isEqualTo(PropertyConfig.CARDINALITY_OPTIONAL); in testPropertyConfig_withDeletePropagationType() 89 .isEqualTo(PropertyConfig.CARDINALITY_REQUIRED); in testPropertyConfig_withDeletePropagationType() 103 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testSetDeletePropagationTypeWithoutJoinableValueTypeQualifiedId_throwsException() 122 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testAppSearchSchema_toString_withDeletePropagationType() 133 .setCardinality(PropertyConfig.CARDINALITY_OPTIONAL) in testAppSearchSchema_toString_withDeletePropagationType()
|
D | SetSchemaResponseInternalTest.java | 21 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/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/ |
D | Person.java | 91 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 …]
|
D | ContactPoint.java | 51 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/framework/java/external/android/app/appsearch/ |
D | AppSearchSchema.java | 117 AppSearchSchema.PropertyConfig[] sortedProperties = in appendAppSearchSchemaString() 118 getProperties().toArray(new AppSearchSchema.PropertyConfig[0]); in appendAppSearchSchemaString() 122 AppSearchSchema.PropertyConfig propertyConfig = sortedProperties[i]; in appendAppSearchSchemaString() 162 public @NonNull List<PropertyConfig> getProperties() { in getProperties() 166 List<PropertyConfig> ret = new ArrayList<>(mPropertyConfigParcels.size()); in getProperties() 168 ret.add(PropertyConfig.fromParcel(mPropertyConfigParcels.get(i))); in getProperties() 265 @NonNull PropertyConfig propertyConfig) { in addProperty() 394 public abstract static class PropertyConfig { class in AppSearchSchema 503 PropertyConfig(@NonNull PropertyConfigParcel propertyConfigParcel) { in PropertyConfig() method in AppSearchSchema.PropertyConfig 537 case AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED: in appendPropertyConfigString() [all …]
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/ |
D | SchemaToProtoConverterTest.java | 45 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() 83 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_DescriptionSet() 95 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_DescriptionSet() 199 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_Email() 210 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testGetProto_Email() 270 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testGetProto_MusicRecording() [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/appsearchtypes/ |
D | AppFunctionStaticMetadata.java | 75 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createAppFunctionSchemaForPackage() 85 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createAppFunctionSchemaForPackage() 95 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createAppFunctionSchemaForPackage() 105 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createAppFunctionSchemaForPackage() 111 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createAppFunctionSchemaForPackage() 122 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createAppFunctionSchemaForPackage() 127 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createAppFunctionSchemaForPackage() 132 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createAppFunctionSchemaForPackage() 137 .setCardinality(AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in createAppFunctionSchemaForPackage()
|
D | MobileApplication.java | 77 .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()
|
D | AppOpenEvent.java | 61 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 76 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 85 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | TestUtils.java | 52 .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/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | TestUtils.java | 79 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 97 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 115 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 134 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 150 + AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL 157 + AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL 164 + AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL 171 + AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL 177 + AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL 185 + AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL [all …]
|
D | AppFunctionSchemaParserTest.java | 28 import android.app.appsearch.AppSearchSchema.PropertyConfig; 116 + PropertyConfig.CARDINALITY_REQUIRED in parse_singleType_withAttributesForAdditionalProperties() 152 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in parse_singleType_withAttributesForAdditionalProperties()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/ |
D | AppSearchSessionInternalTest.java | 26 import android.app.appsearch.AppSearchSchema.PropertyConfig; 75 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 86 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 93 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 104 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 111 .setCardinality(PropertyConfig.CARDINALITY_REQUIRED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism() 122 .setCardinality(PropertyConfig.CARDINALITY_REPEATED) in testQuery_genericDocumentWrapsParentTypeForPolymorphism()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | AppFunctionDocumentParserImpl.java | 21 import android.app.appsearch.AppSearchSchema.PropertyConfig; 323 Map<String, PropertyConfig> qualifiedPropertyNamesToPropertyConfig = in parseAppFunctionsIntoMapForGivenSchemas() 385 @NonNull Map<String, PropertyConfig> qualifiedPropertyNamesToPropertyConfig, in buildGenericDocumentFromXmlElement() 408 PropertyConfig propertyConfig = in buildGenericDocumentFromXmlElement() 487 private static Map<String, PropertyConfig> buildQualifiedPropertyNameToPropertyConfigMap( in buildQualifiedPropertyNameToPropertyConfigMap() 491 Map<String, PropertyConfig> propertyMap = new ArrayMap<>(); in buildQualifiedPropertyNameToPropertyConfigMap() 497 List<AppSearchSchema.PropertyConfig> properties = schema.getProperties(); in buildQualifiedPropertyNameToPropertyConfigMap() 499 AppSearchSchema.PropertyConfig property = properties.get(i); in buildQualifiedPropertyNameToPropertyConfigMap() 563 @NonNull PropertyConfig propertyConfig, in addPrimitiveProperty() 570 case PropertyConfig.DATA_TYPE_BOOLEAN: in addPrimitiveProperty() [all …]
|
D | AppFunctionSchemaParser.java | 22 import android.app.appsearch.AppSearchSchema.PropertyConfig; 208 AppSearchSchema.PropertyConfig propertyConfig = in parseDocumentTypeAndCreateSchemas() 231 private PropertyConfig computePropertyConfigFromXsdType( in computePropertyConfigFromXsdType() 248 parser, XML_ATTRIBUTE_CARDINALITY, PropertyConfig.CARDINALITY_OPTIONAL); in computePropertyConfigFromXsdType()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/ |
D | PropertyConfigParcel.java | 21 import android.app.appsearch.AppSearchSchema.PropertyConfig.Cardinality; 22 import android.app.appsearch.AppSearchSchema.PropertyConfig.DataType; 53 @AppSearchSchema.PropertyConfig.DataType 57 @AppSearchSchema.PropertyConfig.Cardinality 123 AppSearchSchema.PropertyConfig.DATA_TYPE_STRING, in createForString() 144 AppSearchSchema.PropertyConfig.DATA_TYPE_LONG, in createForLong() 164 AppSearchSchema.PropertyConfig.DATA_TYPE_DOUBLE, in createForDouble() 184 AppSearchSchema.PropertyConfig.DATA_TYPE_BOOLEAN, in createForBoolean() 203 AppSearchSchema.PropertyConfig.DATA_TYPE_BYTES, in createForBytes() 224 AppSearchSchema.PropertyConfig.DATA_TYPE_DOCUMENT, in createForDocument() [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityDocumentV1.java | 66 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 71 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) 76 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) 81 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) 86 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED)
|
D | VisibilityToDocumentConverter.java | 121 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 127 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) 133 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) 140 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) 151 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 165 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) 171 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL)
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityStoreTest.java | 450 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema() 456 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema() 462 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testMigrateFromDeprecatedOverlaySchema() 471 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema() 476 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testMigrateFromDeprecatedOverlaySchema() 481 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testMigrateFromDeprecatedOverlaySchema() 488 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in testMigrateFromDeprecatedOverlaySchema() 494 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema() 500 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testMigrateFromDeprecatedOverlaySchema()
|
D | VisibilityStoreMigrationHelperFromV0Test.java | 213 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in buildAppSearchImplInV0() 220 AppSearchSchema.PropertyConfig.CARDINALITY_REPEATED) in buildAppSearchImplInV0() 229 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in buildAppSearchImplInV0() 235 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in buildAppSearchImplInV0() 241 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in buildAppSearchImplInV0()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
D | GenericDocumentToProtoConverter.java | 277 @AppSearchSchema.PropertyConfig.DataType int dataType = 0; in setEmptyProperty() 286 case AppSearchSchema.PropertyConfig.DATA_TYPE_STRING: in setEmptyProperty() 289 case AppSearchSchema.PropertyConfig.DATA_TYPE_LONG: in setEmptyProperty() 292 case AppSearchSchema.PropertyConfig.DATA_TYPE_DOUBLE: in setEmptyProperty() 295 case AppSearchSchema.PropertyConfig.DATA_TYPE_BOOLEAN: in setEmptyProperty() 298 case AppSearchSchema.PropertyConfig.DATA_TYPE_BYTES: in setEmptyProperty() 301 case AppSearchSchema.PropertyConfig.DATA_TYPE_DOCUMENT: in setEmptyProperty() 304 case AppSearchSchema.PropertyConfig.DATA_TYPE_EMBEDDING: in setEmptyProperty()
|
D | SchemaToProtoConverter.java | 61 List<AppSearchSchema.PropertyConfig> properties = schema.getProperties(); in toSchemaTypeConfigProto() 71 AppSearchSchema.@NonNull PropertyConfig property) { in toPropertyConfigProto() 79 @AppSearchSchema.PropertyConfig.DataType int dataType = property.getDataType(); in toPropertyConfigProto() 88 @AppSearchSchema.PropertyConfig.Cardinality int cardinality = property.getCardinality(); in toPropertyConfigProto() 193 AppSearchSchema.PropertyConfig propertyConfig = toPropertyConfig(properties.get(i)); in toAppSearchSchema() 203 private static AppSearchSchema.@NonNull PropertyConfig toPropertyConfig( in toPropertyConfig()
|
/packages/services/Car/tools/vehiclepropertyidsparser/src/com/android/car/tool/ |
D | VehiclePropertyIdsParser.java | 119 private static final class PropertyConfig { class in VehiclePropertyIdsParser 185 private static void setPermission(PropertyConfig config, Set<ACCESS_MODE> accessModes, in setPermission() 426 private void parseAndSetPermAnnotation(AnnotationExpr annotation, PropertyConfig config, in parseAndSetPermAnnotation() 443 private List<PropertyConfig> parse() { in parse() 444 List<PropertyConfig> propertyConfigs = new ArrayList<>(); in parse() 450 PropertyConfig propertyConfig = new PropertyConfig(); in parse() 653 List<PropertyConfig> propertyConfigs = new VehiclePropertyIdsParser(cu).parse(); in main() 661 PropertyConfig config = propertyConfigs.get(i); in main()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchLoggerTest.java | 635 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_putDocument_success() 689 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_putDocument_failure() 745 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_search_success() 881 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_search_join() 899 AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL) in testLoggingStats_search_join() 1199 AppSearchSchema.PropertyConfig.CARDINALITY_REQUIRED) in testLoggingStats_setSchema()
|