Home
last modified time | relevance | path

Searched refs:compute (Results 1 – 25 of 36) sorted by relevance

12

/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientExecution.cpp100 TEST(ResilientExecutionTest, compute) { in TEST() argument
103 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(Return(kNoExecutionError)); in TEST()
106 const auto result = execution->compute({}); in TEST()
116 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
119 const auto result = execution->compute({}); in TEST()
129 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
133 const auto result = execution->compute({}); in TEST()
143 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
145 EXPECT_CALL(*recoveredMockExecution, compute(_)).Times(1).WillOnce(Return(kNoExecutionError)); in TEST()
149 const auto result = execution->compute({}); in TEST()
DMockExecution.h28 MOCK_METHOD((ExecutionResult<std::pair<std::vector<OutputShape>, Timing>>), compute,
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DPreparedModelTest.cpp357 const auto computeResult = createResult.value()->compute({}); in TEST()
380 const auto computeResult = createResult.value()->compute({}); in TEST()
401 const auto computeResult = createResult.value()->compute({}); in TEST()
422 const auto computeResult = createResult.value()->compute({}); in TEST()
446 const auto computeResult = createResult.value()->compute({}); in TEST()
470 const auto computeResult = createResult.value()->compute({}); in TEST()
492 const auto computeResult = createResult.value()->compute({}); in TEST()
513 const auto computeResult = createResult.value()->compute({}); in TEST()
534 const auto computeResult = createResult.value()->compute({}); in TEST()
557 const auto computeResult = createResult.value()->compute({}); in TEST()
/hardware/interfaces/neuralnetworks/1.0/utils/test/
DPreparedModelTest.cpp245 const auto computeResult = createResult.value()->compute({}); in TEST()
267 const auto computeResult = createResult.value()->compute({}); in TEST()
288 const auto computeResult = createResult.value()->compute({}); in TEST()
308 const auto computeResult = createResult.value()->compute({}); in TEST()
328 const auto computeResult = createResult.value()->compute({}); in TEST()
350 const auto computeResult = createResult.value()->compute({}); in TEST()
/hardware/interfaces/neuralnetworks/utils/common/src/
DInvalidExecution.cpp28 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> InvalidExecution::compute( in compute() function in android::hardware::neuralnetworks::utils::InvalidExecution
DResilientExecution.cpp104 ResilientExecution::compute(const nn::OptionalTimePoint& deadline) const { in compute() function in android::hardware::neuralnetworks::utils::ResilientExecution
106 return execution.compute(deadline); in compute()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.cpp223 static inline int compute(const uint32_t& x, const uint32_t& y, in compute() function
233 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource()
236 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource()
240 srcCrop.x = compute(whf.h, in preRotateSource()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp307 static inline int compute(const uint32_t& x, const uint32_t& y, in compute() function
314 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource()
317 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource()
321 srcCrop.x = compute(whf.h, in preRotateSource()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp314 static inline int compute(const uint32_t& x, const uint32_t& y, in compute() function
321 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource()
324 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource()
328 srcCrop.x = compute(whf.h, in preRotateSource()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DInvalidExecution.h31 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> compute(
DResilientExecution.h49 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> compute(
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.cpp303 static inline int compute(const uint32_t& x, const uint32_t& y, in compute() function
310 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource()
313 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource()
317 srcCrop.x = compute(whf.h, in preRotateSource()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DExecution.cpp60 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> Execution::compute( in compute() function in android::hardware::neuralnetworks::V1_0::utils::Execution
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DExecution.h49 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> compute(
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DExecution.h49 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> compute(
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DExecution.h48 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> compute(
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DExecution.h50 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> compute(
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DPreparedModelTest.cpp485 const auto computeResult = createResult.value()->compute({}); in TEST()
508 const auto computeResult = createResult.value()->compute({}); in TEST()
529 const auto computeResult = createResult.value()->compute({}); in TEST()
550 const auto computeResult = createResult.value()->compute({}); in TEST()
574 const auto computeResult = createResult.value()->compute({}); in TEST()
598 const auto computeResult = createResult.value()->compute({}); in TEST()
637 const auto computeResult = createResult.value()->compute({}); in TEST()
658 const auto computeResult = createResult.value()->compute({}); in TEST()
683 const auto computeResult = createResult.value()->compute({}); in TEST()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DExecution.cpp61 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> Execution::compute( in compute() function in aidl::android::hardware::neuralnetworks::utils::Execution
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DExecution.cpp66 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> Execution::compute( in compute() function in android::hardware::neuralnetworks::V1_3::utils::Execution
/hardware/interfaces/power/stats/1.0/
Dtypes.hal51 * A subsystem is a self-contained compute unit. Some examples include
57 * compute unit. Some examples include simple sensors, camera, display.
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DPreparedModelTest.cpp280 const auto computeResult = createResult.value()->compute({}); in TEST()
301 const auto computeResult = createResult.value()->compute({}); in TEST()
321 const auto computeResult = createResult.value()->compute({}); in TEST()
341 const auto computeResult = createResult.value()->compute({}); in TEST()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateRequest.cpp110 const auto [n, outputShapes, timing, fallback] = burst->compute(request, measure, keys); in validate()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateRequest.cpp118 const auto [n, outputShapes, timing, fallback] = burst->compute(request10, measure, keys); in validate()
DValidateBurst.cpp305 controllerRegular->compute(request, MeasureTiming::NO, keys); in validateBurstFmqLength()
321 controllerSmall->compute(request, MeasureTiming::NO, keys); in validateBurstFmqLength()

12