HomeSort by relevance Sort by last modified time
    Searched defs:schema (Results 1 - 25 of 39) sorted by null

1 2

  /frameworks/base/test-runner/src/android/test/
DatabaseTestUtils.java 33 * Compares the schema of two databases and asserts that they are equal.
34 * @param expectedDb the db that is known to have the correct schema
35 * @param db the db whose schema should be checked
39 Set<String> schema = getSchemaSet(db); local
40 MoreAsserts.assertEquals(expectedSchema, schema);
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/repository/
ValidateAddonsListXmlTest.java 28 import javax.xml.validation.Schema;
35 * Tests local validation of an SDK Addon-List sample XMLs using an XML Schema validator.
54 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
55 validator = schema.newValidator();
66 /** Validates that NS_LATEST_VERSION points to the max available XSD schema. */
70 // There should be a schema matching NS_LATEST_VERSION
73 // There should NOT be a schema with NS_LATEST_VERSION+1
ValidateSysImgXmlTest.java 28 import javax.xml.validation.Schema;
35 * Tests local validation of an SDK Repository sample XMLs using an XML Schema validator.
57 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
58 validator = schema.newValidator();
70 /** Validates that NS_LATEST_VERSION points to the max available XSD schema. */
74 // There should be a schema matching NS_LATEST_VERSION
77 // There should NOT be a schema with NS_LATEST_VERSION+1
ValidateAddonXmlTest.java 30 import javax.xml.validation.Schema;
37 * Tests local validation of an SDK Addon sample XMLs using an XML Schema validator.
62 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
63 validator = schema.newValidator();
83 /** Validates that NS_LATEST_VERSION points to the max available XSD schema. */
87 // There should be a schema matching NS_LATEST_VERSION
90 // There should NOT be a schema with NS_LATEST_VERSION+1
ValidateRepositoryXmlTest.java 30 import javax.xml.validation.Schema;
37 * Tests local validation of an SDK Repository sample XMLs using an XML Schema validator.
65 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
66 validator = schema.newValidator();
87 /** Validates that NS_LATEST_VERSION points to the max available XSD schema. */
91 // There should be a schema matching NS_LATEST_VERSION
94 // There should NOT be a schema with NS_LATEST_VERSION+1
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPMetaFactory.java 31 private static XMPSchemaRegistry schema = new XMPSchemaRegistryImpl(); field in class:XMPMetaFactory
49 return schema;
241 * Resets the schema registry to its original state (creates a new one).
247 schema = new XMPSchemaRegistryImpl();
  /external/chromium/chrome/common/extensions/docs/js/
