Searched refs:toAStatus (Results 1 – 1 of 1) sorted by relevance
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | InvalidDevice.cpp | 37 ndk::ScopedAStatus toAStatus(ErrorStatus errorStatus, const std::string& errorMessage) { in toAStatus() function 86 return toAStatus(ErrorStatus::GENERAL_FAILURE, "InvalidDevice"); in allocate() 108 return toAStatus(ErrorStatus::INVALID_ARGUMENT, result.error()); in getSupportedOperations() 130 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in prepareModel() 135 return toAStatus(ErrorStatus::INVALID_ARGUMENT, result.error()); in prepareModel() 139 return toAStatus(ErrorStatus::INVALID_ARGUMENT, result.error()); in prepareModel() 143 return toAStatus(ErrorStatus::INVALID_ARGUMENT, result.error()); in prepareModel() 147 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in prepareModel() 152 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in prepareModel() 157 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in prepareModel() [all …]
|