Searched refs:NUM_DATA_ROLES (Results 1 – 1 of 1) sorted by relevance
85 private static final int NUM_DATA_ROLES = 3; field in UsbPort129 final int index = powerRole * NUM_DATA_ROLES + dataRole; in combineRolesAsBit()186 final int powerRole = index / NUM_DATA_ROLES; in roleCombinationsToString()187 final int dataRole = index % NUM_DATA_ROLES; in roleCombinationsToString()