Lines Matching defs:accessory
20 * A class representing a USB accessory.
31 /* package */ UsbAccessory(android.hardware.usb.UsbAccessory accessory) {
32 mManufacturer = accessory.getManufacturer();
33 mModel = accessory.getModel();
34 mDescription = accessory.getDescription();
35 mVersion = accessory.getVersion();
36 mUri = accessory.getUri();
37 mSerial = accessory.getSerial();
41 * Returns the manufacturer of the accessory.
43 * @return the accessory manufacturer
50 * Returns the model name of the accessory.
52 * @return the accessory model
59 * Returns a user visible description of the accessory.
61 * @return the accessory description
68 * Returns the version of the accessory.
70 * @return the accessory version
77 * Returns the URI for the accessory.
78 * This is an optional URI that might show information about the accessory
79 * or provide the option to download an application for the accessory
81 * @return the accessory URI
88 * Returns the unique serial number for the accessory.
106 UsbAccessory accessory = (UsbAccessory)obj;
107 return (compare(mManufacturer, accessory.getManufacturer()) &&
108 compare(mModel, accessory.getModel()) &&
109 compare(mDescription, accessory.getDescription()) &&
110 compare(mVersion, accessory.getVersion()) &&
111 compare(mUri, accessory.getUri()) &&
112 compare(mSerial, accessory.getSerial()));