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()
DUsbPortStatus.java295 public boolean isRoleCombinationSupported(@UsbPowerRole int powerRole, in isRoleCombinationSupported()
DUsbManager.java893 void setPortRoles(UsbPort port, int powerRole, int dataRole) { in setPortRoles()
896 mService.setPortRoles(port.getId(), powerRole, dataRole); in setPortRoles() local
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.java544 public void setPortRoles(String portId, int powerRole, int dataRole) { in setPortRoles()
630 final int powerRole; in dump() local
712 final int powerRole; in dump() local
DUsbPortManager.java497 int powerRole, boolean canChangePowerRole, in connectSimulatedPort()