/frameworks/base/cmds/statsd/tests/external/ |
D | StatsPuller_test.cpp | 98 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 112 EXPECT_EQ(2222L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 126 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 198 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 211 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 244 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 259 EXPECT_EQ(1111L, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F()
|
D | StatsCallbackPuller_test.cpp | 136 EXPECT_LT(startTimeNs, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F() 137 EXPECT_GT(endTimeNs, dataHolder[0]->GetElapsedTimestampNs()); in TEST_F()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | DurationMetricProducer.cpp | 517 it->second->noteStart(whatKey, condition, event.GetElapsedTimestampNs(), conditionKeys); in handleStartEvent() 522 it->second->noteStart(DEFAULT_DIMENSION_KEY, condition, event.GetElapsedTimestampNs(), in handleStartEvent() 527 it->second->noteStart(dimensionKey, condition, event.GetElapsedTimestampNs(), in handleStartEvent() 542 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked() 548 flushIfNeededLocked(event.GetElapsedTimestampNs()); in onMatchedLogEventLocked() 554 whatIt.second->noteStopAll(event.GetElapsedTimestampNs()); in onMatchedLogEventLocked() 604 whatIt->second->noteStop(dimensionInWhat, event.GetElapsedTimestampNs(), false); in onMatchedLogEventLocked() 616 whatIt->second->noteStop(internalDimensionKey, event.GetElapsedTimestampNs(), false); in onMatchedLogEventLocked()
|
D | MetricProducer.cpp | 78 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked()
|
D | CountMetricProducer.cpp | 282 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked()
|
D | MetricsManager.cpp | 462 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onLogEvent()
|
D | GaugeMetricProducer.cpp | 460 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked()
|
D | ValueMetricProducer.cpp | 753 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked()
|
/frameworks/base/cmds/statsd/tests/log_event/ |
D | LogEventQueue_test.cpp | 67 EXPECT_EQ(timeBaseNs + i * 1000, event->GetElapsedTimestampNs()); in TEST() 101 EXPECT_EQ(timeBaseNs + i * 1000, event->GetElapsedTimestampNs()); in TEST()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEventQueue.cpp | 51 *oldestTimestampNs = mQueue.front()->GetElapsedTimestampNs(); in push()
|
D | LogEvent.h | 79 inline int64_t GetElapsedTimestampNs() const { return mElapsedTimestampNs; } in GetElapsedTimestampNs() function
|
/frameworks/base/cmds/statsd/src/state/ |
D | StateTracker.cpp | 32 const int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onLogEvent()
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 368 return a->GetElapsedTimestampNs() < b->GetElapsedTimestampNs(); in sortLogEventsByTimestamp()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | CountMetricProducer_test.cpp | 442 std::ceil(1.0 * event5.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST() 448 std::ceil(1.0 * event7.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
|
D | GaugeMetricProducer_test.cpp | 625 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC) + refPeriodSec); in TEST() 637 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
|
D | ValueMetricProducer_test.cpp | 1072 std::ceil(1.0 * event4.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST() 1076 std::ceil(1.0 * event4.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST() 1081 std::ceil(1.0 * event6.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log_util.cpp | 578 return event.GetElapsedTimestampNs() / NS_PER_SEC / (5 * 60) * NS_PER_SEC * (5 * 60); in truncateTimestampIfNecessary() 580 return event.GetElapsedTimestampNs(); in truncateTimestampIfNecessary()
|
D | StatsLogProcessor.cpp | 392 const int64_t eventElapsedTimeNs = event->GetElapsedTimestampNs(); in OnLogEvent()
|
/frameworks/base/cmds/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 583 const int64_t ttl3 = event->GetElapsedTimestampNs() + in TEST() 585 const int64_t ttl5 = event->GetElapsedTimestampNs() + in TEST() 587 const int64_t ttl6 = event->GetElapsedTimestampNs() + in TEST() 1400 EXPECT_EQ(screenOnEvent->GetElapsedTimestampNs(), activation2_1_2->start_ns); in TEST() 1413 (shutDownTime - screenOnEvent->GetElapsedTimestampNs()); in TEST() 1483 EXPECT_EQ(screenOnEvent->GetElapsedTimestampNs(), activation3_1_2->start_ns); in TEST()
|
D | statsd_test_util.cpp | 991 return a->GetElapsedTimestampNs() < b->GetElapsedTimestampNs(); in sortLogEventsByTimestamp()
|