Home
last modified time | relevance | path

Searched refs:hasStartedDuration (Results 1 – 6 of 6) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp123 if (hasStartedDuration()) { in noteStop()
152 bool MaxDurationTracker::hasStartedDuration() const { in hasStartedDuration() function in android::os::statsd::MaxDurationTracker
286 if (hasStartedDuration()) { in noteConditionChanged()
DDurationTracker.h156 if (alarmTimeNs <= updateTimeNs || hasStartedDuration()) { in addAnomalyTracker()
163 virtual bool hasStartedDuration() const = 0;
DMaxDurationTracker.h72 bool hasStartedDuration() const override;
DOringDurationTracker.h70 bool hasStartedDuration() const override;
DOringDurationTracker.cpp374 bool OringDurationTracker::hasStartedDuration() const { in hasStartedDuration() function in android::os::statsd::OringDurationTracker
/packages/modules/StatsD/statsd/tests/metrics/
DMaxDurationTracker_test.cpp494 EXPECT_FALSE(tracker.hasStartedDuration()); in TEST()
498 EXPECT_TRUE(tracker.hasStartedDuration()); in TEST()
501 EXPECT_FALSE(tracker.hasStartedDuration()); in TEST()