All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
allowUsbDebugging(boolean alwaysAllow,
String publicKey) |
void |
bootCompleted() |
void |
clearDefaults(String packageName,
int userId) |
void |
clearUsbDebuggingKeys() |
void |
denyUsbDebugging() |
void |
dump(FileDescriptor fd,
PrintWriter writer,
String[] args) |
UsbAccessory |
getCurrentAccessory() |
void |
getDeviceList(Bundle devices) |
UsbPort[] |
getPorts() |
UsbPortStatus |
getPortStatus(String portId) |
void |
grantAccessoryPermission(UsbAccessory accessory,
int uid) |
void |
grantDevicePermission(UsbDevice device,
int uid) |
boolean |
hasAccessoryPermission(UsbAccessory accessory) |
boolean |
hasDefaults(String packageName,
int userId) |
boolean |
hasDevicePermission(UsbDevice device) |
boolean |
isFunctionEnabled(String function) |
ParcelFileDescriptor |
openAccessory(UsbAccessory accessory) |
ParcelFileDescriptor |
openDevice(String deviceName) |
void |
requestAccessoryPermission(UsbAccessory accessory,
String packageName,
PendingIntent pi) |
void |
requestDevicePermission(UsbDevice device,
String packageName,
PendingIntent pi) |
void |
setAccessoryPackage(UsbAccessory accessory,
String packageName,
int userId) |
void |
setCurrentFunction(String function) |
void |
setDevicePackage(UsbDevice device,
String packageName,
int userId) |
void |
setPortRoles(String portId,
int powerRole,
int dataRole) |
void |
setUsbDataUnlocked(boolean unlocked) |
void |
systemReady() |