Searched refs:in_role (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/usb/aidl/default/ |
D | Usb.cpp | 200 bool switchMode(const string &portName, const PortRole &in_role, struct Usb *usb) { in switchMode() argument 201 string filename = appendRoleNodeHelper(string(portName.c_str()), in_role.getTag()); in switchMode() 218 int ret = fputs(convertRoletoString(in_role).c_str(), fp); in switchMode() 279 const PortRole& in_role, int64_t in_transactionId) { in switchRole() argument 280 string filename = appendRoleNodeHelper(string(in_portName.c_str()), in_role.getTag()); in switchRole() 292 ALOGI("filename write: %s role:%s", filename.c_str(), convertRoletoString(in_role).c_str()); in switchRole() 294 if (in_role.getTag() == PortRole::mode) { in switchRole() 295 roleSwitch = switchMode(in_portName, in_role, this); in switchRole() 299 int ret = fputs(convertRoletoString(in_role).c_str(), fp); in switchRole() 305 if (written == convertRoletoString(in_role)) { in switchRole() [all …]
|
D | Usb.h | 53 ScopedAStatus switchRole(const string& in_portName, const PortRole& in_role,
|