Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/multihal/include/
DScopedWakelock.h47 int64_t* timeoutStart = nullptr) = 0;
56 int64_t timeoutStart = -1) = 0;
DHalProxy.h133 int64_t* timeoutStart = nullptr) override;
135 void decrementRefCountAndMaybeReleaseWakelock(size_t delta, int64_t timeoutStart = -1) override;
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp602 int64_t* timeoutStart /* = nullptr */) { in incrementRefCountAndMaybeAcquireWakelock() argument
611 if (timeoutStart != nullptr) { in incrementRefCountAndMaybeAcquireWakelock()
612 *timeoutStart = mWakelockTimeoutStartTime; in incrementRefCountAndMaybeAcquireWakelock()
618 int64_t timeoutStart /* = -1 */) { in decrementRefCountAndMaybeReleaseWakelock() argument
621 if (timeoutStart == -1) timeoutStart = mWakelockTimeoutResetTime; in decrementRefCountAndMaybeReleaseWakelock()
622 if (mWakelockRefCount == 0 || timeoutStart < mWakelockTimeoutResetTime) return; in decrementRefCountAndMaybeReleaseWakelock()