Searched refs:DATA_ROLE_HOST (Results 1 – 4 of 4) sorted by relevance
78 public static final int DATA_ROLE_HOST = 1; field in UsbPort168 case DATA_ROLE_HOST: in dataRoleToString()
102 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);106 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);201 && newDataRole == UsbPort.DATA_ROLE_HOST) { in setPortRoles()268 newDataRole == UsbPort.DATA_ROLE_HOST in setPortRoles()501 currentPowerRole, UsbPort.DATA_ROLE_HOST); in addOrUpdatePortLocked()623 return UsbPort.DATA_ROLE_HOST; in readCurrentDataRole()
438 dataRole = UsbPort.DATA_ROLE_HOST; in dump()517 dataRole = UsbPort.DATA_ROLE_HOST; in dump()
402 boolean hostConnected = status.getCurrentDataRole() == UsbPort.DATA_ROLE_HOST; in updateHostState()