Lines Matching refs:ret
40 status_t processReturn(const char* funcName, const Return<R>& ret, T *retval) { in processReturn() argument
41 if (ret.isOk()) { in processReturn()
43 *retval = static_cast<T>(static_cast<R>(ret)); in processReturn()
46 return processReturn(funcName, ret); in processReturn()
50 status_t processReturn(const char* funcName, const Return<T>& ret) { in processReturn() argument
51 if (!ret.isOk()) { in processReturn()
52 emitError(funcName, ret.description().c_str()); in processReturn()
54 return ret.isOk() ? OK : FAILED_TRANSACTION; in processReturn()
57 status_t processReturn(const char* funcName, const Return<hardware::audio::V2_0::Result>& ret) { in processReturn() argument
58 if (!ret.isOk()) { in processReturn()
59 emitError(funcName, ret.description().c_str()); in processReturn()
61 return ret.isOk() ? analyzeResult(ret) : FAILED_TRANSACTION; in processReturn()
66 const char* funcName, const Return<T>& ret, hardware::audio::V2_0::Result retval) { in processReturn() argument
67 if (!ret.isOk()) { in processReturn()
68 emitError(funcName, ret.description().c_str()); in processReturn()
70 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; in processReturn()