Searched defs:portName (Results 1 - 2 of 2) sorted by relevance
/device/google/marlin/usb/ |
H A D | Usb.cpp | 70 std::string appendRoleNodeHelper(const std::string &portName, argument 72 std::string node("/sys/class/typec/" + portName); 114 void switchToDrp(const std::string &portName) { argument 116 appendRoleNodeHelper(std::string(portName.c_str()), PortRoleType::MODE); 134 bool switchMode(const hidl_string &portName, argument 137 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type); 184 switchToDrp(std::string(portName.c_str())); 191 Return<void> Usb::switchRole(const hidl_string &portName, argument 194 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type); 210 roleSwitch = switchMode(portName, newRol 248 getAccessoryConnected(const std::string &portName, std::string *accessory) argument 261 getCurrentRoleHelper(const std::string &portName, bool connected, PortRoleType type, uint32_t *currentRole) argument 339 std::unordered_map<std::string, bool>::const_iterator portName = local 357 canSwitchRoleHelper(const std::string &portName, PortRoleType ) argument [all...] |
/device/google/wahoo/usb/ |
H A D | Usb.cpp | 96 std::string appendRoleNodeHelper(const std::string &portName, argument 98 std::string node("/sys/class/typec/" + portName); 140 void switchToDrp(const std::string &portName) { argument 142 appendRoleNodeHelper(std::string(portName.c_str()), PortRoleType::MODE); 160 bool switchMode(const hidl_string &portName, argument 163 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type); 210 switchToDrp(std::string(portName.c_str())); 240 Return<void> Usb::switchRole(const hidl_string &portName, argument 243 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type); 259 roleSwitch = switchMode(portName, newRol 297 getAccessoryConnected(const std::string &portName, std::string *accessory) argument 310 getCurrentRoleHelper(const std::string &portName, bool connected, PortRoleType type, uint32_t *currentRole) argument 388 std::unordered_map<std::string, bool>::const_iterator portName = local 406 canSwitchRoleHelper(const std::string &portName, PortRoleType ) argument [all...] |
Completed in 7 milliseconds