Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java155 public static int combineRolesAsBit(int powerRole, int dataRole) { in combineRolesAsBit()
228 final int dataRole = index % NUM_DATA_ROLES; in roleCombinationsToString() local
250 public static void checkPowerRole(int dataRole) { in checkPowerRole()
262 public static void checkRoles(int powerRole, int dataRole) { in checkRoles()
DUsbPortStatus.java93 public boolean isRoleCombinationSupported(int powerRole, int dataRole) { in isRoleCombinationSupported()
DUsbManager.java825 public void setPortRoles(UsbPort port, int powerRole, int dataRole) { in setPortRoles()
831 mService.setPortRoles(port.getId(), powerRole, dataRole); in setPortRoles() local
DIUsbManager.aidl132 void setPortRoles(in String portId, int powerRole, int dataRole); in setPortRoles()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java191 long id, int dataRole) { in writeDataRole()
224 int dataRole = index % Constants.PortDataRole.NUM_DATA_ROLES; in writePortStatus() local
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java482 public void setPortRoles(String portId, int powerRole, int dataRole) { in setPortRoles()
568 final int dataRole; in dump() local
648 final int dataRole; in dump() local
DUsbPortManager.java321 int dataRole, boolean canChangeDataRole, IndentingPrintWriter pw) { in connectSimulatedPort()