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

  /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/
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 avaialble 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 avaialble 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/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...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
LayoutDevicesXsd.java 27 import javax.xml.validation.Schema;
32 * Public constants for the layout device description XML Schema.
41 * The "layout-devices" element is the root element of this schema.
117 * Helper to get an input stream of the layout config XML schema.
127 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
128 Validator validator = schema.newValidator();
  /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...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
AddonsListFetcher.java 45 import javax.xml.validation.Schema;
108 // Explore the XML to find the potential XML schema version
123 // The schema used is more recent than what is supported by this tool.
233 * Manually parses the root element of the XML to extract the schema version
237 * @return 1..{@link SdkAddonsListConstants#NS_LATEST_VERSION} for a valid schema version
238 * or 0 if no schema could be found.
324 * If the XML was correctly validated, returns the schema that worked.
342 "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.",
377 * @param version The version of the XML Schema.
388 // This may throw a SAX Exception if the schema itself is not a valid XSD
389 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
    [all...]
SdkSource.java 53 import javax.xml.validation.Schema;
135 * schema that as at least a <code>tools</code> node that we could load to update the
355 // Explore the XML to find the potential XML schema version
382 // so it must be a genuine error of an XML not conforming to the schema.
385 // The schema used is more recent than what is supported by this tool.
469 // We found something using the "alternate" XML schema (that is the one made up
470 // to support schema upgrades). That means the user can only install the tools
589 * If the XML was correctly validated, returns the schema that worked.
607 "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.",
639 * Manually parses the root element of the XML to extract the schema version
758 Schema schema = factory.newSchema(new StreamSource(xsdStream)); 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...]
  /frameworks/base/core/java/android/text/
Html.java 111 private static final HTMLSchema schema = new HTMLSchema(); field in class:Html.HtmlParser
127 parser.setProperty(Parser.schemaProperty, HtmlParser.schema);
  /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, /* Schema compilation */
117 XMLLINT_ERR_SCHEMAPAT, /* Error in schema pattern */
150 static char * schema = NULL; variable
    [all...]
relaxng.c 210 xmlRelaxNGPtr schema; /* The schema in use */ member in struct:_xmlRelaxNGParserCtxt
355 xmlRelaxNGPtr schema; /* The schema in use */ member in struct:_xmlRelaxNGValidCtxt
403 xmlRelaxNGPtr schema; /* the schema */ member in struct:_xmlRelaxNGInclude
416 xmlRelaxNGPtr schema; /* the schema */ member in struct:_xmlRelaxNGDocument
662 static void xmlRelaxNGFreeInnerSchema(xmlRelaxNGPtr schema);
686 if (docu->schema != NULL
6518 xmlRelaxNGPtr schema = NULL; local
8166 xmlRelaxNGPtr schema; local
10556 xmlRelaxNGPtr schema; local
    [all...]
xmlschemas.c 2 * schemas.c : implementation of the XML Schema handling and
3 * schema validity checking
15 * - if we don't intend to use the schema for schemas, we
16 * need to validate all schema attributes (ref, type, name)
21 * - For xsi-driven schema acquisition, augment the IDCs after every
29 * - http://lists.w3.org/Archives/Public/www-xml-schema-comments/2005JulSep/0337.html
36 * Schema Component Constraint:
45 * is schema construction via an API is implemented.
205 * Macros for schema buckets.
299 #define WXS_SCHEMA(ctx) (ctx)->schema
440 xmlSchemaPtr schema; member in struct:_xmlSchemaImport
602 xmlSchemaPtr schema; \/* The main schema in use *\/ member in struct:_xmlSchemaParserCtxt
971 xmlSchemaPtr schema; \/* The schema in use *\/ member in struct:_xmlSchemaValidCtxt
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsDatabaseHelper.java 1403 String schema = c.getString(0); local
    [all...]
  /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...]
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 971 milliseconds