Searched defs:newRole (Results 1 - 2 of 2) sorted by relevance
/device/google/marlin/usb/ |
H A D | Usb.cpp | 135 const PortRole &newRole, struct Usb *usb) { 137 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type); 154 int ret = fputs(convertRoletoString(newRole).c_str(), fp); 192 const PortRole &newRole) { 194 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type); 207 convertRoletoString(newRole).c_str()); 209 if (newRole.type == PortRoleType::MODE) { 210 roleSwitch = switchMode(portName, newRole, this); 214 int ret = fputs(convertRoletoString(newRole).c_str(), fp); 219 if (written == convertRoletoString(newRole)) { 134 switchMode(const hidl_string &portName, const PortRole &newRole, struct Usb *usb) argument 191 switchRole(const hidl_string &portName, const PortRole &newRole) argument [all...] |
/device/google/wahoo/usb/ |
H A D | Usb.cpp | 161 const PortRole &newRole, struct Usb *usb) { 163 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type); 180 int ret = fputs(convertRoletoString(newRole).c_str(), fp); 241 const V1_0::PortRole &newRole) { 243 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type); 256 convertRoletoString(newRole).c_str()); 258 if (newRole.type == PortRoleType::MODE) { 259 roleSwitch = switchMode(portName, newRole, this); 263 int ret = fputs(convertRoletoString(newRole).c_str(), fp); 268 if (written == convertRoletoString(newRole)) { 160 switchMode(const hidl_string &portName, const PortRole &newRole, struct Usb *usb) argument 240 switchRole(const hidl_string &portName, const V1_0::PortRole &newRole) argument [all...] |
Completed in 7 milliseconds