Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h160 nn::GeneralResult<int64_t> unvalidatedConvert(const nn::OptionalDuration& optionalDuration);
177 nn::GeneralResult<int64_t> convert(const nn::OptionalDuration& optionalDuration);
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp981 nn::GeneralResult<int64_t> unvalidatedConvert(const nn::OptionalDuration& optionalDuration) { in unvalidatedConvert() argument
982 if (!optionalDuration.has_value()) { in unvalidatedConvert()
985 return unvalidatedConvert(optionalDuration.value()); in unvalidatedConvert()
1053 nn::GeneralResult<int64_t> convert(const nn::OptionalDuration& optionalDuration) { in convert() argument
1054 return validatedConvert(optionalDuration); in convert()