Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java113 private static final int POWER_ROLE_OFFSET = Constants.PortPowerRole.NONE; field in UsbPort
157 final int index = ((powerRole - POWER_ROLE_OFFSET) * NUM_DATA_ROLES) + dataRole; in combineRolesAsBit()
227 final int powerRole = (index / NUM_DATA_ROLES + POWER_ROLE_OFFSET); in roleCombinationsToString()