/aosp12/build/soong/xml/ |
H A D | xml.go | 41 Command: `$XmlLintCmd --schema $xsd $in > /dev/null && touch -a $out`, 83 schema := android.PathForModuleSrc(ctx, proptools.String(p.properties.Schema)) 85 switch schema.Ext() { 92 Implicit: schema, 94 "dtd": schema.String(), 104 Implicit: schema, 106 "xsd": schema.String(), 111 ctx.PropertyErrorf("schema", "not supported extension: %q", schema.Ext())
|
H A D | xml_test.go | 53 schema: "foo.dtd", 58 schema: "bar.xsd", 67 rule, input, schemaType, schema string 69 {rule: "xmllint-dtd", input: "foo.xml", schemaType: "dtd", schema: "foo.dtd"}, 70 {rule: "xmllint-xsd", input: "bar.xml", schemaType: "xsd", schema: "bar.xsd"}, 77 android.AssertStringEquals(t, "schema", tc.schema, rule.Args[tc.schemaType])
|
/aosp12/system/tools/xsdc/src/com/android/xsdc/ |
H A D | XmlSchema.java | 69 public void include(XmlSchema schema) { in include() argument 70 elementMap.putAll(schema.getElementMap()); in include() 71 typeMap.putAll(schema.getTypeMap()); in include() 72 attributeMap.putAll(schema.getAttributeMap()); in include() 73 attributeGroupMap.putAll(schema.getAttributeGroupMap()); in include() 74 groupMap.putAll(schema.getGroupMap()); in include()
|
/aosp12/system/bt/gd/dumpsys/ |
H A D | filter.cc | 73 virtual void FilterTable(const reflection::Schema* schema, flatbuffers::Table* table){}; in FilterTable() argument 92 void FilterTable(const reflection::Schema* schema, flatbuffers::Table* table) override; 135 void UserPrivacyFilter::FilterTable(const reflection::Schema* schema, flatbuffers::Table* table) { in FilterTable() argument 136 if (schema == nullptr) { in FilterTable() 141 const reflection::Object* object = schema->root_table(); in FilterTable() 162 reflection_schema_.FindInReflectionSchema(schema->objects()->Get(index)->name()->str()); in FilterTable() 168 const flatbuffers::String* name = schema->objects()->Get(index)->name(); in FilterTable() 169 … const reflection::Object* sub_object = internal::FindReflectionObject(schema->objects(), name); in FilterTable()
|
H A D | Android.bp | 34 cmd: "$(location flatc) -I system/bt/gd -b --schema -o $(genDir) --cpp $(in) ", 56 cmd: "$(location flatc) -I system/bt/gd -b --schema -o $(genDir) --cpp $(in) ", 120 cmd: "$(location flatc) -I system/bt/gd -b --schema -o $(genDir) --cpp $(in) ",
|
/aosp12/frameworks/base/services/core/xsd/ |
H A D | Android.bp | 13 api_dir: "schema", 20 api_dir: "platform-compat/config/schema", 27 api_dir: "platform-compat/overrides/schema", 35 api_dir: "display-device-config/schema", 42 api_dir: "display-layout-config/schema", 50 api_dir: "device-state-config/schema",
|
/aosp12/hardware/interfaces/compatibility_matrices/build/ |
H A D | vintf_compatibility_matrix.go | 44 Command: `$XmlLintCmd --quiet --schema $xsd $in > /dev/null && touch -a $out`, 102 …e) generateValidateBuildAction(ctx android.ModuleContext, path android.Path, schema android.Path) { 109 Implicit: schema, 111 "xsd": schema.String(), 140 schema := g.getSchema(ctx) 141 if !schema.Valid() { 147 g.generateValidateBuildAction(ctx, srcPath, schema.Path()) 172 g.generateValidateBuildAction(ctx, g.genFile, schema.Path())
|
/aosp12/system/bt/gd/dumpsys/internal/test_data/ |
H A 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
|
/aosp12/system/media/camera/docs/ |
H A D | metadata-validate | 28 schema=$thisdir/metadata_definitions.xsd 31 xmllint --noout --schema $schema $doc || exit 1
|
/aosp12/hardware/interfaces/audio/7.0/config/ |
H A D | update_audio_policy_config.sh | 68 echo Validating the source against the $OLD_VERSION schema 71 …--schema ${ANDROID_BUILD_TOP}/${HAL_DIRECTORY}/${OLD_VERSION}/config/audio_policy_configuration.xs… 152 echo Validating the result against the $NEW_VERSION schema 155 …--schema ${ANDROID_BUILD_TOP}/${HAL_DIRECTORY}/${NEW_VERSION}/config/audio_policy_configuration.xs…
|
/aosp12/system/extras/libjsonpb/ |
H A D | README.md | 17 - If the Protobuf schema uses 64-bit integers (`(s|fixed|u|)int64`): 24 - If the Protobuf schema uses special floating point values: 56 - Whether there are fields unknown to the schema. All fields in the JSON file 57 must be well defined in the schema. 76 ## Defining a JSON schema using Protobuf 79 before defining a Protobuf object as a JSON schema. In general: 83 - JSON numbers should be `(s|fixed|u|)int32`, `float`, or `double` in the schema 94 - Don't use `Any`; it defeats the purpose of having the schema.
|
/aosp12/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/ |
H A D | GetSchemaResponse.java | 94 public Builder addSchema(@NonNull AppSearchSchema schema) { in addSchema() argument 95 Objects.requireNonNull(schema); in addSchema() 97 mSchemaBundles.add(schema.getBundle()); in addSchema()
|
H A D | SearchSpec.java | 288 for (String schema : schemas) { in getProjections() 289 typePropertyPathsMap.put(schema, typePropertyPathsBundle.getStringArrayList(schema)); in getProjections() 603 @NonNull String schema, @NonNull Collection<String> propertyPaths) { in addProjection() 604 Objects.requireNonNull(schema); in addProjection() 612 mProjectionTypePropertyMasks.putStringArrayList(schema, propertyPathsArrayList); in addProjection()
|
/aosp12/hardware/interfaces/audio/policy/1.0/vts/functional/ |
H A D | ValidateEngineConfiguration.cpp | 29 static const std::string schema = variable 47 schema.c_str()); in TEST() 58 schema.c_str()) && in deviceUsesConfigurableEngine()
|
/aosp12/system/tools/xsdc/tests/resources/ |
H A D | unsupported_attribute.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" 5 </xs:schema>
|
H A D | unsupported_tag.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" 5 </xs:schema>
|
/aosp12/packages/apps/Launcher3/res/raw/ |
H A 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
|
/aosp12/system/tools/xsdc/tests/resources/group/ |
H A D | address.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="attr_group_simple" elementF… 8 </xs:schema>
|
H A D | group.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="attr_group_simple" elementF… 13 </xs:schema>
|
/aosp12/system/tools/xsdc/tests/resources/reference/ |
H A D | reference.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="reference" 12 </xs:schema>
|
/aosp12/system/bt/gd/dumpsys/bundler/ |
H A D | bundler.cc | 98 const reflection::Schema* schema = reflection::GetSchema(raw_schema.data()); in CreateBinarySchemaBundle() local 99 if (schema->root_table() == nullptr) { in CreateBinarySchemaBundle() 104 bundled_names->push_back(schema->root_table()->name()->str()); in CreateBinarySchemaBundle() 105 auto name = builder->CreateString(schema->root_table()->name()->str()); in CreateBinarySchemaBundle() 110 fprintf(stdout, "Bundled binary schema file:%s\n", schema->root_table()->name()->c_str()); in CreateBinarySchemaBundle()
|
/aosp12/hardware/interfaces/audio/common/all-versions/test/utility/src/ |
H A D | ValidateXml.cpp | 105 auto schema = make_xmlUnique(xmlSchemaParse(schemaParserCtxt.get())); in validateXml() local 106 if (schema == nullptr) { in validateXml() 120 auto schemaCtxt = make_xmlUnique(xmlSchemaNewValidCtxt(schema.get())); in validateXml()
|
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
H A D | SchemaToProtoConverter.java | 49 @NonNull AppSearchSchema schema, int version) { in toSchemaTypeConfigProto() 50 Objects.requireNonNull(schema); in toSchemaTypeConfigProto() 53 .setSchemaType(schema.getSchemaType()) in toSchemaTypeConfigProto() 55 List<AppSearchSchema.PropertyConfig> properties = schema.getProperties(); in toSchemaTypeConfigProto()
|
H A D | GenericDocumentToProtoConverter.java | 189 @NonNull SchemaTypeConfigProto schema) { in setEmptyProperty() argument 191 for (int i = 0; i < schema.getPropertiesCount(); ++i) { in setEmptyProperty() 192 if (propertyName.equals(schema.getProperties(i).getPropertyName())) { in setEmptyProperty() 193 dataType = schema.getProperties(i).getDataType().getNumber(); in setEmptyProperty()
|
/aosp12/system/tools/xsdc/tests/resources/attr_group_simple/ |
H A D | attr_group_simple.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="attr_group_simple" elementF… 22 </xs:schema>
|