Home
last modified time | relevance | path

Searched refs:resultToStatus (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/macsec/aidl/default/
DMacsecPskPlugin.cpp46 static ndk::ScopedAStatus resultToStatus(binder_exception_t res, const std::string& msg = "") { in resultToStatus() function
140 return resultToStatus(EX_ILLEGAL_ARGUMENT, "CAK length must be 16 or 32 bytes"); in addTestKey()
144 return resultToStatus(EX_ILLEGAL_ARGUMENT, "Key ID must be same as CAK length"); in addTestKey()
203 return resultToStatus(EX_ILLEGAL_ARGUMENT, "Key not exist"); in calcIcv()
208 return resultToStatus(EX_SERVICE_SPECIFIC, "Internal error"); in calcIcv()
220 return resultToStatus(EX_ILLEGAL_ARGUMENT, "Invalid SAK length"); in generateSak()
224 return resultToStatus(EX_ILLEGAL_ARGUMENT, "Invalid data length"); in generateSak()
235 return resultToStatus(EX_ILLEGAL_ARGUMENT, "Key not exist"); in generateSak()
242 return resultToStatus(EX_SERVICE_SPECIFIC, "Internal error"); in generateSak()
252 return resultToStatus(EX_ILLEGAL_ARGUMENT, in wrapSak()
[all …]
/hardware/interfaces/automotive/can/aidl/default/
DCanController.cpp77 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()
[all …]