Searched refs:mPortStatus (Results 1 – 1 of 1) sorted by relevance
60 private UsbPortStatus mPortStatus; field in UsbBackend110 return mPortStatus == null ? POWER_ROLE_NONE : mPortStatus.getCurrentPowerRole(); in getPowerRole()115 return mPortStatus == null ? DATA_ROLE_NONE : mPortStatus.getCurrentDataRole(); in getDataRole()157 return mPort != null && mPortStatus != null in areAllRolesSupported()158 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE) in areAllRolesSupported()159 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in areAllRolesSupported()160 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_DEVICE) in areAllRolesSupported()161 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_HOST); in areAllRolesSupported()219 mPortStatus = null; in updatePorts()228 mPortStatus = status; in updatePorts()