/frameworks/base/cmds/statsd/tests/external/ |
D | StatsPuller_test.cpp | 95 EXPECT_TRUE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() 109 EXPECT_TRUE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() 123 EXPECT_TRUE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() 137 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() 143 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() 155 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() 164 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() 174 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() 185 EXPECT_FALSE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() 195 EXPECT_TRUE(puller.Pull(getElapsedRealtimeNs(), &dataHolder)); in TEST_F() [all …]
|
D | StatsCallbackPuller_test.cpp | 130 int64_t startTimeNs = getElapsedRealtimeNs(); in TEST_F() 132 int64_t endTimeNs = getElapsedRealtimeNs(); in TEST_F() 166 int64_t startTimeNs = getElapsedRealtimeNs(); in TEST_F() 169 int64_t endTimeNs = getElapsedRealtimeNs(); in TEST_F() 197 int64_t startTimeNs = getElapsedRealtimeNs(); in TEST_F() 200 int64_t endTimeNs = getElapsedRealtimeNs(); in TEST_F()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 122 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() 137 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() 157 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() 191 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() 224 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() 258 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() 288 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() 315 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() 352 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() 376 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST() [all …]
|
D | GaugeMetric_e2e_pull_test.cpp | 71 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 210 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 307 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 405 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 532 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
|
D | ValueMetric_pull_e2e_test.cpp | 155 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 205 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 308 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 411 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 122 [this]() { mProcessor->onStatsdInitCompleted(getElapsedRealtimeNs()); }), in __anon24fc2e590502() 131 getElapsedRealtimeNs(), 273 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in dumpIncidentSection() 686 mProcessor->onDumpReport(ConfigKey(uid, StrToInt64(name)), getElapsedRealtimeNs(), in cmd_dump_report() 832 if (mPullerManager->Pull(s, uids, getElapsedRealtimeNs(), &stats)) { in cmd_print_pulled_metrics() 942 mUidMap->updateMap(getElapsedRealtimeNs(), in informAllUidData() 963 mUidMap->updateApp(getElapsedRealtimeNs(), utf16App, uid, version, utf16VersionString, in informOnePackage() 973 mUidMap->removeApp(getElapsedRealtimeNs(), utf16App, uid); in informOnePackageRemoved() 1014 mProcessor->informPullAlarmFired(getElapsedRealtimeNs()); in informPollAlarmFired() 1032 mProcessor->SaveActiveConfigsToDisk(getElapsedRealtimeNs()); in informDeviceShutdown() [all …]
|
D | stats_log_util.h | 56 int64_t getElapsedRealtimeNs();
|
D | StatsLogProcessor.cpp | 373 resetConfigsLocked(getElapsedRealtimeNs()); in resetConfigs() 385 OnLogEvent(event, getElapsedRealtimeNs()); in OnLogEvent() 725 WriteDataToDiskLocked(key, getElapsedRealtimeNs(), CONFIG_REMOVED, in OnConfigRemoved() 753 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in flushIfNecessaryLocked() 819 const int64_t timeNs = getElapsedRealtimeNs(); in SaveActiveConfigsToDisk() 1017 const int64_t timeNs = getElapsedRealtimeNs(); in WriteDataToDiskLocked()
|
D | stats_log_util.cpp | 546 int64_t getElapsedRealtimeNs() { in getElapsedRealtimeNs() function
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPuller.cpp | 47 const int64_t elapsedTimeNs = getElapsedRealtimeNs(); in Pull() 71 const int64_t pullElapsedDurationNs = getElapsedRealtimeNs() - elapsedTimeNs; in Pull()
|
D | TrainInfoPuller.cpp | 47 auto event = make_shared<LogEvent>(getWallClockNs(), getElapsedRealtimeNs(), trainInfo); in PullInternal()
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | IncidentdReporter.cpp | 105 UidMap::getInstance()->writeUidMapSnapshot(getElapsedRealtimeNs(), true, true, uids, in getProtoData()
|
/frameworks/base/cmds/statsd/src/shell/ |
D | ShellSubscriber.cpp | 139 int64_t nowNanos = getElapsedRealtimeNs(); in pullAndSendHeartbeats()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | GaugeMetricProducer.cpp | 329 const int64_t pullDelayNs = getElapsedRealtimeNs() - timestampNs; in pullAndMatchEventsLocked() 418 const int64_t pullDelayNs = getElapsedRealtimeNs() - originalPullTimeNs; in onDataPulled()
|
D | ValueMetricProducer.cpp | 593 const int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in accumulateEvents()
|
/frameworks/base/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 181 const int64_t timestampNs = getElapsedRealtimeNs(); in UpdateConfig()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.cpp | 77 mElapsedTimestampNs = getElapsedRealtimeNs(); in LogEvent()
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.cpp | 266 int64_t history = getElapsedRealtimeNs() - oldestEventTimestampNs; in noteEventQueueOverflow()
|
/frameworks/base/cmds/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 1656 int64_t approximateSystemServerDeath = getElapsedRealtimeNs(); in TEST()
|