Searched refs:newRole (Results 1 – 3 of 3) sorted by relevance
86 const PortRole& newRole) { in switchRole() argument88 newRole.type); in switchRole()92 ALOGI("filename write: %s role:%d", filename.c_str(), newRole.role); in switchRole()95 file << convertRoletoString(newRole).c_str(); in switchRole()99 if (written == convertRoletoString(newRole)) { in switchRole()102 mCallback->notifyRoleSwitchStatus(portName, newRole, in switchRole()111 Return<void> ret = mCallback->notifyRoleSwitchStatus(portName, newRole, Status::ERROR); in switchRole()
41 * @param newRole the new role requested by the caller.44 oneway notifyRoleSwitchStatus(string portName, PortRole newRole, Status retval);
86 const PortRole& newRole, in notifyRoleSwitchStatus() argument90 parent_.usb_last_port_role = newRole; in notifyRoleSwitchStatus()