Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp49 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()
DDurationTracker.h46 int64_t lastDuration; member
50 DurationInfo() : state(kStopped), startCount(0), lastStartTime(0), lastDuration(0){}; in DurationInfo()
/frameworks/native/libs/input/
DVelocityTracker.cpp968 nsecs_t lastDuration = 0; in getEstimator() local
985 accumVx = (accumVx * lastDuration + vx * duration) / (duration + lastDuration); in getEstimator()
986 accumVy = (accumVy * lastDuration + vy * duration) / (duration + lastDuration); in getEstimator()
987 lastDuration = duration; in getEstimator()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5004 long lastDuration = elapsedRealtime - mLastIdleTimeStart; in noteDeviceIdleModeLocked() local
5007 if (lastDuration > mLongestLightIdleTime) { in noteDeviceIdleModeLocked()
5008 mLongestLightIdleTime = lastDuration; in noteDeviceIdleModeLocked()
5012 if (lastDuration > mLongestFullIdleTime) { in noteDeviceIdleModeLocked()
5013 mLongestFullIdleTime = lastDuration; in noteDeviceIdleModeLocked()