/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | Callbacks.cpp | 29 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/ |
D | Callbacks.cpp | 30 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/ |
D | PreparedModelTest.cpp | 42 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/ |
D | PreparedModelTest.cpp | 41 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/ |
D | PreparedModelTest.cpp | 43 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/ |
D | ExecutionBurstServer.cpp | 50 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()
|
D | Conversions.cpp | 239 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()
|
D | ExecutionBurstUtils.cpp | 43 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/ |
D | QualityOfServiceTests.cpp | 174 {static_cast<ErrorStatus>(ret.getServiceSpecificError()), {}, kNoTiming}); in executeSynchronously() 212 {static_cast<ErrorStatus>(ret.getServiceSpecificError()), {}, kNoTiming}); in executeBurst() 235 EXPECT_EQ(timing, kNoTiming); in runExecutionTest()
|
D | Utils.h | 46 inline constexpr Timing kNoTiming = {.timeOnDeviceNs = -1, .timeInDriverNs = -1}; variable
|
D | MemoryDomainTests.cpp | 917 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()
|
D | GeneratedTestHarness.cpp | 563 Timing timing = kNoTiming; in EvaluatePreparedModel() 687 EXPECT_EQ(timing, kNoTiming); in EvaluatePreparedModel()
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Utils.h | 40 using V1_2::utils::kNoTiming;
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Utils.h | 41 constexpr auto kNoTiming = Timing{.timeOnDevice = std::numeric_limits<uint64_t>::max(),
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | PreparedModel.cpp | 74 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/ |
D | Conversions.cpp | 63 constexpr int64_t kNoTiming = -1; variable 420 if (halTiming == kNoTiming) { in unvalidatedConvert() 983 return kNoTiming; in unvalidatedConvert() 990 return kNoTiming; in unvalidatedConvert()
|