Home
last modified time | relevance | path

Searched refs:maxElapsed (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp320 int64_t maxElapsed = 0; in predictAnomalyTimestampNs() local
325 if (duration > maxElapsed) { in predictAnomalyTimestampNs()
326 maxElapsed = duration; in predictAnomalyTimestampNs()
330 int64_t anomalyTimeNs = currentTimestamp + anomalyTracker.getAnomalyThreshold() - maxElapsed; in predictAnomalyTimestampNs()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java1129 final long maxElapsed; in reAddAlarmLocked() local
1132 maxElapsed = whenElapsed; in reAddAlarmLocked()
1137 maxElapsed = (a.windowLength > 0) in reAddAlarmLocked()
1142 a.expectedMaxWhenElapsed = a.maxWhenElapsed = maxElapsed; in reAddAlarmLocked()
1743 final long maxElapsed; in setImpl() local
1745 maxElapsed = triggerElapsed; in setImpl()
1747 maxElapsed = maxTriggerTime(nowElapsed, triggerElapsed, interval); in setImpl()
1749 windowLength = maxElapsed - triggerElapsed; in setImpl()
1751 maxElapsed = triggerElapsed + windowLength; in setImpl()
1757 + " tElapsed=" + triggerElapsed + " maxElapsed=" + maxElapsed in setImpl()
[all …]