Searched refs:PortRoleType (Results 1 – 8 of 8) sorted by relevance
/device/google/bonito/usb/ |
D | Usb.cpp | 71 PortRoleType type) { in appendRoleNodeHelper() 75 case PortRoleType::DATA_ROLE: in appendRoleNodeHelper() 77 case PortRoleType::POWER_ROLE: in appendRoleNodeHelper() 79 case PortRoleType::MODE: in appendRoleNodeHelper() 87 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString() 92 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString() 96 } else if (role.type == PortRoleType::MODE) { in convertRoletoString() 116 appendRoleNodeHelper(std::string(portName.c_str()), PortRoleType::MODE); in switchToDrp() 232 if (newRole.type == PortRoleType::MODE) { in switchRole() 285 PortRoleType type, uint32_t *currentRole) { in getCurrentRoleHelper() [all …]
|
D | Usb.h | 24 using ::android::hardware::usb::V1_0::PortRoleType;
|
/device/google/wahoo/usb/ |
D | Usb.cpp | 97 PortRoleType type) { in appendRoleNodeHelper() 101 case PortRoleType::DATA_ROLE: in appendRoleNodeHelper() 103 case PortRoleType::POWER_ROLE: in appendRoleNodeHelper() 105 case PortRoleType::MODE: in appendRoleNodeHelper() 113 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString() 118 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString() 122 } else if (role.type == PortRoleType::MODE) { in convertRoletoString() 142 appendRoleNodeHelper(std::string(portName.c_str()), PortRoleType::MODE); in switchToDrp() 258 if (newRole.type == PortRoleType::MODE) { in switchRole() 311 PortRoleType type, uint32_t *currentRole) { in getCurrentRoleHelper() [all …]
|
D | Usb.h | 24 using ::android::hardware::usb::V1_0::PortRoleType;
|
/device/google/crosshatch/usb/ |
D | Usb.cpp | 73 PortRoleType type) { in appendRoleNodeHelper() 77 case PortRoleType::DATA_ROLE: in appendRoleNodeHelper() 79 case PortRoleType::POWER_ROLE: in appendRoleNodeHelper() 81 case PortRoleType::MODE: in appendRoleNodeHelper() 89 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString() 94 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString() 98 } else if (role.type == PortRoleType::MODE) { in convertRoletoString() 118 appendRoleNodeHelper(std::string(portName.c_str()), PortRoleType::MODE); in switchToDrp() 234 if (newRole.type == PortRoleType::MODE) { in switchRole() 287 PortRoleType type, uint32_t *currentRole) { in getCurrentRoleHelper() [all …]
|
D | Usb.h | 24 using ::android::hardware::usb::V1_0::PortRoleType;
|
/device/google/coral/usb/ |
D | Usb.cpp | 159 std::string appendRoleNodeHelper(const std::string &portName, PortRoleType type) { in appendRoleNodeHelper() 163 case PortRoleType::DATA_ROLE: in appendRoleNodeHelper() 165 case PortRoleType::POWER_ROLE: in appendRoleNodeHelper() 167 case PortRoleType::MODE: in appendRoleNodeHelper() 175 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString() 180 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString() 185 } else if (role.type == PortRoleType::MODE) { in convertRoletoString() 206 std::string filename = appendRoleNodeHelper(std::string(portName.c_str()), PortRoleType::MODE); in switchToDrp() 316 if (newRole.type == PortRoleType::MODE) { in switchRole() 365 Status getCurrentRoleHelper(const std::string &portName, bool connected, PortRoleType type, in getCurrentRoleHelper() [all …]
|
D | Usb.h | 33 using ::android::hardware::usb::V1_0::PortRoleType;
|