/system/keymint/common/src/bin/ |
D | keyblob-cddl-dump.rs | 9 schema: String, field 16 if let (Some(name), Some(schema)) = (<T>::cddl_typename(), <T>::cddl_schema()) { in add() 17 self.add_name_schema(&name, &schema); in add() 25 fn add_name_schema(&mut self, name: &str, schema: &str) { in add_name_schema() 26 let _ = writeln!(self.schema, "{} = {}", name, schema); in add_name_schema() 37 if let Err(e) = cddl_cat::validate_cbor_bytes(&name, &self.schema, &data) { in check() 46 write!(f, "{}", self.schema) in fmt() 52 let mut schema = AccumulatedSchema::default(); in main() localVariable 54 schema.add(keyblob::EncryptedKeyBlob::V1(keyblob::EncryptedKeyBlobV1 { in main() 66 schema.add(keyblob::Version::V1); in main() [all …]
|
/system/tools/xsdc/src/main/java/com/android/xsdc/ |
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()
|
D | XsdHandler.java | 56 private XmlSchema schema; field in XsdHandler 75 return schema; in getSchema() 139 schema = makeSchema(state); in endElement()
|
/system/media/camera/docs/ |
D | metadata-validate | 28 schema=$thisdir/metadata_definitions.xsd 31 xmllint --noout --schema $schema $doc || exit 1
|
D | README.md | 15 * XML Lint - Validates XML against XSD schema.
|
/system/tools/xsdc/src/test/java/com/android/xsdc/cpp/ |
D | TestCppCodeGenerator.java | 45 XmlSchema schema = parseSchema(SCHEMA); in testParseSchema() local 46 assertEquals(schema.getElementMap().keySet(), Set.of("class")); in testParseSchema() 52 String schema = "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n" in testSimpleTypeRootParser() local 59 parseSchema(schema), in testSimpleTypeRootParser() 131 String schema = "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n" in generateParsersForSpecifiedRoot() local 137 parseSchema(schema), in generateParsersForSpecifiedRoot()
|
/system/tools/xsdc/tests/resources/ |
D | unsupported_attribute.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" 5 </xs:schema>
|
D | unsupported_tag.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" 5 </xs:schema>
|
/system/tools/xsdc/tests/resources/group/ |
D | address.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="attr_group_simple" elementF… 8 </xs:schema>
|
D | group.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="attr_group_simple" elementF… 13 </xs:schema>
|
/system/tools/xsdc/tests/resources/reference/ |
D | reference.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="reference" 12 </xs:schema>
|
/system/extras/libjsonpb/ |
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.
|
/system/tools/xsdc/tests/resources/attr_group_simple/ |
D | attr_group_simple.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="attr_group_simple" elementF… 22 </xs:schema>
|
/system/tools/xsdc/tests/resources/nested_type/ |
D | nested_type.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="nested_type" elementFormDef… 36 </xs:schema>
|
/system/tools/xsdc/ |
D | README.md | 6 for the schema of a xml file used between the system and vendor partition. 10 Add the schema (attribute, element or new complexType …) you want to add to the 76 After adding “Deprecated” annotation, we need to update the api or schema just 92 "xsd:schema" [
|
/system/tools/xsdc/tests/resources/simple_type/ |
D | simple_type.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespa… 61 </xs:schema>
|
/system/tools/xsdc/tests/resources/simple_complex_content/ |
D | simple_complex_content.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="simple_complex_content" xml… 71 </xs:schema>
|
/system/chre/platform/shared/idl/ |
D | README.md | 1 This folder contains FlatBuffers schema used in the communications protocol
|
/system/chre/apps/power_test/common/idl/ |
D | README.md | 1 This folder contains FlatBuffers schema used in the communications protocol
|
/system/extras/libjsonpb/verify/ |
D | Android.bp | 16 // using Protobuf as schema for JSON files. The reason is that the JSON parser that
|
D | test.proto | 22 // Guide for testing purposes. When writing a .proto file as a JSON schema, you
|
/system/update_engine/fuzz/ |
D | xml.dict | 104 string_schema=":schema"
|
/system/libvintf/ |
D | AssembleVintf.cpp | 658 Schema schema; in tryAssemble() local 659 schema.setFileName(mInFiles.front().name()); in tryAssemble() 660 if (!fromXml(&schema, read(mInFiles.front().stream()), error)) { in tryAssemble() 663 auto firstType = schema.type(); in tryAssemble() 664 schemas.emplace_back(std::move(schema)); in tryAssemble()
|
/system/tools/xsdc/tests/resources/predefined_types/ |
D | predefined_types.xsd | 1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="predefined_types" elementFo… 112 </xs:schema>
|
/system/tools/aidl/ |
D | aidl_language.cpp | 217 for (const Schema& schema : AllSchemas()) { in TypeToString() local 218 if (type == schema.type) return schema.name; in TypeToString() 228 const Schema* schema = nullptr; in Parse() local 231 schema = &a_schema; in Parse() 235 if (schema == nullptr) { in Parse() 248 new AidlAnnotation(location, *schema, std::move(parameter_list), comments)); in Parse() 251 AidlAnnotation::AidlAnnotation(const AidlLocation& location, const Schema& schema, in AidlAnnotation() argument 254 : AidlNode(location, comments), schema_(schema), parameters_(std::move(parameters)) {} in AidlAnnotation()
|