Methods Summary |
---|
public void | allowUsbDebugging(boolean alwaysAllow, java.lang.String publicKey)
|
public void | clearDefaults(java.lang.String packageName, int userId)
|
public void | clearUsbDebuggingKeys()
|
public void | denyUsbDebugging()
|
public android.hardware.usb.UsbAccessory | getCurrentAccessory()
|
public void | getDeviceList(android.os.Bundle devices)
|
public void | grantAccessoryPermission(android.hardware.usb.UsbAccessory accessory, int uid)
|
public void | grantDevicePermission(android.hardware.usb.UsbDevice device, int uid)
|
public boolean | hasAccessoryPermission(android.hardware.usb.UsbAccessory accessory)
|
public boolean | hasDefaults(java.lang.String packageName, int userId)
|
public boolean | hasDevicePermission(android.hardware.usb.UsbDevice device)
|
public android.os.ParcelFileDescriptor | openAccessory(android.hardware.usb.UsbAccessory accessory)
|
public android.os.ParcelFileDescriptor | openDevice(java.lang.String deviceName)
|
public void | requestAccessoryPermission(android.hardware.usb.UsbAccessory accessory, java.lang.String packageName, android.app.PendingIntent pi)
|
public void | requestDevicePermission(android.hardware.usb.UsbDevice device, java.lang.String packageName, android.app.PendingIntent pi)
|
public void | setAccessoryPackage(android.hardware.usb.UsbAccessory accessory, java.lang.String packageName, int userId)
|
public void | setCurrentFunction(java.lang.String function, boolean makeDefault)
|
public void | setDevicePackage(android.hardware.usb.UsbDevice device, java.lang.String packageName, int userId)
|
public void | setMassStorageBackingFile(java.lang.String path)
|