Searched refs:ResilientExecution (Results 1 – 5 of 5) sorted by relevance
40 auto protect(const ResilientExecution& resilientExecution, const FnType& fn) in protect()66 nn::GeneralResult<std::shared_ptr<const ResilientExecution>> ResilientExecution::create( in create()74 return std::make_shared<ResilientExecution>(PrivateConstructorTag{}, std::move(makeExecution), in create()78 ResilientExecution::ResilientExecution(PrivateConstructorTag /*tag*/, Factory makeExecution, in ResilientExecution() function in android::hardware::neuralnetworks::utils::ResilientExecution85 nn::SharedExecution ResilientExecution::getExecution() const { in getExecution()90 nn::GeneralResult<nn::SharedExecution> ResilientExecution::recover( in recover()104 ResilientExecution::compute(const nn::OptionalTimePoint& deadline) const { in compute()112 ResilientExecution::computeFenced(const std::vector<nn::SyncFence>& waitFor, in computeFenced()122 bool ResilientExecution::isValidInternal() const { in isValidInternal()
121 ResilientExecution::Factory makeExecution = in createReusableExecution()125 return ResilientExecution::create(std::move(makeExecution)); in createReusableExecution()
137 ResilientExecution::Factory makeExecution = in createReusableExecution()141 return ResilientExecution::create(std::move(makeExecution)); in createReusableExecution()
33 class ResilientExecution final : public nn::IExecution,34 public std::enable_shared_from_this<ResilientExecution> {40 static nn::GeneralResult<std::shared_ptr<const ResilientExecution>> create(43 ResilientExecution(PrivateConstructorTag tag, Factory makeExecution,
39 std::shared_ptr<const ResilientExecution>>46 auto buffer = ResilientExecution::create(mockExecutionFactory->AsStdFunction()).value(); in setup()67 const auto invalidExecutionFactory = ResilientExecution::Factory{}; in TEST()70 const auto result = ResilientExecution::create(invalidExecutionFactory); in TEST()82 const auto result = ResilientExecution::create(invalidExecutionFactory); in TEST()