Searched refs:newPowerRole (Results 1 – 1 of 1) sorted by relevance
138 int newPowerRole = getPowerRole(); in setDataRole() local142 newPowerRole = POWER_ROLE_SINK; in setDataRole()145 newPowerRole = POWER_ROLE_SOURCE; in setDataRole()148 newPowerRole = POWER_ROLE_NONE; in setDataRole()152 mPort.setRoles(newPowerRole, role); in setDataRole()