Searched refs:newPowerRole (Results 1 – 1 of 1) sorted by relevance
142 int newPowerRole = getPowerRole(); in setDataRole() local146 newPowerRole = POWER_ROLE_SINK; in setDataRole()149 newPowerRole = POWER_ROLE_SOURCE; in setDataRole()152 newPowerRole = POWER_ROLE_NONE; in setDataRole()156 mPort.setRoles(newPowerRole, role); in setDataRole()