META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/dvlib/
com/android/dvlib/DeviceSchema$1.classDeviceSchema.java
package com.android.dvlib
final com.android.dvlib.DeviceSchema$1 extends java.lang.Object implements org.xml.sax.ErrorHandler {
void ()
public void warning (org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
org.xml.sax.SAXParseException e
public void fatalError (org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
org.xml.sax.SAXParseException e
public void error (org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
org.xml.sax.SAXParseException e
}
com/android/dvlib/DeviceSchema$DevicesValidationHandler.classDeviceSchema.java
package com.android.dvlib
com.android.dvlib.DeviceSchema$DevicesValidationHandler extends org.xml.sax.helpers.DefaultHandler {
private boolean mValidDevicesFile
private boolean mDefaultSeen
private String mDeviceName
private final java.io.File mDirectory
private final java.io.PrintWriter mWriter
private final StringBuilder mStringAccumulator
public void (java.io.File, java.io.PrintWriter)
java.io.File directory
java.io.PrintWriter writer
public void startElement (java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) throws org.xml.sax.SAXException
String val
String uri
String localName
String name
org.xml.sax.Attributes attributes
public void characters (char[], int, int)
char[] ch
int start
int length
public void endElement (java.lang.String, java.lang.String, java.lang.String) throws org.xml.sax.SAXException
String relativePath
java.io.File f
String fileName
int extensionStart
String uri
String localName
String name
public void error (org.xml.sax.SAXParseException)
org.xml.sax.SAXParseException e
public void fatalError (org.xml.sax.SAXParseException)
org.xml.sax.SAXParseException e
public boolean isValidDevicesFile ()
private void validationError (java.lang.String)
String reason
}
com/android/dvlib/DeviceSchema.classDeviceSchema.java
package com.android.dvlib
public com.android.dvlib.DeviceSchema extends java.lang.Object {
public static final int NS_LATEST_VERSION
public static final String NS_DEVICES_URI
private static final String NS_DEVICES_URI_BASE
static final String NS_DEVICES_URI_PATTERN
public static final String NODE_DEVICES
public static final String NODE_DEVICE
public static final String NODE_HARDWARE
public static final String NODE_SOFTWARE
public static final String NODE_STATE
public static final String NODE_KEYBOARD
public static final String NODE_TOUCH
public static final String NODE_GL_EXTENSIONS
public static final String NODE_GL_VERSION
public static final String NODE_NETWORKING
public static final String NODE_REMOVABLE_STORAGE
public static final String NODE_FLASH
public static final String NODE_LIVE_WALLPAPER_SUPPORT
public static final String NODE_STATUS_BAR
public static final String NODE_BUTTONS
public static final String NODE_CAMERA
public static final String NODE_LOCATION
public static final String NODE_GPU
public static final String NODE_DOCK
public static final String NODE_YDPI
public static final String NODE_POWER_TYPE
public static final String NODE_Y_DIMENSION
public static final String NODE_SCREEN_RATIO
public static final String NODE_NAV_STATE
public static final String NODE_MIC
public static final String NODE_RAM
public static final String NODE_XDPI
public static final String NODE_DIMENSIONS
public static final String NODE_ABI
public static final String NODE_MECHANISM
public static final String NODE_MULTITOUCH
public static final String NODE_NAV
public static final String NODE_PIXEL_DENSITY
public static final String NODE_SCREEN_ORIENTATION
public static final String NODE_AUTOFOCUS
public static final String NODE_SCREEN_SIZE
public static final String NODE_DESCRIPTION
public static final String NODE_BLUETOOTH_PROFILES
public static final String NODE_SCREEN
public static final String NODE_SENSORS
public static final String NODE_DIAGONAL_LENGTH
public static final String NODE_SCREEN_TYPE
public static final String NODE_KEYBOARD_STATE
public static final String NODE_X_DIMENSION
public static final String NODE_CPU
public static final String NODE_INTERNAL_STORAGE
public static final String NODE_META
public static final String NODE_ICONS
public static final String NODE_SIXTY_FOUR
public static final String NODE_SIXTEEN
public static final String NODE_FRAME
public static final String NODE_PATH
public static final String NODE_PORTRAIT_X_OFFSET
public static final String NODE_PORTRAIT_Y_OFFSET
public static final String NODE_LANDSCAPE_X_OFFSET
public static final String NODE_LANDSCAPE_Y_OFFSET
public static final String NODE_NAME
public static final String NODE_ID
public static final String NODE_API_LEVEL
public static final String NODE_MANUFACTURER
public static final String NODE_TAG_ID
public static final String NODE_BOOT_PROPS
public static final String NODE_BOOT_PROP
public static final String NODE_PROP_NAME
public static final String NODE_PROP_VALUE
public static final String ATTR_DEFAULT
public static final String ATTR_UNIT
public static final String ATTR_NAME
static final synthetic boolean $assertionsDisabled
public void ()
public static java.lang.String getSchemaUri (int)
int version
public static java.io.InputStream getXsdStream (int)
Exception ignore
int version
String rootElement
String filename
public static boolean validate (java.io.InputStream, java.io.OutputStream, java.io.File)
int version
javax.xml.validation.Schema schema
javax.xml.parsers.SAXParserFactory factory
com.android.dvlib.DeviceSchema$DevicesValidationHandler devicesValidator
javax.xml.parsers.SAXParser parser
org.xml.sax.SAXException e
javax.xml.parsers.ParserConfigurationException e
java.io.IOException e
java.io.InputStream deviceXml
java.io.OutputStream out
java.io.File parent
java.io.PrintWriter writer
public static javax.xml.validation.Schema getSchema (int) throws org.xml.sax.SAXException
int version
java.io.InputStream xsdStream
javax.xml.validation.SchemaFactory factory
javax.xml.validation.Schema schema
public static int getXmlSchemaVersion (java.io.InputStream)
javax.xml.parsers.DocumentBuilderFactory factory
javax.xml.parsers.DocumentBuilder builder
Exception e
NumberFormatException e
String version
java.util.regex.Matcher m
String uri
org.w3c.dom.NamedNodeMap attrs
String xmlns
org.w3c.dom.Node attr
String name
int pos
org.w3c.dom.Node child
java.io.InputStream xml
org.w3c.dom.Document doc
java.util.regex.Pattern nsPattern
String prefix
static void ()
}
com/android/dvlib/devices-1.xsd
com/android/dvlib/devices-2.xsd
NOTICE