Searched refs:kStarted (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
H A DMaxDurationTracker.cpp96 case kStarted:
107 duration.state = DurationState::kStarted;
130 case DurationState::kStarted: {
171 if (pair.second.state == kStarted) {
206 false; // has either a kStarted or kPaused event across bucket boundaries
285 case kStarted:
286 // If condition becomes false, kStarted -> kPaused. Record the current duration and
303 // If condition becomes true, kPaused -> kStarted. and the start time is the condition
306 it->second.state = DurationState::kStarted;
322 if (it->second.state == DurationState::kStarted) {
[all...]
H A DDurationTracker.h31 kStarted = 1, // The event is on going. enumerator in enum:android::os::statsd::DurationState
33 // turns to true, kPaused will become kStarted.

Completed in 23 milliseconds