Searched refs:NUM_DATA_ROLES (Results 1 – 3 of 3) sorted by relevance
107 private static final int NUM_DATA_ROLES = Constants.PortDataRole.NUM_DATA_ROLES; field in UsbPort632 final int index = ((powerRole - POWER_ROLE_OFFSET) * NUM_DATA_ROLES) + dataRole; in combineRolesAsBit()777 final int powerRole = (index / NUM_DATA_ROLES + POWER_ROLE_OFFSET); in roleCombinationsToString()778 final int dataRole = index % NUM_DATA_ROLES; in roleCombinationsToString()870 Constants.PortDataRole.NUM_DATA_ROLES - 1, "powerRole"); in checkDataRole()
240 int powerRole = (index / Constants.PortDataRole.NUM_DATA_ROLES in writePortStatus()242 int dataRole = index % Constants.PortDataRole.NUM_DATA_ROLES; in writePortStatus()
22463 Landroid/hardware/usb/UsbPort;->NUM_DATA_ROLES:I