Home
last modified time | relevance | path

Searched defs:powerRole (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java170 public void setRoles(@UsbPortStatus.UsbPowerRole int powerRole, in setRoles()
195 public static int combineRolesAsBit(int powerRole, int dataRole) { in combineRolesAsBit()
283 final int powerRole = (index / NUM_DATA_ROLES + POWER_ROLE_OFFSET); in roleCombinationsToString() local
300 public static void checkMode(int powerRole) { in checkMode()
318 public static void checkRoles(int powerRole, int dataRole) { in checkRoles()
DUsbManager.java847 void setPortRoles(UsbPort port, int powerRole, int dataRole) { in setPortRoles()
850 mService.setPortRoles(port.getId(), powerRole, dataRole); in setPortRoles() local
DUsbPortStatus.java294 public boolean isRoleCombinationSupported(@UsbPowerRole int powerRole, in isRoleCombinationSupported()
DIUsbManager.aidl121 void setPortRoles(in String portId, int powerRole, int dataRole); in setPortRoles()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java182 long id, int powerRole) { in writePowerRole()
231 int powerRole = (index / Constants.PortDataRole.NUM_DATA_ROLES in writePortStatus() local
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java541 public void setPortRoles(String portId, int powerRole, int dataRole) { in setPortRoles()
627 final int powerRole; in dump() local
709 final int powerRole; in dump() local
DUsbPortManager.java497 int powerRole, boolean canChangePowerRole, in connectSimulatedPort()