Home
last modified time | relevance | path

Searched refs:schema (Results 1 – 25 of 72) sorted by relevance

123

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSearchSuggestionSpec.java207 for (String schema : schemas) { in getFilterProperties()
209 schema, Objects.requireNonNull(mFilterProperties.getStringArrayList(schema))); in getFilterProperties()
362 @NonNull String schema, @NonNull Collection<String> propertyPaths) { in addFilterProperties()
363 Objects.requireNonNull(schema); in addFilterProperties()
371 mTypePropertyFilters.putStringArrayList(schema, propertyPathsArrayList); in addFilterProperties()
396 @NonNull String schema, @NonNull Collection<PropertyPath> propertyPaths) { in addFilterPropertyPaths()
397 Objects.requireNonNull(schema); in addFilterPropertyPaths()
403 return addFilterProperties(schema, propertyPathsArrayList); in addFilterPropertyPaths()
448 for (String schema : mTypePropertyFilters.keySet()) { in build()
449 if (!schemaFilter.contains(schema)) { in build()
[all …]
DSearchSpec.java427 for (String schema : schemas) { in getFilterProperties()
429 schema, in getFilterProperties()
430 Objects.requireNonNull(mTypePropertyFilters.getStringArrayList(schema))); in getFilterProperties()
511 for (String schema : schemas) { in getProjections()
513 schema, in getProjections()
515 mProjectionTypePropertyMasks.getStringArrayList(schema))); in getProjections()
534 for (String schema : schemas) { in getProjectionPaths()
536 mProjectionTypePropertyMasks.getStringArrayList(schema); in getProjectionPaths()
543 typePropertyPathsMap.put(schema, copy); in getProjectionPaths()
882 @NonNull String schema, @NonNull Collection<String> propertyPaths) { in addFilterProperties()
[all …]
DGetByDocumentIdRequest.java117 for (String schema : schemas) { in getProjections()
118 List<String> propertyPaths = mTypePropertyPaths.getStringArrayList(schema); in getProjections()
120 typePropertyPathsMap.put(schema, Collections.unmodifiableList(propertyPaths)); in getProjections()
138 for (String schema : schemas) { in getProjectionPaths()
139 List<String> paths = mTypePropertyPaths.getStringArrayList(schema); in getProjectionPaths()
146 typePropertyPathsMap.put(schema, Collections.unmodifiableList(propertyPathList)); in getProjectionPaths()
DSetSchemaRequest.java557 @NonNull String schema, @Nullable PackageIdentifier packageIdentifier) { in setPubliclyVisibleSchema()
558 Objects.requireNonNull(schema); in setPubliclyVisibleSchema()
563 mPubliclyVisibleSchemas.remove(schema); in setPubliclyVisibleSchema()
567 mPubliclyVisibleSchemas.put(schema, packageIdentifier); in setPubliclyVisibleSchema()
754 for (AppSearchSchema schema : mSchemas) { in build()
755 referencedSchemas.remove(schema.getSchemaType()); in build()
DGetSchemaResponse.java335 public Builder addSchema(@NonNull AppSearchSchema schema) { in addSchema() argument
336 Objects.requireNonNull(schema); in addSchema()
338 mSchemas.add(schema); in addSchema()
/packages/modules/Bluetooth/system/gd/dumpsys/internal/test_data/
Dmkfiles1 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp string.fbs
3 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp integer.fbs
5 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp float.fbs
7 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp struct.fbs
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java223 SchemaTypeConfigProto schema = in toGenericDocument() local
225 setEmptyProperty(name, documentBuilder, schema); in toGenericDocument()
307 SchemaTypeConfigProto schema = in collectParentTypeInDegrees() local
309 for (int i = 0; i < schema.getParentTypesCount(); ++i) { in collectParentTypeInDegrees()
310 String prefixedParentType = schema.getParentTypes(i); in collectParentTypeInDegrees()
323 @NonNull SchemaTypeConfigProto schema) { in setEmptyProperty() argument
325 for (int i = 0; i < schema.getPropertiesCount(); ++i) { in setEmptyProperty()
326 if (propertyName.equals(schema.getProperties(i).getPropertyName())) { in setEmptyProperty()
327 dataType = schema.getProperties(i).getDataType().getNumber(); in setEmptyProperty()
DSchemaToProtoConverter.java53 @NonNull AppSearchSchema schema, int version) { in toSchemaTypeConfigProto()
54 Objects.requireNonNull(schema); in toSchemaTypeConfigProto()
57 .setSchemaType(schema.getSchemaType()) in toSchemaTypeConfigProto()
58 .setDescription(schema.getDescription()) in toSchemaTypeConfigProto()
60 List<AppSearchSchema.PropertyConfig> properties = schema.getProperties(); in toSchemaTypeConfigProto()
65 protoBuilder.addAllParentTypes(schema.getParentTypes()); in toSchemaTypeConfigProto()
DSearchSpecToProtoConverter.java697 String schema; in getSchemaToPrefixedSchemas() local
699 schema = removePrefix(prefixedSchema); in getSchemaToPrefixedSchemas()
705 List<String> groupedPrefixedSchemas = schemaToPrefixedSchemas.get(schema); in getSchemaToPrefixedSchemas()
708 schemaToPrefixedSchemas.put(schema, groupedPrefixedSchemas); in getSchemaToPrefixedSchemas()
735 String schema; in getPackageAndSchemaToPrefixedSchemas() local
737 schema = removePrefix(prefixedSchema); in getPackageAndSchemaToPrefixedSchemas()
743 String emptyDatabasePrefixedSchema = emptyDatabasePrefix + schema; in getPackageAndSchemaToPrefixedSchemas()
/packages/modules/Bluetooth/system/gd/dumpsys/bundler/
DAndroid.bp28 // Flatbuffer bundler schema that wraps the bundled binary module schema
43 …cmd: "$(location flatc) -I packages/modules/Bluetooth/system/gd -b --schema -o $(genDir) --cpp $(i…
Dbundler.cc99 const reflection::Schema* schema = reflection::GetSchema(raw_schema.data()); in CreateBinarySchemaBundle() local
100 if (schema->root_table() == nullptr) { in CreateBinarySchemaBundle()
105 bundled_names->push_back(schema->root_table()->name()->str()); in CreateBinarySchemaBundle()
106 auto name = builder->CreateString(schema->root_table()->name()->str()); in CreateBinarySchemaBundle()
111 fprintf(stdout, "Bundled binary schema file:%s\n", schema->root_table()->name()->c_str()); in CreateBinarySchemaBundle()
Dbundler_schema.fbs3 // Describes a collection of binary flatbuffer schema.
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DSetSchemaResponseInternalTest.java83 AppSearchSchema schema = in testPropertyConfig_deletionPropagation() local
94 assertThat(schema.getSchemaType()).isEqualTo("Test"); in testPropertyConfig_deletionPropagation()
95 List<PropertyConfig> properties = schema.getProperties(); in testPropertyConfig_deletionPropagation()
/packages/apps/Launcher3/res/raw/
Ddowngrade_schema.json2 // Note: Comments are not supported in JSON schema, but android parser is lenient.
4 // Maximum DB version supported by this schema
/packages/modules/AdServices/adservices/linter/documentation/
DRoomDatabaseMigrationDetector.md80 …inst adservices-service-core package. It is not possible to validate the schema json file(The file…
83 ## Enforce Test existence, schema is present, and migration is legit
100 ### Extracting json schema and validate schema change is legit
117 Extract json schema files from the Unit Test package of git_udc-mainline-prod and latest M-train bu…
125 ### Track test existence and schema is present
/packages/modules/Bluetooth/system/rust/
Dbuild.rs16 let schema = pdl_compiler::backends::intermediate::generate(&file).unwrap(); in main() localVariable
18 let generated = pdl_compiler::backends::rust_no_allocation::generate(&file, &schema).unwrap(); in main()
/packages/modules/Bluetooth/system/gd/shim/
Ddumpsys.cc99 const reflection::Schema* schema = reflection_schema_.FindInReflectionSchema(root_name); in PrintAsJson() local
100 if (schema == nullptr) { in PrintAsJson()
110 if (!parser.Deserialize(schema)) { in PrintAsJson()
/packages/modules/Bluetooth/system/gd/dumpsys/
DAndroid.bp34 …cmd: "$(location flatc) -I packages/modules/Bluetooth/system/gd -b --schema -o $(genDir) --cpp $(i…
57 …cmd: "$(location flatc) -I packages/modules/Bluetooth/system/gd -b --schema -o $(genDir) --cpp $(i…
124 …cmd: "$(location flatc) -I packages/modules/Bluetooth/system/gd -b --schema -o $(genDir) --cpp $(i…
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/util/
DSchemaMigrationUtil.java57 for (AppSearchSchema schema : existingSchemas) { in getActiveMigrators()
58 existingTypes.add(schema.getSchemaType()); in getActiveMigrators()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DFlavoredPoliciesBuilder.kt60 schema: DataTypeDescriptor, in <lambda>()
64 return basePolicyBuilder.target(schema, maxAge, block) in <lambda>()
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/
DConfigSchemaDetector.kt93 val schema = schemaFactory.newSchema(xsd) in testSchema() constant
94 val validator = schema.newValidator() in testSchema()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/
DAndroid.bp30 "adservices-cobalt-schema",
67 "adservices-cobalt-schema",
/packages/modules/AdServices/adservices/libraries/cobalt/
DAndroid.bp86 // Schemas needs to be bundled via this android_library since Cobalt unit tests for schema
89 name: "adservices-cobalt-schema",
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationHelperFromV0.java240 for (AppSearchSchema schema : getSchemaResponse.getSchemas()) { in hasDeprecatedType()
241 if (VisibilityStoreMigrationHelperFromV0.isDeprecatedType(schema.getSchemaType())) { in hasDeprecatedType()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/
DHealthConnectDatabaseUnitTest.java54 HealthConnectDatabaseSchema schema = new HealthConnectDatabaseSchema(SAMPLE_QUERY); in setup() local
55 mTableList = schema.getTableInfo(); in setup()

123