Searched refs:mPortStatus (Results 1 – 1 of 1) sorted by relevance
64 private UsbPortStatus mPortStatus; field in UsbBackend114 return mPortStatus == null ? POWER_ROLE_NONE : mPortStatus.getCurrentPowerRole(); in getPowerRole()119 return mPortStatus == null ? DATA_ROLE_NONE : mPortStatus.getCurrentDataRole(); in getDataRole()161 return mPort != null && mPortStatus != null in areAllRolesSupported()162 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE) in areAllRolesSupported()163 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in areAllRolesSupported()164 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_DEVICE) in areAllRolesSupported()165 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_HOST); in areAllRolesSupported()228 mPortStatus = null; in updatePorts()237 mPortStatus = status; in updatePorts()