Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DConversions.h46 const hal::V1_3::OptionalTimePoint& optionalTimePoint);
56 GeneralResult<OptionalTimePoint> convert(const hal::V1_3::OptionalTimePoint& optionalTimePoint);
86 const nn::OptionalTimePoint& optionalTimePoint);
96 nn::GeneralResult<OptionalTimePoint> convert(const nn::OptionalTimePoint& optionalTimePoint);
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp270 const hal::V1_3::OptionalTimePoint& optionalTimePoint) { in unvalidatedConvert() argument
272 switch (optionalTimePoint.getDiscriminator()) { in unvalidatedConvert()
280 makeNanosFromUint64(optionalTimePoint.nanosecondsSinceEpoch()); in unvalidatedConvert()
304 << underlyingType(optionalTimePoint.getDiscriminator()); in unvalidatedConvert()
358 GeneralResult<OptionalTimePoint> convert(const hal::V1_3::OptionalTimePoint& optionalTimePoint) { in convert() argument
359 return validatedConvert(optionalTimePoint); in convert()
631 const nn::OptionalTimePoint& optionalTimePoint) { in unvalidatedConvert() argument
636 if (optionalTimePoint.has_value()) { in unvalidatedConvert()
637 const auto bootTimePoint = optionalTimePoint.value(); in unvalidatedConvert()
711 nn::GeneralResult<OptionalTimePoint> convert(const nn::OptionalTimePoint& optionalTimePoint) { in convert() argument
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h180 nn::GeneralResult<int64_t> unvalidatedConvert(const nn::OptionalTimePoint& optionalTimePoint);
202 nn::GeneralResult<int64_t> convert(const nn::OptionalTimePoint& optionalTimePoint);
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp1108 nn::GeneralResult<int64_t> unvalidatedConvert(const nn::OptionalTimePoint& optionalTimePoint) { in unvalidatedConvert() argument
1109 if (!optionalTimePoint.has_value()) { in unvalidatedConvert()
1112 return unvalidatedConvert(optionalTimePoint->time_since_epoch()); in unvalidatedConvert()