Searched defs:dataRole (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPort.java | 155 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()
|
D | UsbPortStatus.java | 93 public boolean isRoleCombinationSupported(int powerRole, int dataRole) { in isRoleCombinationSupported()
|
D | UsbManager.java | 825 public void setPortRoles(UsbPort port, int powerRole, int dataRole) { in setPortRoles() 831 mService.setPortRoles(port.getId(), powerRole, dataRole); in setPortRoles() local
|
D | IUsbManager.aidl | 132 void setPortRoles(in String portId, int powerRole, int dataRole); in setPortRoles()
|
/frameworks/base/core/java/com/android/internal/usb/ |
D | DumpUtils.java | 191 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/ |
D | UsbService.java | 482 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
|
D | UsbPortManager.java | 321 int dataRole, boolean canChangeDataRole, IndentingPrintWriter pw) { in connectSimulatedPort()
|