Home
last modified time | relevance | path

Searched refs:mPortStatus (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbBackend.java47 private UsbPortStatus mPortStatus; field in UsbBackend
73 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()