Lines Matching defs:accessory
194 String accessory = event.get("ACCESSORY");
197 } else if ("START".equals(accessory)) {
198 if (DEBUG) Slog.d(TAG, "got accessory start");
237 if (DEBUG) Slog.d(TAG, "accessory attached at boot");
316 // don't start accessory mode if our mandatory strings have not been set
681 // We are entering accessory mode if we have received a request from the host
686 // successfully entered accessory mode
689 Slog.d(TAG, "entering USB accessory mode: " + mCurrentAccessory);
701 Slog.v(TAG, "Debouncing accessory mode exit");
707 // make sure accessory mode is off
709 Slog.d(TAG, "exited USB accessory mode");
1118 /* returns the currently attached USB accessory */
1123 /* opens the currently attached USB accessory */
1124 public ParcelFileDescriptor openAccessory(UsbAccessory accessory,
1128 throw new IllegalArgumentException("no accessory attached");
1130 if (!currentAccessory.equals(accessory)) {
1131 String error = accessory.toString()
1132 + " does not match current accessory "
1136 settings.checkPermission(accessory);