Home
last modified time | relevance | path

Searched refs:halTiming (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp238 constexpr auto convertTiming = [](uint64_t halTiming) -> OptionalDuration { in unvalidatedConvert() argument
240 if (halTiming == kNoTiming) { in unvalidatedConvert()
243 if (halTiming > kMaxTiming) { in unvalidatedConvert()
246 return HalDuration{halTiming}; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp419 constexpr auto convertTiming = [](int64_t halTiming) -> OptionalDuration { in unvalidatedConvert() argument
420 if (halTiming == kNoTiming) { in unvalidatedConvert()
423 return nn::Duration(static_cast<uint64_t>(halTiming)); in unvalidatedConvert()