Home | History | Annotate | Download | only in usb

Lines Matching refs:accessory

36     /* Returns the currently attached USB accessory */
39 /* Returns a file descriptor for communicating with the USB accessory.
42 ParcelFileDescriptor openAccessory(in UsbAccessory accessory);
49 /* Sets the default package for a USB accessory
52 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId);
57 /* Returns true if the caller has permission to access the accessory. */
58 boolean hasAccessoryPermission(in UsbAccessory accessory);
66 /* Requests permission for the given package to access the accessory.
70 void requestAccessoryPermission(in UsbAccessory accessory, String packageName,
76 /* Grants permission for the given UID to access the accessory */
77 void grantAccessoryPermission(in UsbAccessory accessory, int uid);