Lines Matching refs:toAStatus
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()
162 return toAStatus( in prepareModel()
175 return toAStatus(ErrorStatus::INVALID_ARGUMENT, "Invalid extensionNameToPrefix"); in prepareModelWithConfig()
187 return toAStatus(ErrorStatus::INVALID_ARGUMENT, in prepareModelWithConfig()
202 return toAStatus(ErrorStatus::GENERAL_FAILURE, "InvalidDevice"); in prepareModelFromCache()