Home | History | Annotate | Download | only in usb

Lines Matching refs:accessory

142             String accessory = event.get("ACCESSORY");
145 } else if ("START".equals(accessory)) {
146 if (DEBUG) Slog.d(TAG, "got accessory start");
168 if (DEBUG) Slog.d(TAG, "accessory attached at boot");
214 // don't start accessory mode if our mandatory strings have not been set
529 Slog.d(TAG, "entering USB accessory mode: " + mCurrentAccessory);
538 // make sure accessory mode is off
540 Slog.d(TAG, "exited USB accessory mode");
773 /* returns the currently attached USB accessory */
778 /* opens the currently attached USB accessory */
779 public ParcelFileDescriptor openAccessory(UsbAccessory accessory) {
782 throw new IllegalArgumentException("no accessory attached");
784 if (!currentAccessory.equals(accessory)) {
785 String error = accessory.toString()
786 + " does not match current accessory "
790 getCurrentSettings().checkPermission(accessory);