Home
last modified time | relevance | path

Searched refs:executeSynchronously (Results 1 – 25 of 48) sorted by relevance

12

/hardware/interfaces/neuralnetworks/1.2/utils/src/
DPreparedModel.cpp50 sp<V1_2::IPreparedModel> preparedModel, bool executeSynchronously) { in create() argument
56 return std::make_shared<const PreparedModel>(PrivateConstructorTag{}, executeSynchronously, in create()
60 PreparedModel::PreparedModel(PrivateConstructorTag /*tag*/, bool executeSynchronously, in PreparedModel() argument
63 : kExecuteSynchronously(executeSynchronously), in PreparedModel()
68 PreparedModel::executeSynchronously(const V1_0::Request& request, MeasureTiming measure) const { in executeSynchronously() function in android::hardware::neuralnetworks::V1_2::utils::PreparedModel
71 const auto ret = kPreparedModel->executeSynchronously(request, measure, cb); in executeSynchronously()
117 auto result = kExecuteSynchronously ? executeSynchronously(request, measure) in executeInternal()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DPreparedModel.h45 sp<V1_2::IPreparedModel> preparedModel, bool executeSynchronously);
47 PreparedModel(PrivateConstructorTag tag, bool executeSynchronously,
79 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executeSynchronously(
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DPreparedModel.cpp89 sp<V1_3::IPreparedModel> preparedModel, bool executeSynchronously) { in create() argument
95 return std::make_shared<const PreparedModel>(PrivateConstructorTag{}, executeSynchronously, in create()
99 PreparedModel::PreparedModel(PrivateConstructorTag /*tag*/, bool executeSynchronously, in PreparedModel() argument
102 : kExecuteSynchronously(executeSynchronously), in PreparedModel()
107 PreparedModel::executeSynchronously(const Request& request, V1_2::MeasureTiming measure, in executeSynchronously() function in android::hardware::neuralnetworks::V1_3::utils::PreparedModel
167 ? executeSynchronously(request, measure, deadline, loopTimeoutDuration) in executeInternal()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DPreparedModel.h44 sp<V1_3::IPreparedModel> preparedModel, bool executeSynchronously);
46 PreparedModel(PrivateConstructorTag tag, bool executeSynchronously,
86 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executeSynchronously(
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateRequest.cpp64 const auto executeStatus = execution->executeSynchronously(kNoDeadline, &executionResult); in validateReusableExecution()
107 const auto executeStatus = preparedModel->executeSynchronously( in validate()
142 const auto executeStatus = burst->executeSynchronously( in validate()
256 burst->executeSynchronously(request, slots, /*measure=*/false, kNoDeadline, in validateBurst()
309 const auto executeStatus = preparedModel->executeSynchronously( in validateRequestFailure()
DQualityOfServiceTests.cpp158 static MaybeResults executeSynchronously(const std::shared_ptr<IPreparedModel>& preparedModel, in executeSynchronously() function
165 const auto ret = preparedModel->executeSynchronously(request, measure, deadlineNs, in executeSynchronously()
203 ret = burst->executeSynchronously(request, slots, measure, deadlineNs, kOmittedTimeoutDuration, in executeBurst()
226 const ExecutionFunction execute = synchronous ? executeSynchronously : executeBurst; in runExecutionTest()
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DExecutionTest.cpp86 EXPECT_CALL(*mockExecution, executeSynchronously(_, _)) in TEST()
103 EXPECT_CALL(*mockExecution, executeSynchronously(_, _)) in TEST()
119 EXPECT_CALL(*mockExecution, executeSynchronously(_, _)) in TEST()
135 EXPECT_CALL(*mockExecution, executeSynchronously(_, _)) in TEST()
DMockExecution.h31 MOCK_METHOD(ndk::ScopedAStatus, executeSynchronously,
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DBurst.cpp93 nn::ExecutionResult<ExecutionResult> executeSynchronously( in executeSynchronously() function
154 ndk::ScopedAStatus Burst::executeSynchronously(const Request& request, in executeSynchronously() function in aidl::android::hardware::neuralnetworks::adapter::Burst
160 adapter::executeSynchronously(*kBurst, kMemoryCache, request, memoryIdentifierTokens, in executeSynchronously()
175 auto result = adapter::executeSynchronously( in executeSynchronouslyWithConfig()
DPreparedModel.cpp121 nn::ExecutionResult<ExecutionResult> executeSynchronously( in executeSynchronously() function
194 nn::ExecutionResult<ExecutionResult> executeSynchronously(const nn::IExecution& execution, in executeSynchronously() function
242 ndk::ScopedAStatus PreparedModel::executeSynchronously(const Request& request, bool measureTiming, in executeSynchronously() function in aidl::android::hardware::neuralnetworks::adapter::PreparedModel
246 auto result = adapter::executeSynchronously(*kPreparedModel, request, measureTiming, deadlineNs, in executeSynchronously()
278 auto result = adapter::executeSynchronously( in executeSynchronouslyWithConfig()
344 ndk::ScopedAStatus Execution::executeSynchronously(int64_t deadlineNs, in executeSynchronously() function in aidl::android::hardware::neuralnetworks::adapter::Execution
346 auto result = adapter::executeSynchronously(*kExecution, deadlineNs); in executeSynchronously()
/hardware/interfaces/neuralnetworks/1.2/
DIPreparedModel.hal66 * Any number of calls to the execute, execute_1_2, and executeSynchronously
96 * executeSynchronously must verify the inputs to the function are
97 * correct. If there is an error, executeSynchronously must immediately
99 * function are valid and there is no error, executeSynchronously must
105 * {@link @1.0::RequestArgument}) until executeSynchronously
106 * returns. executeSynchronously must not change the content of any of the
116 * Any number of calls to the execute, execute_1_2, and executeSynchronously
124 * to the executeSynchronously function to the time the driver
145 executeSynchronously(Request request, MeasureTiming measure)
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DIExecution.aidl37 android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in long deadlineNs); in executeSynchronously() method
DIBurst.aidl37 …android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in android.hardware.neuralnet… in executeSynchronously() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIExecution.aidl37 android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in long deadlineNs); in executeSynchronously() method
DIBurst.aidl37 …android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in android.hardware.neuralnet… in executeSynchronously() method
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIExecution.aidl92 ExecutionResult executeSynchronously(in long deadlineNs); in executeSynchronously() method
DIBurst.aidl105 ExecutionResult executeSynchronously(in Request request, in long[] memoryIdentifierTokens, in executeSynchronously() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIBurst.aidl37 …android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in android.hardware.neuralnet… in executeSynchronously() method
DIPreparedModel.aidl37 …android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in android.hardware.neuralnet… in executeSynchronously() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DIBurst.aidl37 …android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in android.hardware.neuralnet… in executeSynchronously() method
DIPreparedModel.aidl37 …android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in android.hardware.neuralnet… in executeSynchronously() method
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DIBurst.aidl37 …android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in android.hardware.neuralnet… in executeSynchronously() method
DIPreparedModel.aidl37 …android.hardware.neuralnetworks.ExecutionResult executeSynchronously(in android.hardware.neuralnet… in executeSynchronously() method
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DPreparedModelTest.cpp152 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
169 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
187 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
204 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
344 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
368 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
390 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
411 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _)) in TEST()
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DExecution.h44 ndk::ScopedAStatus executeSynchronously(int64_t deadlineNs,

12