public interface android.hardware.usb.IUsbManager extends android.os.IInterface
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: android.hardware.usb.IUsbManager
super_class: java.lang.Object
{
public abstract void getDeviceList(android.os.Bundle);
descriptor: (Landroid/os/Bundle;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
devices
public abstract android.os.ParcelFileDescriptor openDevice(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Landroid/os/ParcelFileDescriptor;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
deviceName
packageName
public abstract android.hardware.usb.UsbAccessory getCurrentAccessory();
descriptor: ()Landroid/hardware/usb/UsbAccessory;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
public abstract android.os.ParcelFileDescriptor openAccessory(android.hardware.usb.UsbAccessory);
descriptor: (Landroid/hardware/usb/UsbAccessory;)Landroid/os/ParcelFileDescriptor;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
accessory
public abstract void setDevicePackage(android.hardware.usb.UsbDevice, java.lang.String, int);
descriptor: (Landroid/hardware/usb/UsbDevice;Ljava/lang/String;I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
device
packageName
userId
public abstract void setAccessoryPackage(android.hardware.usb.UsbAccessory, java.lang.String, int);
descriptor: (Landroid/hardware/usb/UsbAccessory;Ljava/lang/String;I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
accessory
packageName
userId
public abstract boolean hasDevicePermission(android.hardware.usb.UsbDevice, java.lang.String);
descriptor: (Landroid/hardware/usb/UsbDevice;Ljava/lang/String;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
device
packageName
public abstract boolean hasAccessoryPermission(android.hardware.usb.UsbAccessory);
descriptor: (Landroid/hardware/usb/UsbAccessory;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
accessory
public abstract void requestDevicePermission(android.hardware.usb.UsbDevice, java.lang.String, android.app.PendingIntent);
descriptor: (Landroid/hardware/usb/UsbDevice;Ljava/lang/String;Landroid/app/PendingIntent;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
device
packageName
pi
public abstract void requestAccessoryPermission(android.hardware.usb.UsbAccessory, java.lang.String, android.app.PendingIntent);
descriptor: (Landroid/hardware/usb/UsbAccessory;Ljava/lang/String;Landroid/app/PendingIntent;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
accessory
packageName
pi
public abstract void grantDevicePermission(android.hardware.usb.UsbDevice, int);
descriptor: (Landroid/hardware/usb/UsbDevice;I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
device
uid
public abstract void grantAccessoryPermission(android.hardware.usb.UsbAccessory, int);
descriptor: (Landroid/hardware/usb/UsbAccessory;I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
accessory
uid
public abstract boolean hasDefaults(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
packageName
userId
public abstract void clearDefaults(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
packageName
userId
public abstract boolean isFunctionEnabled(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
function
public abstract void setCurrentFunctions(long);
descriptor: (J)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
functions
public abstract void setCurrentFunction(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
function
usbDataUnlocked
public abstract long getCurrentFunctions();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
public abstract void setScreenUnlockedFunctions(long);
descriptor: (J)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
functions
public abstract long getScreenUnlockedFunctions();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
public abstract android.os.ParcelFileDescriptor getControlFd(long);
descriptor: (J)Landroid/os/ParcelFileDescriptor;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
function
public abstract void allowUsbDebugging(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
alwaysAllow
publicKey
public abstract void denyUsbDebugging();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
public abstract void clearUsbDebuggingKeys();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
public abstract android.hardware.usb.UsbPort[] getPorts();
descriptor: ()[Landroid/hardware/usb/UsbPort;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
public abstract android.hardware.usb.UsbPortStatus getPortStatus(java.lang.String);
descriptor: (Ljava/lang/String;)Landroid/hardware/usb/UsbPortStatus;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
portId
public abstract void setPortRoles(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
portId
powerRole
dataRole
public abstract void setUsbDeviceConnectionHandler(android.content.ComponentName);
descriptor: (Landroid/content/ComponentName;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws android.os.RemoteException
MethodParameters:
Name Flags
usbDeviceConnectionHandler
}
SourceFile: "IUsbManager.java"
NestMembers:
android.hardware.usb.IUsbManager$Stub android.hardware.usb.IUsbManager$Stub$Proxy
InnerClasses:
public abstract Stub = android.hardware.usb.IUsbManager$Stub of android.hardware.usb.IUsbManager