Searched refs:NUM_DATA_ROLES (Results 1 – 1 of 1) sorted by relevance
97 private static final int NUM_DATA_ROLES = Constants.PortDataRole.NUM_DATA_ROLES; field in UsbPort145 final int index = ((powerRole - POWER_ROLE_OFFSET) * NUM_DATA_ROLES) + dataRole; in combineRolesAsBit()202 final int powerRole = (index / NUM_DATA_ROLES + POWER_ROLE_OFFSET); in roleCombinationsToString()203 final int dataRole = index % NUM_DATA_ROLES; in roleCombinationsToString()233 Constants.PortDataRole.NUM_DATA_ROLES - 1, "powerRole"); in checkDataRole()