META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/dvlib/
com/android/dvlib/DeviceSchema$ValidationHandler.classDeviceSchema.java
package com.android.dvlib
com.android.dvlib.DeviceSchema$ValidationHandler 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 String NS_DEVICES_XSD
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 ATTR_DEFAULT
public static final String ATTR_UNIT
public static final String ATTR_NAME
public void ()
public static boolean validate (java.io.InputStream, java.io.OutputStream, java.io.File)
com.android.dvlib.DeviceSchema$ValidationHandler validator
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
javax.xml.validation.Schema s
javax.xml.parsers.SAXParserFactory factory
java.io.PrintWriter writer
public static java.io.InputStream getXsdStream ()
public static javax.xml.validation.Schema getSchema () throws org.xml.sax.SAXException
java.io.InputStream xsdStream
javax.xml.validation.SchemaFactory factory
javax.xml.validation.Schema schema
}
com/android/dvlib/devices.xsd
NOTICE