Home
last modified time | relevance | path

Searched refs:executeSynchronously (Results 1 – 25 of 30) 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()
116 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,
74 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executeSynchronously(
/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,
81 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executeSynchronously(
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateRequest.cpp62 const auto executeStatus = preparedModel->executeSynchronously( in validate()
97 const auto executeStatus = burst->executeSynchronously( in validate()
154 burst->executeSynchronously(request, slots, /*measure=*/false, kNoDeadline, in validateBurst()
207 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()
DMemoryDomainTests.cpp196 ndk::ScopedAStatus executeSynchronously(const Request&, bool, int64_t, int64_t, in executeSynchronously() function in aidl::android::hardware::neuralnetworks::vts::functional::__anon8cacb56e0111::InvalidPreparedModel
907 const auto ret = preparedModel->executeSynchronously( in executeSync()
961 ret = burst->executeSynchronously(request, slots, false, kNoDeadline, in executeBurst()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DPreparedModel.cpp90 sp<V1_3::IPreparedModel> preparedModel, bool executeSynchronously) { in create() argument
96 return std::make_shared<const PreparedModel>(PrivateConstructorTag{}, executeSynchronously, in create()
100 PreparedModel::PreparedModel(PrivateConstructorTag /*tag*/, bool executeSynchronously, in PreparedModel() argument
103 : kExecuteSynchronously(executeSynchronously), in PreparedModel()
108 PreparedModel::executeSynchronously(const Request& request, V1_2::MeasureTiming measure, in executeSynchronously() function in android::hardware::neuralnetworks::V1_3::utils::PreparedModel
169 ? executeSynchronously(request, measure, deadline, loopTimeoutDuration) in executeInternal()
/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/current/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/android/hardware/neuralnetworks/
DIBurst.aidl102 ExecutionResult executeSynchronously(in Request request, in long[] memoryIdentifierTokens, in executeSynchronously() method
DIPreparedModel.aidl97 ExecutionResult executeSynchronously(in Request request, in boolean measureTiming, in executeSynchronously() method
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DMockBurst.h30 MOCK_METHOD(ndk::ScopedAStatus, executeSynchronously,
DPreparedModelTest.cpp89 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
106 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
122 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
138 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
267 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
290 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
310 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
330 EXPECT_CALL(*mockPreparedModel, executeSynchronously(_, _, _, _, _)) in TEST()
DMockPreparedModel.h33 MOCK_METHOD(ndk::ScopedAStatus, 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/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()
DMockPreparedModel.h48 MOCK_METHOD(Return<void>, executeSynchronously,
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateRequest.cpp82 Return<void> executeStatus = preparedModel->executeSynchronously( in validate()
160 Return<void> executeStatus = preparedModel->executeSynchronously( in validateRequestFailure()
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DPreparedModel.h52 Return<void> executeSynchronously(const V1_0::Request& request, V1_2::MeasureTiming measure,
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DMockPreparedModel.h48 MOCK_METHOD(Return<void>, executeSynchronously,
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DQualityOfServiceTests.cpp193 static MaybeResults executeSynchronously(const sp<IPreparedModel>& preparedModel, in executeSynchronously() function
219 const ExecutionFunction execute = synchronous ? executeSynchronously : executeAsynchronously; in runExecutionTest()
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DPreparedModel.cpp224 nn::ExecutionResult<std::pair<hidl_vec<V1_2::OutputShape>, V1_2::Timing>> executeSynchronously( in executeSynchronously() function
344 Return<void> PreparedModel::executeSynchronously(const V1_0::Request& request, in executeSynchronously() function in android::hardware::neuralnetworks::adapter::PreparedModel
347 auto result = adapter::executeSynchronously(kPreparedModel, request, measure); in executeSynchronously()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DPreparedModel.cpp104 const auto ret = kPreparedModel->executeSynchronously(request, measure, deadline, in executeInternal()

12