Lines Matching refs:resultToStatus
77 static ndk::ScopedAStatus resultToStatus(Result res, const std::string& msg = "") { in resultToStatus() function
238 return resultToStatus(Result::BAD_BUS_NAME, fmt::format("{} doesn't exist", busName)); in getInterfaceName()
247 return resultToStatus(Result::BAD_BUS_NAME, in upBus()
251 return resultToStatus(Result::INVALID_STATE, in upBus()
269 return resultToStatus( in upBus()
289 return resultToStatus( in upBus()
302 return resultToStatus(Result::NOT_SUPPORTED, in upBus()
306 return resultToStatus(Result::UNKNOWN_ERROR, "Unknown interface id type"); in upBus()
313 return resultToStatus(result, fmt::format("CanBus::up failed for {}", config.name)); in upBus()
322 return resultToStatus( in downBus()
328 return resultToStatus(result, fmt::format("Couldn't bring down {}!", busName)); in downBus()