Lines Matching refs:Status

261         roleSwitch ? Status::SUCCESS : Status::ERROR);  in switchRole()
273 Status getAccessoryConnected(const std::string &portName, std::string *accessory) { in getAccessoryConnected()
280 return Status::ERROR; in getAccessoryConnected()
283 return Status::SUCCESS; in getAccessoryConnected()
286 Status getCurrentRoleHelper(const std::string &portName, bool connected, in getCurrentRoleHelper()
304 return Status::ERROR; in getCurrentRoleHelper()
307 if (!connected) return Status::SUCCESS; in getCurrentRoleHelper()
310 if (getAccessoryConnected(portName, &accessory) != Status::SUCCESS) { in getCurrentRoleHelper()
311 return Status::ERROR; in getCurrentRoleHelper()
315 return Status::SUCCESS; in getCurrentRoleHelper()
318 return Status::SUCCESS; in getCurrentRoleHelper()
325 return Status::ERROR; in getCurrentRoleHelper()
348 return Status::UNRECOGNIZED_ROLE; in getCurrentRoleHelper()
351 return Status::SUCCESS; in getCurrentRoleHelper()
354 Status getTypeCPortNamesHelper(std::unordered_map<std::string, bool> *names) { in getTypeCPortNamesHelper()
375 return Status::SUCCESS; in getTypeCPortNamesHelper()
379 return Status::ERROR; in getTypeCPortNamesHelper()
401 Status getPortStatusHelper(hidl_vec<PortStatus_1_1> *currentPortStatus_1_1, in getPortStatusHelper()
404 Status result = getTypeCPortNamesHelper(&names); in getPortStatusHelper()
407 if (result == Status::SUCCESS) { in getPortStatusHelper()
417 &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
426 &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
435 &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
467 return Status::SUCCESS; in getPortStatusHelper()
470 return Status::ERROR; in getPortStatusHelper()
476 Status status; in queryPortStatus()
545 Status status = getPortStatusHelper(&currentPortStatus_1_1, false); in uevent_event()
549 Status status = getPortStatusHelper(&currentPortStatus_1_1, true); in uevent_event()