Searched refs:NUM_DATA_ROLES (Results 1 – 3 of 3) sorted by relevance
59 private static final int NUM_DATA_ROLES = Constants.PortDataRole.NUM_DATA_ROLES; field in UsbPort197 final int index = ((powerRole - POWER_ROLE_OFFSET) * NUM_DATA_ROLES) + dataRole; in combineRolesAsBit()283 final int powerRole = (index / NUM_DATA_ROLES + POWER_ROLE_OFFSET); in roleCombinationsToString()284 final int dataRole = index % NUM_DATA_ROLES; in roleCombinationsToString()314 Constants.PortDataRole.NUM_DATA_ROLES - 1, "powerRole"); in checkDataRole()
231 int powerRole = (index / Constants.PortDataRole.NUM_DATA_ROLES in writePortStatus()233 int dataRole = index % Constants.PortDataRole.NUM_DATA_ROLES; in writePortStatus()
27123 Landroid/hardware/usb/UsbPort;->NUM_DATA_ROLES:I