Searched refs:currentDataRole (Results 1 – 2 of 2) sorted by relevance
191 final int currentDataRole = portInfo.mUsbPortStatus.getCurrentDataRole(); in setPortRoles() local193 if (currentDataRole == newDataRole && currentPowerRole == newPowerRole) { in setPortRoles()212 || (!canChangeDataRole && currentDataRole != newDataRole)) { in setPortRoles()234 + ", currentDataRole=" + UsbPort.dataRoleToString(currentDataRole) in setPortRoles()244 sim.currentDataRole = newDataRole; in setPortRoles()285 if (currentDataRole != newDataRole) { in setPortRoles()351 portInfo.currentDataRole = dataRole; in connectSimulatedPort()370 portInfo.currentDataRole = 0; in disconnectSimulatedPort()444 current.currentDataRole, current.canChangeDataRole); in notifyPortStatusChange()476 current.status.currentDataRole, current.status.canChangeDataRole); in notifyPortStatusChange_1_1()[all …]
37 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument41 mCurrentDataRole = currentDataRole; in UsbPortStatus()133 int currentDataRole = in.readInt();135 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole,