Home
last modified time | relevance | path

Searched refs:roleSwitch (Results 1 – 8 of 8) sorted by relevance

/device/google/sunfish/usb/usb/
DUsb.cpp318 bool roleSwitch = false; in switchMode() local
353 roleSwitch = true; in switchMode()
361 if (!roleSwitch) in switchMode()
364 return roleSwitch; in switchMode()
397 bool roleSwitch = false; in switchRole() local
409 roleSwitch = switchMode(in_portName, in_role, this); in switchRole()
420 roleSwitch = true; in switchRole()
435 in_portName, in_role, roleSwitch ? Status::SUCCESS : Status::ERROR, in_transactionId); in switchRole()
/device/google/barbet/usb/usb/
DUsb.cpp318 bool roleSwitch = false; in switchMode() local
353 roleSwitch = true; in switchMode()
361 if (!roleSwitch) in switchMode()
364 return roleSwitch; in switchMode()
397 bool roleSwitch = false; in switchRole() local
409 roleSwitch = switchMode(in_portName, in_role, this); in switchRole()
420 roleSwitch = true; in switchRole()
435 in_portName, in_role, roleSwitch ? Status::SUCCESS : Status::ERROR, in_transactionId); in switchRole()
/device/google/redfin/usb/usb/
DUsb.cpp318 bool roleSwitch = false; in switchMode() local
353 roleSwitch = true; in switchMode()
361 if (!roleSwitch) in switchMode()
364 return roleSwitch; in switchMode()
397 bool roleSwitch = false; in switchRole() local
409 roleSwitch = switchMode(in_portName, in_role, this); in switchRole()
420 roleSwitch = true; in switchRole()
435 in_portName, in_role, roleSwitch ? Status::SUCCESS : Status::ERROR, in_transactionId); in switchRole()
/device/google/coral/usb/usb/
DUsb.cpp318 bool roleSwitch = false; in switchMode() local
353 roleSwitch = true; in switchMode()
361 if (!roleSwitch) in switchMode()
364 return roleSwitch; in switchMode()
397 bool roleSwitch = false; in switchRole() local
409 roleSwitch = switchMode(in_portName, in_role, this); in switchRole()
420 roleSwitch = true; in switchRole()
435 in_portName, in_role, roleSwitch ? Status::SUCCESS : Status::ERROR, in_transactionId); in switchRole()
/device/google/gs201/usb/usb/
DUsb.cpp425 bool roleSwitch = false; in switchMode() local
460 roleSwitch = true; in switchMode()
468 if (!roleSwitch) in switchMode()
471 return roleSwitch; in switchMode()
588 bool roleSwitch = false; in switchRole() local
600 roleSwitch = switchMode(in_portName, in_role, this); in switchRole()
616 roleSwitch = true; in switchRole()
631 in_portName, in_role, roleSwitch ? Status::SUCCESS : Status::ERROR, in_transactionId); in switchRole()
/device/google/gs101/usb/usb/
DUsb.cpp476 bool roleSwitch = false; in switchMode() local
511 roleSwitch = true; in switchMode()
519 if (!roleSwitch) in switchMode()
522 return roleSwitch; in switchMode()
579 bool roleSwitch = false; in switchRole() local
591 roleSwitch = switchMode(in_portName, in_role, this); in switchRole()
607 roleSwitch = true; in switchRole()
622 in_portName, in_role, roleSwitch ? Status::SUCCESS : Status::ERROR, in_transactionId); in switchRole()
/device/google/zuma/usb/usb/
DUsb.cpp464 bool roleSwitch = false; in switchMode() local
499 roleSwitch = true; in switchMode()
507 if (!roleSwitch) in switchMode()
510 return roleSwitch; in switchMode()
588 bool roleSwitch = false; in switchRole() local
600 roleSwitch = switchMode(in_portName, in_role, this); in switchRole()
616 roleSwitch = true; in switchRole()
631 in_portName, in_role, roleSwitch ? Status::SUCCESS : Status::ERROR, in_transactionId); in switchRole()
/device/google/zumapro/usb/usb/
DUsb.cpp472 bool roleSwitch = false; in switchMode() local
507 roleSwitch = true; in switchMode()
515 if (!roleSwitch) in switchMode()
518 return roleSwitch; in switchMode()
658 bool roleSwitch = false; in switchRole() local
670 roleSwitch = switchMode(in_portName, in_role, this); in switchRole()
686 roleSwitch = true; in switchRole()
701 in_portName, in_role, roleSwitch ? Status::SUCCESS : Status::ERROR, in_transactionId); in switchRole()