Lines Matching refs:ret

167     const Return<bool> ret = preparedModel->linkToDeath(deathHandler, 0);  in makeVersionedIPreparedModel()  local
168 if (ret.isDeadObject()) { in makeVersionedIPreparedModel()
173 if (!ret.isOk()) { in makeVersionedIPreparedModel()
176 << ret.description(); in makeVersionedIPreparedModel()
179 if (ret != true) { in makeVersionedIPreparedModel()
227 Return<ErrorStatus> ret = mPreparedModelV1_3->execute_1_3(request, measure, otp, in executeAsynchronously() local
229 if (ret.isDeadObject()) { in executeAsynchronously()
230 LOG(ERROR) << "execute_1_3 failure: " << ret.description(); in executeAsynchronously()
233 if (!ret.isOk()) { in executeAsynchronously()
234 LOG(ERROR) << "execute_1_3 failure: " << ret.description(); in executeAsynchronously()
237 if (ret != ErrorStatus::NONE) { in executeAsynchronously()
238 LOG(ERROR) << "execute_1_3 returned " << toString(static_cast<ErrorStatus>(ret)); in executeAsynchronously()
239 return failWithStatus(ret); in executeAsynchronously()
253 Return<V1_0::ErrorStatus> ret = in executeAsynchronously() local
255 if (ret.isDeadObject()) { in executeAsynchronously()
256 LOG(ERROR) << "execute_1_2 failure: " << ret.description(); in executeAsynchronously()
259 if (!ret.isOk()) { in executeAsynchronously()
260 LOG(ERROR) << "execute_1_2 failure: " << ret.description(); in executeAsynchronously()
263 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in executeAsynchronously()
280 Return<V1_0::ErrorStatus> ret = mPreparedModelV1_0->execute(request10, callback); in executeAsynchronously() local
281 if (ret.isDeadObject()) { in executeAsynchronously()
282 LOG(ERROR) << "execute failure: " << ret.description(); in executeAsynchronously()
285 if (!ret.isOk()) { in executeAsynchronously()
286 LOG(ERROR) << "execute failure: " << ret.description(); in executeAsynchronously()
289 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in executeAsynchronously()
314 Return<void> ret = mPreparedModelV1_3->executeSynchronously_1_3( in executeSynchronously() local
320 if (ret.isDeadObject()) { in executeSynchronously()
321 LOG(ERROR) << "executeSynchronously_1_3 failure: " << ret.description(); in executeSynchronously()
324 if (!ret.isOk()) { in executeSynchronously()
325 LOG(ERROR) << "executeSynchronously_1_3 failure: " << ret.description(); in executeSynchronously()
341 Return<void> ret = mPreparedModelV1_2->executeSynchronously( in executeSynchronously() local
347 if (ret.isDeadObject()) { in executeSynchronously()
348 LOG(ERROR) << "executeSynchronously failure: " << ret.description(); in executeSynchronously()
351 if (!ret.isOk()) { in executeSynchronously()
352 LOG(ERROR) << "executeSynchronously failure: " << ret.description(); in executeSynchronously()
405 const Return<void> ret = device->getCapabilities_1_3( in getCapabilitiesFunction() local
409 if (!ret.isOk()) { in getCapabilitiesFunction()
410 LOG(ERROR) << "getCapabilities_1_3 failure: " << ret.description(); in getCapabilitiesFunction()
429 Return<void> ret = mPreparedModelV1_3->executeFenced( in executeFenced() local
438 if (!ret.isOk()) { in executeFenced()
439 LOG(ERROR) << "executeFenced failure: " << ret.description(); in executeFenced()
483 const Return<void> ret = device->getCapabilities_1_2( in getCapabilitiesFunction() local
487 if (!ret.isOk()) { in getCapabilitiesFunction()
488 LOG(ERROR) << "getCapabilities_1_2 failure: " << ret.description(); in getCapabilitiesFunction()
499 const Return<void> ret = device->getCapabilities_1_1( in getCapabilitiesFunction() local
504 if (!ret.isOk()) { in getCapabilitiesFunction()
505 LOG(ERROR) << "getCapabilities_1_1 failure: " << ret.description(); in getCapabilitiesFunction()
516 const Return<void> ret = device->getCapabilities( in getCapabilitiesFunction() local
521 if (!ret.isOk()) { in getCapabilitiesFunction()
522 LOG(ERROR) << "getCapabilities failure: " << ret.description(); in getCapabilitiesFunction()
534 const Return<void> ret = device->getSupportedExtensions( in getSupportedExtensionsFunction() local
538 if (!ret.isOk()) { in getSupportedExtensionsFunction()
539 LOG(ERROR) << "getSupportedExtensions failure: " << ret.description(); in getSupportedExtensionsFunction()
555 const Return<void> ret = in getTypeFunction() local
561 if (!ret.isOk()) { in getTypeFunction()
562 LOG(ERROR) << "getType failure: " << ret.description(); in getTypeFunction()
577 const Return<void> ret = device->getVersionString( in getVersionStringFunction() local
581 if (!ret.isOk()) { in getVersionStringFunction()
582 LOG(ERROR) << "getVersion failure: " << ret.description(); in getVersionStringFunction()
599 const Return<void> ret = device->getNumberOfCacheFilesNeeded( in getNumberOfCacheFilesNeededFunction() local
603 if (!ret.isOk()) { in getNumberOfCacheFilesNeededFunction()
604 LOG(ERROR) << "getNumberOfCacheFilesNeeded failure: " << ret.description(); in getNumberOfCacheFilesNeededFunction()
767 const Return<bool> ret = device->linkToDeath(deathHandler, 0); in create() local
768 if (!ret.isOk()) { in create()
771 << ret.description(); in create()
774 if (ret != true) { in create()
835 Return<T_Return> ret = fn(device); in callProtected() local
846 if (!ret.isOk() || ret != T_Return::NONE) { in callProtected()
854 if (ret.isOk()) { in callProtected()
855 LOG(ERROR) << context << " returned " << toString(static_cast<T_Return>(ret)); in callProtected()
857 LOG(ERROR) << context << " failure: " << ret.description(); in callProtected()
862 return ret; in callProtected()
882 Return<T_Return> ret = callProtected(context, fn, device, callback, deathHandler); in recoverable() local
884 if (ret.isDeadObject()) { in recoverable()
897 return ret; in recoverable()
903 return ret; in recoverable()
916 ret = callProtected(context, fn, device, callback, deathHandler); in recoverable()
920 return ret; in recoverable()
991 Return<void> ret = recoverable<void, V1_3::IDevice>( in getSupportedOperations() local
998 if (!ret.isOk()) { in getSupportedOperations()
999 LOG(ERROR) << "getSupportedOperations_1_3 failure: " << ret.description(); in getSupportedOperations()
1020 Return<void> ret = recoverable<void, V1_2::IDevice>( in getSupportedOperations() local
1028 if (!ret.isOk()) { in getSupportedOperations()
1029 LOG(ERROR) << "getSupportedOperations_1_2 failure: " << ret.description(); in getSupportedOperations()
1053 Return<void> ret = recoverable<void, V1_1::IDevice>( in getSupportedOperations() local
1061 if (!ret.isOk()) { in getSupportedOperations()
1062 LOG(ERROR) << "getSupportedOperations_1_1 failure: " << ret.description(); in getSupportedOperations()
1086 Return<void> ret = recoverable<void, V1_0::IDevice>( in getSupportedOperations() local
1094 if (!ret.isOk()) { in getSupportedOperations()
1095 LOG(ERROR) << "getSupportedOperations failure: " << ret.description(); in getSupportedOperations()
1233 const Return<ErrorStatus> ret = recoverable<ErrorStatus, V1_3::IDevice>( in prepareModelInternal() local
1241 if (ret.isDeadObject()) { in prepareModelInternal()
1242 LOG(ERROR) << "prepareModel_1_3 failure: " << ret.description(); in prepareModelInternal()
1245 if (!ret.isOk()) { in prepareModelInternal()
1246 LOG(ERROR) << "prepareModel_1_3 failure: " << ret.description(); in prepareModelInternal()
1249 if (ret != ErrorStatus::NONE) { in prepareModelInternal()
1250 LOG(ERROR) << "prepareModel_1_3 returned " << toString(static_cast<ErrorStatus>(ret)); in prepareModelInternal()
1251 return prepareModelFailure(ret); in prepareModelInternal()
1272 const Return<V1_0::ErrorStatus> ret = recoverable<V1_0::ErrorStatus, V1_2::IDevice>( in prepareModelInternal() local
1280 if (ret.isDeadObject()) { in prepareModelInternal()
1281 LOG(ERROR) << "prepareModel_1_2 failure: " << ret.description(); in prepareModelInternal()
1284 if (!ret.isOk()) { in prepareModelInternal()
1285 LOG(ERROR) << "prepareModel_1_2 failure: " << ret.description(); in prepareModelInternal()
1288 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in prepareModelInternal()
1316 const Return<V1_0::ErrorStatus> ret = recoverable<V1_0::ErrorStatus, V1_1::IDevice>( in prepareModelInternal() local
1322 if (ret.isDeadObject()) { in prepareModelInternal()
1323 LOG(ERROR) << "prepareModel_1_1 failure: " << ret.description(); in prepareModelInternal()
1326 if (!ret.isOk()) { in prepareModelInternal()
1327 LOG(ERROR) << "prepareModel_1_1 failure: " << ret.description(); in prepareModelInternal()
1330 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in prepareModelInternal()
1358 const Return<V1_0::ErrorStatus> ret = recoverable<V1_0::ErrorStatus, V1_0::IDevice>( in prepareModelInternal() local
1364 if (ret.isDeadObject()) { in prepareModelInternal()
1365 LOG(ERROR) << "prepareModel failure: " << ret.description(); in prepareModelInternal()
1368 if (!ret.isOk()) { in prepareModelInternal()
1369 LOG(ERROR) << "prepareModel failure: " << ret.description(); in prepareModelInternal()
1372 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in prepareModelInternal()
1410 const Return<ErrorStatus> ret = recoverable<ErrorStatus, V1_3::IDevice>( in prepareModelFromCacheInternal() local
1418 if (ret.isDeadObject()) { in prepareModelFromCacheInternal()
1419 LOG(ERROR) << "prepareModelFromCache_1_3 failure: " << ret.description(); in prepareModelFromCacheInternal()
1422 if (!ret.isOk()) { in prepareModelFromCacheInternal()
1423 LOG(ERROR) << "prepareModelFromCache_1_3 failure: " << ret.description(); in prepareModelFromCacheInternal()
1426 if (ret != ErrorStatus::NONE) { in prepareModelFromCacheInternal()
1428 << toString(static_cast<ErrorStatus>(ret)); in prepareModelFromCacheInternal()
1429 return prepareModelFailure(ret); in prepareModelFromCacheInternal()
1437 const Return<V1_0::ErrorStatus> ret = recoverable<V1_0::ErrorStatus, V1_2::IDevice>( in prepareModelFromCacheInternal() local
1443 if (ret.isDeadObject()) { in prepareModelFromCacheInternal()
1444 LOG(ERROR) << "prepareModelFromCache failure: " << ret.description(); in prepareModelFromCacheInternal()
1447 if (!ret.isOk()) { in prepareModelFromCacheInternal()
1448 LOG(ERROR) << "prepareModelFromCache failure: " << ret.description(); in prepareModelFromCacheInternal()
1451 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in prepareModelFromCacheInternal()
1537 const Return<void> ret = recoverable<void, V1_3::IDevice>( in allocate() local
1545 if (!ret.isOk()) { in allocate()
1546 LOG(ERROR) << "allocate failure: " << ret.description(); in allocate()