/frameworks/base/cmds/statsd/tests/external/ |
D | StatsPuller_test.cpp | 88 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 102 EXPECT_EQ(2222L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 116 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 186 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 199 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F()
|
/frameworks/base/cmds/statsd/tests/log_event/ |
D | LogEventQueue_test.cpp | 51 EXPECT_EQ(timeBaseNs + i * 1000, event->GetElapsedTimestampNs()); in TEST() 86 EXPECT_EQ(timeBaseNs + i * 1000, event->GetElapsedTimestampNs()); in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | DurationMetricProducer.cpp | 713 event.GetElapsedTimestampNs(), conditionKeys); in handleStartEvent() 719 event.GetElapsedTimestampNs(), conditionKeys); in handleStartEvent() 724 dimensionKey, condition, event.GetElapsedTimestampNs(), conditionKeys); in handleStartEvent() 738 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked() 744 flushIfNeededLocked(event.GetElapsedTimestampNs()); in onMatchedLogEventLocked() 751 pair.second->noteStopAll(event.GetElapsedTimestampNs()); in onMatchedLogEventLocked() 770 condIt.second->noteStop(dimensionInWhat, event.GetElapsedTimestampNs(), false); in onMatchedLogEventLocked() 785 internalDimensionKey, event.GetElapsedTimestampNs(), false); in onMatchedLogEventLocked()
|
D | EventMetricProducer.cpp | 150 event.GetTagId(), event.GetElapsedTimestampNs()); in onMatchedLogEventInternalLocked()
|
D | MetricProducer.cpp | 46 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked()
|
D | CountMetricProducer.cpp | 280 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked()
|
D | MetricsManager.cpp | 362 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onLogEvent()
|
D | GaugeMetricProducer.cpp | 466 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked()
|
D | ValueMetricProducer.cpp | 668 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEventQueue.cpp | 51 *oldestTimestampNs = mQueue.front()->GetElapsedTimestampNs(); in push()
|
D | LogEvent.h | 117 inline int64_t GetElapsedTimestampNs() const { return mElapsedTimestampNs; } in GetElapsedTimestampNs() function
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 306 EXPECT_EQ((int64_t)2001, event1.GetElapsedTimestampNs()); in TEST() 429 EXPECT_EQ(1111L, event.GetElapsedTimestampNs()); in TEST() 500 EXPECT_EQ(1111L, event.GetElapsedTimestampNs()); in TEST() 509 EXPECT_EQ(1111L, event1.GetElapsedTimestampNs()); in TEST() 528 EXPECT_EQ(1111L, event2.GetElapsedTimestampNs()); in TEST() 543 EXPECT_EQ(1111L, event3.GetElapsedTimestampNs()); in TEST()
|
D | StatsLogProcessor_test.cpp | 517 const int64_t ttl3 = event->GetElapsedTimestampNs() + in TEST() 519 const int64_t ttl5 = event->GetElapsedTimestampNs() + in TEST() 521 const int64_t ttl6 = event->GetElapsedTimestampNs() + in TEST() 1375 EXPECT_EQ(screenOnEvent->GetElapsedTimestampNs(), activation1001_2->start_ns); in TEST() 1387 int64_t ttl2 = screenOnEvent->GetElapsedTimestampNs() + in TEST() 1481 EXPECT_EQ(screenOnEvent->GetElapsedTimestampNs(), activationTimeBase3_2->start_ns); in TEST()
|
D | statsd_test_util.cpp | 480 return a->GetElapsedTimestampNs() < b->GetElapsedTimestampNs(); in sortLogEventsByTimestamp()
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 386 return a->GetElapsedTimestampNs() < b->GetElapsedTimestampNs(); in sortLogEventsByTimestamp()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | CountMetricProducer_test.cpp | 390 std::ceil(1.0 * event5.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST() 396 std::ceil(1.0 * event7.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
|
D | GaugeMetricProducer_test.cpp | 624 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC) + refPeriodSec); in TEST() 639 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
|
D | ValueMetricProducer_test.cpp | 1026 std::ceil(1.0 * event4->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST() 1030 std::ceil(1.0 * event4->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST() 1035 std::ceil(1.0 * event6->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 204 const int64_t currentTimestampNs = event->GetElapsedTimestampNs(); in OnLogEvent() 209 event->GetTagId(), event->GetElapsedTimestampNs() / NS_PER_SEC); in OnLogEvent() 259 flushIfNecessaryLocked(event->GetElapsedTimestampNs(), pair.first, *(pair.second)); in OnLogEvent()
|