Lines Matching refs:ret

113     const Return<bool> ret = preparedModel->linkToDeath(deathHandler, 0);  in makeVersionedIPreparedModel()  local
114 if (!ret.isOk() || ret != true) { in makeVersionedIPreparedModel()
144 Return<ErrorStatus> ret = mPreparedModelV1_2->execute_1_2(request, measure, callback); in execute() local
145 if (!ret.isOk()) { in execute()
147 LOG(ERROR) << "execute_1_2 failure: " << ret.description(); in execute()
150 if (ret != ErrorStatus::NONE) { in execute()
152 LOG(ERROR) << "execute_1_2 returned " << toString(static_cast<ErrorStatus>(ret)); in execute()
153 return static_cast<ErrorStatus>(ret); in execute()
156 return static_cast<ErrorStatus>(ret); in execute()
158 Return<ErrorStatus> ret = mPreparedModelV1_0->execute(request, callback); in execute() local
159 if (!ret.isOk()) { in execute()
161 LOG(ERROR) << "execute failure: " << ret.description(); in execute()
164 if (ret != ErrorStatus::NONE) { in execute()
166 LOG(ERROR) << "execute returned " << toString(static_cast<ErrorStatus>(ret)); in execute()
167 return static_cast<ErrorStatus>(ret); in execute()
170 return static_cast<ErrorStatus>(ret); in execute()
185 Return<void> ret = mPreparedModelV1_2->executeSynchronously( in executeSynchronously() local
191 if (!ret.isOk()) { in executeSynchronously()
192 LOG(ERROR) << "executeSynchronously failure: " << ret.description(); in executeSynchronously()
199 ErrorStatus ret = execute(request, measure, callback); in executeSynchronously() local
200 if (ret != ErrorStatus::NONE) { in executeSynchronously()
201 return {ret, {}, kBadTiming}; in executeSynchronously()
260 const Return<bool> ret = device->linkToDeath(deathHandler, 0); in create() local
261 if (!ret.isOk() || ret != true) { in create()
320 Return<ErrorStatus> ret = fn(device); in callProtected() local
331 if (!ret.isOk() || ret != ErrorStatus::NONE) { in callProtected()
339 if (ret.isOk()) { in callProtected()
340 LOG(ERROR) << context << " returned " << toString(static_cast<ErrorStatus>(ret)); in callProtected()
342 LOG(ERROR) << context << " failure: " << ret.description(); in callProtected()
347 return ret; in callProtected()
367 Return<T_Return> ret = callProtected(context, fn, device, callback, deathHandler); in recoverable() local
369 if (ret.isDeadObject()) { in recoverable()
382 return ret; in recoverable()
388 return ret; in recoverable()
401 ret = callProtected(context, fn, device, callback, deathHandler); in recoverable()
405 return ret; in recoverable()
414 Return<void> ret = recoverable<void, V1_2::IDevice>( in getCapabilities() local
421 if (!ret.isOk()) { in getCapabilities()
422 LOG(ERROR) << "getCapabilities_1_2 failure: " << ret.description(); in getCapabilities()
427 Return<void> ret = recoverable<void, V1_1::IDevice>( in getCapabilities() local
435 if (!ret.isOk()) { in getCapabilities()
436 LOG(ERROR) << "getCapabilities_1_1 failure: " << ret.description(); in getCapabilities()
441 Return<void> ret = recoverable<void, V1_0::IDevice>( in getCapabilities() local
449 if (!ret.isOk()) { in getCapabilities()
450 LOG(ERROR) << "getCapabilities failure: " << ret.description(); in getCapabilities()
466 Return<void> ret = recoverable<void, V1_2::IDevice>( in getSupportedExtensions() local
473 if (!ret.isOk()) { in getSupportedExtensions()
474 LOG(ERROR) << "getSupportedExtensions failure: " << ret.description(); in getSupportedExtensions()
514 Return<void> ret = recoverable<void, V1_2::IDevice>( in getSupportedOperations() local
521 if (!ret.isOk()) { in getSupportedOperations()
522 LOG(ERROR) << "getSupportedOperations_1_2 failure: " << ret.description(); in getSupportedOperations()
544 Return<void> ret = recoverable<void, V1_1::IDevice>( in getSupportedOperations() local
552 if (!ret.isOk()) { in getSupportedOperations()
553 LOG(ERROR) << "getSupportedOperations_1_1 failure: " << ret.description(); in getSupportedOperations()
578 Return<void> ret = recoverable<void, V1_0::IDevice>( in getSupportedOperations() local
586 if (!ret.isOk()) { in getSupportedOperations()
587 LOG(ERROR) << "getSupportedOperations failure: " << ret.description(); in getSupportedOperations()
614 const Return<ErrorStatus> ret = recoverable<ErrorStatus, V1_2::IDevice>( in prepareModel() local
622 if (!ret.isOk()) { in prepareModel()
623 LOG(ERROR) << "prepareModel_1_2 failure: " << ret.description(); in prepareModel()
626 if (ret != ErrorStatus::NONE) { in prepareModel()
627 LOG(ERROR) << "prepareModel_1_2 returned " << toString(static_cast<ErrorStatus>(ret)); in prepareModel()
650 const Return<ErrorStatus> ret = recoverable<ErrorStatus, V1_1::IDevice>( in prepareModel() local
656 if (!ret.isOk()) { in prepareModel()
657 LOG(ERROR) << "prepareModel_1_1 failure: " << ret.description(); in prepareModel()
660 if (ret != ErrorStatus::NONE) { in prepareModel()
662 << toString(static_cast<ErrorStatus>(ret)); in prepareModel()
690 const Return<ErrorStatus> ret = recoverable<ErrorStatus, V1_0::IDevice>( in prepareModel() local
696 if (!ret.isOk()) { in prepareModel()
697 LOG(ERROR) << "prepareModel failure: " << ret.description(); in prepareModel()
700 if (ret != ErrorStatus::NONE) { in prepareModel()
701 LOG(ERROR) << "prepareModel returned " << toString(static_cast<ErrorStatus>(ret)); in prepareModel()
732 const Return<ErrorStatus> ret = recoverable<ErrorStatus, V1_2::IDevice>( in prepareModelFromCache() local
738 if (!ret.isOk()) { in prepareModelFromCache()
739 LOG(ERROR) << "prepareModelFromCache failure: " << ret.description(); in prepareModelFromCache()
742 if (ret != ErrorStatus::NONE) { in prepareModelFromCache()
744 << toString(static_cast<ErrorStatus>(ret)); in prepareModelFromCache()
766 Return<DeviceStatus> ret = recoverable<DeviceStatus, V1_0::IDevice>( in getStatus() local
769 if (!ret.isOk()) { in getStatus()
770 LOG(ERROR) << "getStatus failure: " << ret.description(); in getStatus()
773 return static_cast<DeviceStatus>(ret); in getStatus()
796 Return<void> ret = recoverable<void, V1_2::IDevice>( in getType() local
802 if (!ret.isOk()) { in getType()
803 LOG(ERROR) << "getType failure: " << ret.description(); in getType()
818 Return<void> ret = recoverable<void, V1_2::IDevice>( in getVersionString() local
825 if (!ret.isOk()) { in getVersionString()
826 LOG(ERROR) << "getVersion failure: " << ret.description(); in getVersionString()
844 Return<void> ret = recoverable<void, V1_2::IDevice>( in getNumberOfCacheFilesNeeded() local
852 if (!ret.isOk()) { in getNumberOfCacheFilesNeeded()
853 LOG(ERROR) << "getNumberOfCacheFilesNeeded failure: " << ret.description(); in getNumberOfCacheFilesNeeded()