Home
last modified time | relevance | path

Searched refs:kNoTiming (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCallbacks.cpp29 constexpr Timing kNoTiming = {.timeOnDevice = std::numeric_limits<uint64_t>::max(), variable
77 notifyInternal(errorStatus, {}, kNoTiming); in notify()
88 notifyInternal(ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in notify_1_2()
96 notifyInternal(ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in notify_1_2()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCallbacks.cpp30 constexpr Timing kNoTiming = {.timeOnDevice = std::numeric_limits<uint64_t>::max(), variable
88 return notifyInternal(static_cast<ErrorStatus>(errorStatus), {}, kNoTiming); in notify()
132 timing = kNoTiming; in notifyInternal()
141 timing = kNoTiming; in notifyInternal()
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DPreparedModelTest.cpp42 constexpr auto kNoTiming = V1_2::Timing{.timeOnDevice = std::numeric_limits<uint64_t>::max(),
182 .WillOnce(Invoke(makeExecuteSynchronously(V1_3::ErrorStatus::NONE, {}, kNoTiming))); in TEST()
200 makeExecuteSynchronously(V1_3::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming))); in TEST()
252 V1_3::ErrorStatus::NONE, {}, kNoTiming))); in TEST()
271 kNoTiming))); in TEST()
289 V1_3::ErrorStatus::NONE, V1_3::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming))); in TEST()
362 .WillOnce(Invoke(makeExecuteFencedCallbackReturn(V1_3::ErrorStatus::NONE, kNoTiming, in TEST()
363 kNoTiming))); in TEST()
393 kNoTiming, kNoTiming))); in TEST()
475 Invoke(makeExecuteSynchronously(V1_3::ErrorStatus::NONE, {}, kNoTiming))); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DPreparedModelTest.cpp41 constexpr auto kNoTiming = V1_2::Timing{.timeOnDevice = std::numeric_limits<uint64_t>::max(),
154 .WillOnce(Invoke(makeExecuteSynchronously(V1_0::ErrorStatus::NONE, {}, kNoTiming))); in TEST()
172 makeExecuteSynchronously(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming))); in TEST()
224 V1_0::ErrorStatus::NONE, {}, kNoTiming))); in TEST()
243 kNoTiming))); in TEST()
261 V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming))); in TEST()
347 Invoke(makeExecuteSynchronously(V1_0::ErrorStatus::NONE, {}, kNoTiming))); in TEST()
371 makeExecuteSynchronously(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming))); in TEST()
436 V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE, {}, kNoTiming))); in TEST()
461 kNoTiming))); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DPreparedModelTest.cpp43 constexpr auto kNoTiming = Timing{.timeOnDeviceNs = -1, .timeInDriverNs = -1};
87 .timing = kNoTiming, in TEST()
157 .WillOnce(DoAll(SetArgPointee<0>(kNoTiming), SetArgPointee<1>(kNoTiming), in TEST()
186 .WillOnce(Invoke(DoAll(SetArgPointee<0>(kNoTiming), SetArgPointee<1>(kNoTiming), in TEST()
265 .timing = kNoTiming, in TEST()
354 .WillRepeatedly(DoAll(SetArgPointee<0>(kNoTiming), SetArgPointee<1>(kNoTiming), in TEST()
389 .WillOnce(Invoke(DoAll(SetArgPointee<0>(kNoTiming), SetArgPointee<1>(kNoTiming), in TEST()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DExecutionBurstServer.cpp50 constexpr V1_2::Timing kNoTiming = {std::numeric_limits<uint64_t>::max(), variable
213 mResultChannelSender->send(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in task()
232 kNoTiming); in task()
DConversions.cpp239 constexpr uint64_t kNoTiming = std::numeric_limits<uint64_t>::max(); in unvalidatedConvert() local
240 if (halTiming == kNoTiming) { in unvalidatedConvert()
522 constexpr uint64_t kNoTiming = std::numeric_limits<uint64_t>::max(); in unvalidatedConvert() local
524 return kNoTiming; in unvalidatedConvert()
DExecutionBurstUtils.cpp43 constexpr V1_2::Timing kNoTiming = {std::numeric_limits<uint64_t>::max(), variable
592 serialize(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in sendPacket()
638 const auto data = serialize(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in notifyAsDeadObject()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DQualityOfServiceTests.cpp174 {static_cast<ErrorStatus>(ret.getServiceSpecificError()), {}, kNoTiming}); in executeSynchronously()
212 {static_cast<ErrorStatus>(ret.getServiceSpecificError()), {}, kNoTiming}); in executeBurst()
235 EXPECT_EQ(timing, kNoTiming); in runExecutionTest()
DUtils.h46 inline constexpr Timing kNoTiming = {.timeOnDeviceNs = -1, .timeInDriverNs = -1}; variable
DMemoryDomainTests.cpp917 EXPECT_EQ(executionResult.timing, kNoTiming); in executeSync()
937 Timing time = kNoTiming; in executeFenced()
938 Timing timeFenced = kNoTiming; in executeFenced()
942 EXPECT_EQ(time, kNoTiming); in executeFenced()
971 EXPECT_EQ(executionResult.timing, kNoTiming); in executeBurst()
DGeneratedTestHarness.cpp563 Timing timing = kNoTiming; in EvaluatePreparedModel()
687 EXPECT_EQ(timing, kNoTiming); in EvaluatePreparedModel()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DUtils.h40 using V1_2::utils::kNoTiming;
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DUtils.h41 constexpr auto kNoTiming = Timing{.timeOnDevice = std::numeric_limits<uint64_t>::max(),
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DPreparedModel.cpp74 cb(status, V1_2::utils::kNoTiming, V1_2::utils::kNoTiming); in getExecutionInfo()
353 V1_2::utils::kNoTiming); in executeSynchronously()
372 V1_2::utils::kNoTiming); in executeSynchronously_1_3()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp63 constexpr int64_t kNoTiming = -1; variable
420 if (halTiming == kNoTiming) { in unvalidatedConvert()
983 return kNoTiming; in unvalidatedConvert()
990 return kNoTiming; in unvalidatedConvert()