Searched refs:lastDuration (Results 1 – 4 of 4) sorted by relevance
49 it->second.lastDuration = 0; in clone()139 duration.lastDuration += durationTime; in noteStop()145 VLOG(" record duration: %lld ", (long long)duration.lastDuration); in noteStop()158 if (duration.lastDuration > mDuration) { in noteStop()159 mDuration = duration.lastDuration; in noteStop()291 it->second.lastDuration += (timestamp - it->second.lastStartTime); in noteConditionChanged()324 it->second.lastDuration + (currentTimestamp - it->second.lastStartTime); in predictAnomalyTimestampNs()
46 int64_t lastDuration; member50 DurationInfo() : state(kStopped), startCount(0), lastStartTime(0), lastDuration(0){}; in DurationInfo()
968 nsecs_t lastDuration = 0; in getEstimator() local985 accumVx = (accumVx * lastDuration + vx * duration) / (duration + lastDuration); in getEstimator()986 accumVy = (accumVy * lastDuration + vy * duration) / (duration + lastDuration); in getEstimator()987 lastDuration = duration; in getEstimator()
5004 long lastDuration = elapsedRealtime - mLastIdleTimeStart; in noteDeviceIdleModeLocked() local5007 if (lastDuration > mLongestLightIdleTime) { in noteDeviceIdleModeLocked()5008 mLongestLightIdleTime = lastDuration; in noteDeviceIdleModeLocked()5012 if (lastDuration > mLongestFullIdleTime) { in noteDeviceIdleModeLocked()5013 mLongestFullIdleTime = lastDuration; in noteDeviceIdleModeLocked()