Home
last modified time | relevance | path

Searched refs:makeDeadline (Results 1 – 13 of 13) sorted by relevance

/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h106 TimePoint makeDeadline(Duration duration);
108 inline TimePoint makeDeadline(uint64_t duration) { in makeDeadline() function
109 return makeDeadline(makeTimeoutDuration(duration)); in makeDeadline()
115 inline OptionalTimePoint makeDeadline(OptionalDuration duration) { in makeDeadline() function
116 return duration.has_value() ? std::make_optional(makeDeadline(*duration)) : OptionalTimePoint{}; in makeDeadline()
118 inline OptionalTimePoint makeDeadline(std::optional<uint64_t> duration) { in makeDeadline() function
119 return duration.has_value() ? std::make_optional(makeDeadline(*duration)) : OptionalTimePoint{}; in makeDeadline()
121 inline OptionalTimePoint makeDeadline(int64_t duration) { in makeDeadline() function
122 return makeDeadline(makeTimeoutDuration(duration)); in makeDeadline()
DLegacyHalUtils.h48 LegacyOptionalTimePoint makeDeadline(const V1_3::OptionalTimePoint& timePoint);
51 LegacyOptionalTimePoint makeDeadline(const V1_3::OptionalTimeoutDuration& optionalDuration);
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriverUtils.h80 const auto deadline = makeDeadline(halDeadline);
DSampleDriverFloatXNNPACK.cpp1683 const auto deadline = makeDeadline(halDeadline); in executeXNNPACKBase()
1739 const auto deadline = makeDeadline(halDeadline); in executeSynchronouslyXNNPACKBase()
1794 const auto deadline = makeDeadline(halDeadline); in executeFenced()
DSampleDriver.cpp693 const auto timeoutDurationDeadline = makeDeadline(duration.nanoseconds()); in executeFenced()
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidlUtils.cpp131 const auto deadline = makeDeadline(halDeadline); in prepareModelBase()
DSampleDriverAidl.cpp428 const auto deadline = makeDeadline(halDeadlineNs); in executeSynchronously()
522 const auto deadline = makeDeadline(halDeadlineNs); in executeFenced()
539 const auto timeoutDurationDeadline = makeDeadline(durationNs); in executeFenced()
/packages/modules/NeuralNetworks/runtime/
DCompilationBuilder.cpp65 const auto deadline = makeDeadline(mTimeoutDuration); in finish()
DExecutionBuilder.cpp1038 const auto deadline = makeDeadline(mTimeoutDuration); in computeFenced()
1085 const auto deadline = makeDeadline(mTimeoutDuration); in compute()
DManager.cpp1115 const auto timeoutDurationDeadline = makeDeadline(*duration); in executeFenced()
1261 const auto timeoutDurationDeadline = makeDeadline(*duration); in computeFenced()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp226 const auto timeoutDurationDeadline = makeDeadline(*timeoutDurationAfterFence); in executeFenced()
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp54 LegacyOptionalTimePoint makeDeadline(const V1_3::OptionalTimePoint& timePoint) { in makeDeadline() function
63 LegacyOptionalTimePoint makeDeadline(const V1_3::OptionalTimeoutDuration& optionalDuration) { in makeDeadline() function
DLegacyUtils.cpp82 TimePoint makeDeadline(Duration duration) { in makeDeadline() function