Home
last modified time | relevance | path

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

/device/google/bonito/usb/
DUsb.cpp140 bool roleSwitch = false; in switchMode() local
175 roleSwitch = true; in switchMode()
183 if (!roleSwitch) in switchMode()
186 return roleSwitch; in switchMode()
220 bool roleSwitch = false; in switchRole() local
233 roleSwitch = switchMode(portName, newRole, this); in switchRole()
243 roleSwitch = true; in switchRole()
259 roleSwitch ? Status::SUCCESS : Status::ERROR); in switchRole()
/device/google/wahoo/usb/
DUsb.cpp166 bool roleSwitch = false; in switchMode() local
201 roleSwitch = true; in switchMode()
209 if (!roleSwitch) in switchMode()
212 return roleSwitch; in switchMode()
246 bool roleSwitch = false; in switchRole() local
259 roleSwitch = switchMode(portName, newRole, this); in switchRole()
269 roleSwitch = true; in switchRole()
285 roleSwitch ? Status::SUCCESS : Status::ERROR); in switchRole()
/device/google/crosshatch/usb/
DUsb.cpp142 bool roleSwitch = false; in switchMode() local
177 roleSwitch = true; in switchMode()
185 if (!roleSwitch) in switchMode()
188 return roleSwitch; in switchMode()
222 bool roleSwitch = false; in switchRole() local
235 roleSwitch = switchMode(portName, newRole, this); in switchRole()
245 roleSwitch = true; in switchRole()
261 roleSwitch ? Status::SUCCESS : Status::ERROR); in switchRole()
/device/google/coral/usb/
DUsb.cpp228 bool roleSwitch = false; in switchMode() local
263 roleSwitch = true; in switchMode()
271 if (!roleSwitch) in switchMode()
274 return roleSwitch; in switchMode()
305 bool roleSwitch = false; in switchRole() local
317 roleSwitch = switchMode(portName, newRole, this); in switchRole()
327 roleSwitch = true; in switchRole()
342 portName, newRole, roleSwitch ? Status::SUCCESS : Status::ERROR); in switchRole()