api_page_generator.js 11 * 2) A file located at SCHEMA which is shared with the extension system and
23 var SCHEMA = "../api/extension_api.json";
40 // The full extension api schema
41 var schema; variable
116 // Now the page is composed with the authored content, we fetch the schema
122 schemas_to_retrieve.push(SCHEMA);
127 schema = [];
130 schema = schema.concat(JSON.parse(content));
206 schema.forEach(function(mod)
    [all...]
  /external/tagsoup/src/org/ccil/cowan/tagsoup/
ElementType.java 17 This class represents an element type in the schema.
19 a flags vector, default attributes, and a schema to which it belongs.
20 @see Schema
33 private Schema theSchema; // schema to which this belongs
37 but it's better to use Schema.element() instead.
46 @param schema The schema with which this element type will be
50 public ElementType(String name, int model, int memberOf, int flags, Schema schema) {
164 public Schema schema() {return theSchema;} method in class:ElementType
    [all...]
  /hardware/ril/mock-ril/src/cpp/
protobuf_v8.cpp 99 class Schema : public ObjectWrap {
101 Schema(Handle<Object> self, const DescriptorPool* pool)
103 DBG("Schema::Schema E:");
107 DBG("Schema::Schema X:");
110 virtual ~Schema() {
111 DBG("~Schema::Schema E:");
114 DBG("~Schema::Schema X:")
488 Schema* schema = UnwrapThis<Schema>(args); local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
XSLTElementDef.java 55 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
66 schema.addAvailableElement(new QName(namespace, name));
68 schema.addAvailableElement(new QName(namespace, nameAlias));
84 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
96 schema.addAvailableElement(new QName(namespace, name));
98 schema.addAvailableElement(new QName(namespace, nameAlias));
116 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
121 this(schema, namespace, name, nameAlias,
142 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
148 this(schema, namespace, name, nameAlias
    [all...]
  /external/chromium/chrome/common/
json_schema_validator.cc 62 "Unknown schema reference: *.";
140 JSONSchemaValidator::JSONSchemaValidator(DictionaryValue* schema)
141 : schema_root_(schema), default_allow_additional_properties_(false) {
144 JSONSchemaValidator::JSONSchemaValidator(DictionaryValue* schema,
146 : schema_root_(schema), default_allow_additional_properties_(false) {
171 DictionaryValue* schema,
173 // If this schema defines itself as reference type, save it in this.types.
175 if (schema->GetString("id", &id)) {
178 types_[id] = schema;
180 CHECK(iter->second == schema);
224 ValidateArray(static_cast<ListValue*>(instance), schema, path); local
226 ValidateString(static_cast<StringValue*>(instance), schema, path); local
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
XMPNormalizer.java 129 // make sure the DC schema is existing, because it might be needed within the normalization
133 // Do the special case fixes within each schema.
183 * @param dcSchema the DC schema node
320 // Find the base path, look for the base schema and root node.
325 // find or create schema
411 * Moves an alias node of array form to another schema into an array
412 * @param propertyIt the property iterator of the old schema (used to delete the property)
440 * @param exifSchema the EXIF schema node
497 // Delete empty schema nodes. Do this last, other cleanup can make empty
498 // schema
502 XMPNode schema = (XMPNode) it.next(); local
    [all...]
XMPSerializerRDF.java 365 XMPNode schema = (XMPNode) it.next(); local
366 declareUsedNamespaces(schema, usedPrefixes, 4);
373 XMPNode schema = (XMPNode) it.next(); local
374 allAreAttrs &= serializeCompactRDFAttrProps (schema, 3);
386 return; // ! Done if all properties in all schema are written as attributes.
389 // Write the remaining properties for each schema.
392 XMPNode schema = (XMPNode) it.next(); local
393 serializeCompactRDFElementProps (schema, 3);
766 * Serializes one schema with all contained properties in pretty-printed
768 * Each schema's properties are written in a separat
    [all...]
XMPUtilsImpl.java 64 * The schema namespace URI for the array. Must not be null or
153 * The schema namespace URI for the array. Must not be null or
394 * Optional schema namespace URI for the properties to be
405 * "named schema" case above.
417 // the named schema might not actually exist. So don't lookup the
418 // schema node.
422 throw new XMPException("Property name requires schema namespace",
439 // remove empty schema node
449 // Remove all properties from the named schema. Optionally include
451 // there might not be an actual schema node
495 XMPNode schema = (XMPNode) it.next(); local
    [all...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
AddonsListFetcher.java 48 import javax.xml.validation.Schema;
149 // If we can't find the latest version, try earlier schema versions.
180 // Explore the XML to find the potential XML schema version
195 // The schema used is more recent than what is supported by this tool.
299 * Manually parses the root element of the XML to extract the schema version
303 * @return 1..{@link SdkAddonsListConstants#NS_LATEST_VERSION} for a valid schema version
304 * or 0 if no schema could be found.
409 * If the XML was correctly validated, returns the schema that worked.
427 "XML verification failed for %1$s.\nNo suitable XML Schema Validator could be found in your Java environment. Please consider updating your version of Java.",
463 * @param version The version of the XML Schema
475 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
    [all...]
SdkStats.java 47 import javax.xml.validation.Schema;
169 // Explore the XML to find the potential XML schema version
184 // The schema used is more recent than what is supported by this tool.
284 * Manually parses the root element of the XML to extract the schema version
288 * @return 1..{@link SdkStatsConstants#NS_LATEST_VERSION} for a valid schema version
289 * or 0 if no schema could be found.
392 * If the XML was correctly validated, returns the schema that worked.
410 "XML verification failed for %1$s.\nNo suitable XML Schema Validator could be found in your Java environment. Please consider updating your version of Java.",
445 * @param version The version of the XML Schema.
457 // This may throw a SAX Exception if the schema itself is not a valid XS
458 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
    [all...]
  /sdk/device_validator/dvlib/src/com/android/dvlib/
DeviceSchema.java 30 import javax.xml.validation.Schema;
44 * The "devices" element is the root element of this schema.
203 Schema s;
232 * Helper to get an input stream of the device config XML schema.
239 public static Schema getSchema() throws SAXException {
242 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
243 return schema;
249 * schema.
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/
SdkSource.java 67 import javax.xml.validation.Schema;
164 * schema that as at least a <code>tools</code> node that we could load to update the
433 // Explore the XML to find the potential XML schema version
460 // so it must be a genuine error of an XML not conforming to the schema.
463 // The schema used is more recent than what is supported by this tool.
551 // We found something using the "alternate" XML schema (that is the one made up
552 // to support schema upgrades). That means the user can only install the tools
662 * If the XML was correctly validated, returns the schema that worked.
680 "XML verification failed for %1$s.\nNo suitable XML Schema Validator could be found in your Java environment. Please consider updating your version of Java.",
713 * Manually parses the root element of the XML to extract the schema versio
836 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
    [all...]
  /external/libxml2/
schematron.c 2 * schematron.c : implementation of the Schematron schema validity checking
130 const xmlChar *name; /* schema name */
163 xmlSchematronPtr schema; member in struct:_xmlSchematronValidCtxt
192 xmlSchematronPtr schema; member in struct:_xmlSchematronParserCtxt
293 * @ctxt: the schema parsing context
331 xmlSchematronPErrMemory(ctxt, "allocating schema test", node);
378 * @ctxt: the schema parsing context
379 * @schema: a schema structure
389 xmlSchematronAddRule(xmlSchematronParserCtxtPtr ctxt, xmlSchematronPtr schema,
1748 xmlSchematronPtr schema = NULL; local
    [all...]
xmllint.c 115 XMLLINT_ERR_SCHEMACOMP = 5, /* Schema compilation */
117 XMLLINT_ERR_SCHEMAPAT = 7, /* Error in schema pattern */
152 static char * schema = NULL; variable
    [all...]
  /frameworks/base/core/java/android/text/
Html.java 110 private static final HTMLSchema schema = new HTMLSchema(); field in class:Html.HtmlParser
126 parser.setProperty(Parser.schemaProperty, HtmlParser.schema);
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsDatabaseHelper.java 1605 String schema = c.getString(0); local
    [all...]
  /tools/motodev/src/plugins/android.codeutils/src/com/motorola/studio/android/codeutils/db/utils/
DatabaseUtils.java 60 import org.eclipse.datatools.modelbase.sql.schema.Catalog;
61 import org.eclipse.datatools.modelbase.sql.schema.Database;
62 import org.eclipse.datatools.modelbase.sql.schema.Schema;
306 ListIterator<Schema> schemasIter = schemas.listIterator();
309 Schema schema = schemasIter.next(); local
310 EList tables = schema.getTables();
749 ListIterator<Schema> schemasIter = schemas.listIterator();
752 Schema schema = schemasIter.next() local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/34/1/.cp/ant_tasks/
pde-ant.jar 
  /libcore/luni/src/test/java/tests/java/sql/
DatabaseMetaDataTest.java 464 assertEquals("Incorrect primary key table schema", "", rs
473 assertEquals("Incorrect foreign key table schema", "", rs
703 assertEquals("Incorrect primary key table schema", "", rs
711 assertEquals("Incorrect foreign key table schema", "", rs
845 assertEquals("Incorrect table schema", "", rs
1852 String schema = rs.getString("TABLE_SCHEM"); local
2286 String schema = rs.getString("TABLE_SCHEM"); local
    [all...]

Completed in 1561 milliseconds

1 2