Home
last modified time | relevance | path

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

12

/system/keymint/common/src/bin/
Dkeyblob-cddl-dump.rs9 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/
DXmlSchema.java69 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()
DXsdHandler.java56 private XmlSchema schema; field in XsdHandler
75 return schema; in getSchema()
139 schema = makeSchema(state); in endElement()
/system/media/camera/docs/
Dmetadata-validate28 schema=$thisdir/metadata_definitions.xsd
31 xmllint --noout --schema $schema $doc || exit 1
DREADME.md15 * XML Lint - Validates XML against XSD schema.
/system/tools/xsdc/src/test/java/com/android/xsdc/cpp/
DTestCppCodeGenerator.java45 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/
Dunsupported_attribute.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
5 </xs:schema>
Dunsupported_tag.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
5 </xs:schema>
/system/tools/xsdc/tests/resources/group/
Daddress.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="attr_group_simple" elementF…
8 </xs:schema>
Dgroup.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="attr_group_simple" elementF…
13 </xs:schema>
/system/tools/xsdc/tests/resources/reference/
Dreference.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="reference"
12 </xs:schema>
/system/extras/libjsonpb/
DREADME.md17 - 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/
Dattr_group_simple.xsd1 <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/
Dnested_type.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="nested_type" elementFormDef…
36 </xs:schema>
/system/tools/xsdc/
DREADME.md6 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/
Dsimple_type.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespa…
61 </xs:schema>
/system/tools/xsdc/tests/resources/simple_complex_content/
Dsimple_complex_content.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="simple_complex_content" xml…
71 </xs:schema>
/system/chre/platform/shared/idl/
DREADME.md1 This folder contains FlatBuffers schema used in the communications protocol
/system/chre/apps/power_test/common/idl/
DREADME.md1 This folder contains FlatBuffers schema used in the communications protocol
/system/extras/libjsonpb/verify/
DAndroid.bp16 // using Protobuf as schema for JSON files. The reason is that the JSON parser that
Dtest.proto22 // Guide for testing purposes. When writing a .proto file as a JSON schema, you
/system/update_engine/fuzz/
Dxml.dict104 string_schema=":schema"
/system/libvintf/
DAssembleVintf.cpp658 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/
Dpredefined_types.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="predefined_types" elementFo…
112 </xs:schema>
/system/tools/aidl/
Daidl_language.cpp217 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()

12