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.cpp247 constexpr auto convertTiming = [](uint64_t halTiming) -> OptionalDuration { in unvalidatedConvert() argument
249 if (halTiming == kNoTiming) { in unvalidatedConvert()
252 if (halTiming > kMaxTiming) { in unvalidatedConvert()
255 return HalDuration{halTiming}; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp440 constexpr auto convertTiming = [](int64_t halTiming) -> OptionalDuration { in unvalidatedConvert() argument
441 if (halTiming == kNoTiming) { in unvalidatedConvert()
444 return nn::Duration(static_cast<uint64_t>(halTiming)); in unvalidatedConvert()