Home
last modified time | relevance | path

Searched refs:burstContext (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/neuralnetworks/1.2/utils/src/
DBurst.cpp81 V1_0::ErrorStatus status, const sp<IBurstContext>& burstContext) { in executionBurstResultCallback() argument
84 if (burstContext == nullptr) { in executionBurstResultCallback()
88 return burstContext; in executionBurstResultCallback()
118 void Burst::MemoryCache::setBurstContext(sp<IBurstContext> burstContext) { in setBurstContext() argument
120 mBurstContext = std::move(burstContext); in setBurstContext()
272 auto burstContext = NN_TRY(cb.take()); in create() local
273 memoryCache->setBurstContext(burstContext); in create()
276 auto deathHandler = NN_TRY(neuralnetworks::utils::DeathHandler::create(burstContext)); in create()
283 std::move(resultChannelReceiver), std::move(burstCallback), std::move(burstContext), in create()
290 sp<ExecutionBurstCallback> callback, sp<IBurstContext> burstContext, in Burst() argument
[all …]
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateBurst.cpp79 sp<IBurstContext> burstContext; in createBurst() local
82 [&errorStatus, &burstContext](ErrorStatus status, const sp<IBurstContext>& context) { in createBurst()
84 burstContext = context; in createBurst()
88 ASSERT_NE(nullptr, burstContext.get()); in createBurst()
93 *context = burstContext; in createBurst()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateBurst.cpp84 sp<IBurstContext> burstContext; in createBurst() local
87 [&errorStatus, &burstContext](V1_0::ErrorStatus status, in createBurst()
90 burstContext = context; in createBurst()
94 ASSERT_NE(nullptr, burstContext.get()); in createBurst()
99 *context = burstContext; in createBurst()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DBurst.h99 void setBurstContext(sp<IBurstContext> burstContext);
163 sp<ExecutionBurstCallback> callback, sp<IBurstContext> burstContext,
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DPreparedModelTest.cpp74 const sp<MockBurstContext>& burstContext) { in makeConfigureExecutionBurstReturn() argument
75 return [status, burstContext]( in makeConfigureExecutionBurstReturn()
80 cb(status, burstContext); in makeConfigureExecutionBurstReturn()
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DPreparedModel.cpp383 const auto burstContext = std::move(result).value(); in configureExecutionBurst() local
384 cb(V1_0::ErrorStatus::NONE, burstContext); in configureExecutionBurst()
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DPreparedModelTest.cpp102 const sp<MockBurstContext>& burstContext) { in makeConfigureExecutionBurstReturn() argument
103 return [status, burstContext]( in makeConfigureExecutionBurstReturn()
108 cb(status, burstContext); in makeConfigureExecutionBurstReturn()