/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | SearchSuggestionSpec.java | 207 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 …]
|
D | SearchSpec.java | 427 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 …]
|
D | GetByDocumentIdRequest.java | 117 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()
|
D | SetSchemaRequest.java | 557 @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()
|
D | GetSchemaResponse.java | 335 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/ |
D | mkfiles | 1 ../../../../../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/ |
D | GenericDocumentToProtoConverter.java | 223 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()
|
D | SchemaToProtoConverter.java | 53 @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()
|
D | SearchSpecToProtoConverter.java | 697 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/ |
D | Android.bp | 28 // 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…
|
D | bundler.cc | 99 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()
|
D | bundler_schema.fbs | 3 // Describes a collection of binary flatbuffer schema.
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/ |
D | SetSchemaResponseInternalTest.java | 83 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/ |
D | downgrade_schema.json | 2 // 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/ |
D | RoomDatabaseMigrationDetector.md | 80 …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/ |
D | build.rs | 16 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/ |
D | dumpsys.cc | 99 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/ |
D | Android.bp | 34 …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/ |
D | SchemaMigrationUtil.java | 57 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/ |
D | FlavoredPoliciesBuilder.kt | 60 schema: DataTypeDescriptor, in <lambda>() 64 return basePolicyBuilder.target(schema, maxAge, block) in <lambda>()
|
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/ |
D | ConfigSchemaDetector.kt | 93 val schema = schemaFactory.newSchema(xsd) in testSchema() constant 94 val validator = schema.newValidator() in testSchema()
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/ |
D | Android.bp | 30 "adservices-cobalt-schema", 67 "adservices-cobalt-schema",
|
/packages/modules/AdServices/adservices/libraries/cobalt/ |
D | Android.bp | 86 // 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/ |
D | VisibilityStoreMigrationHelperFromV0.java | 240 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/ |
D | HealthConnectDatabaseUnitTest.java | 54 HealthConnectDatabaseSchema schema = new HealthConnectDatabaseSchema(SAMPLE_QUERY); in setup() local 55 mTableList = schema.getTableInfo(); in setup()
|