Searched refs:mPortStatus (Results 1 – 1 of 1) sorted by relevance
47 private UsbPortStatus mPortStatus; field in UsbBackend73 mPortStatus = status; in UsbBackend()81 int power = mPortStatus.getCurrentPowerRole() == UsbPort.POWER_ROLE_SOURCE in getCurrentMode()129 && mPortStatus.isRoleCombinationSupported(powerRole, UsbPort.DATA_ROLE_HOST) in setMode()168 return mPortStatus.isRoleCombinationSupported(power, in isModeSupported()172 return mPortStatus.isRoleCombinationSupported(power, UsbPort.DATA_ROLE_DEVICE) in isModeSupported()173 || mPortStatus.isRoleCombinationSupported(power, UsbPort.DATA_ROLE_HOST); in isModeSupported()