FileDocCategorySizeDatePackage
IUsbManager.javaAPI DocAndroid 5.1 API26573Sat Mar 14 05:48:02 GMT 2015android.hardware.usb

IUsbManager

public interface IUsbManager implements android.os.IInterface
hide

Fields Summary
Constructors Summary
Methods Summary
public voidallowUsbDebugging(boolean alwaysAllow, java.lang.String publicKey)

public voidclearDefaults(java.lang.String packageName, int userId)

public voidclearUsbDebuggingKeys()

public voiddenyUsbDebugging()

public android.hardware.usb.UsbAccessorygetCurrentAccessory()

public voidgetDeviceList(android.os.Bundle devices)

public voidgrantAccessoryPermission(android.hardware.usb.UsbAccessory accessory, int uid)

public voidgrantDevicePermission(android.hardware.usb.UsbDevice device, int uid)

public booleanhasAccessoryPermission(android.hardware.usb.UsbAccessory accessory)

public booleanhasDefaults(java.lang.String packageName, int userId)

public booleanhasDevicePermission(android.hardware.usb.UsbDevice device)

public android.os.ParcelFileDescriptoropenAccessory(android.hardware.usb.UsbAccessory accessory)

public android.os.ParcelFileDescriptoropenDevice(java.lang.String deviceName)

public voidrequestAccessoryPermission(android.hardware.usb.UsbAccessory accessory, java.lang.String packageName, android.app.PendingIntent pi)

public voidrequestDevicePermission(android.hardware.usb.UsbDevice device, java.lang.String packageName, android.app.PendingIntent pi)

public voidsetAccessoryPackage(android.hardware.usb.UsbAccessory accessory, java.lang.String packageName, int userId)

public voidsetCurrentFunction(java.lang.String function, boolean makeDefault)

public voidsetDevicePackage(android.hardware.usb.UsbDevice device, java.lang.String packageName, int userId)

public voidsetMassStorageBackingFile(java.lang.String path)