Home
last modified time | relevance | path

Searched refs:optionalTimePoint (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp252 const hal::V1_3::OptionalTimePoint& optionalTimePoint) { in unvalidatedConvert() argument
254 switch (optionalTimePoint.getDiscriminator()) { in unvalidatedConvert()
262 makeNanosFromUint64(optionalTimePoint.nanosecondsSinceEpoch()); in unvalidatedConvert()
286 << underlyingType(optionalTimePoint.getDiscriminator()); in unvalidatedConvert()
340 GeneralResult<OptionalTimePoint> convert(const hal::V1_3::OptionalTimePoint& optionalTimePoint) { in convert() argument
341 return validatedConvert(optionalTimePoint); in convert()
592 const nn::OptionalTimePoint& optionalTimePoint) { in unvalidatedConvert() argument
597 if (optionalTimePoint.has_value()) { in unvalidatedConvert()
598 const auto bootTimePoint = optionalTimePoint.value(); in unvalidatedConvert()
672 nn::GeneralResult<OptionalTimePoint> convert(const nn::OptionalTimePoint& optionalTimePoint) { in convert() argument
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h161 nn::GeneralResult<int64_t> unvalidatedConvert(const nn::OptionalTimePoint& optionalTimePoint);
178 nn::GeneralResult<int64_t> convert(const nn::OptionalTimePoint& optionalTimePoint);
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp988 nn::GeneralResult<int64_t> unvalidatedConvert(const nn::OptionalTimePoint& optionalTimePoint) { in unvalidatedConvert() argument
989 if (!optionalTimePoint.has_value()) { in unvalidatedConvert()
992 return unvalidatedConvert(optionalTimePoint->time_since_epoch()); in unvalidatedConvert()