Searched refs:newRole (Results 1 – 2 of 2) sorted by relevance
436 PortRole newRole = new PortRole(); in setPortRoles() local437 newRole.type = PortRoleType.MODE; in setPortRoles()438 newRole.role = newMode; in setPortRoles()440 mProxy.switchRole(portId, newRole); in setPortRoles()444 + ", newMode=" + UsbPort.modeToString(newRole.role), e); in setPortRoles()449 PortRole newRole = new PortRole(); in setPortRoles() local450 newRole.type = PortRoleType.POWER_ROLE; in setPortRoles()451 newRole.role = newPowerRole; in setPortRoles()453 mProxy.switchRole(portId, newRole); in setPortRoles()458 (newRole.role), in setPortRoles()[all …]
632 int newRole = message.arg1; in processMessage() local634 if (newRole != mRole) { in processMessage()635 mRole = newRole; in processMessage()