Home
last modified time | relevance | path

Searched refs:newRole (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/usb/1.0/default/
DUsb.cpp86 const PortRole& newRole) { in switchRole() argument
88 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()
/hardware/interfaces/usb/1.0/
DIUsbCallback.hal41 * @param newRole the new role requested by the caller.
44 oneway notifyRoleSwitchStatus(string portName, PortRole newRole, Status retval);
/hardware/interfaces/usb/1.0/vts/functional/
DVtsHalUsbV1_0TargetTest.cpp88 const PortRole& newRole, in notifyRoleSwitchStatus() argument
92 parent_.usb_last_port_role = newRole; in notifyRoleSwitchStatus()