/packages/modules/StatsD/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()
|
/packages/modules/StatsD/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 | ConfigUpdate_e2e_ab_test.cpp | 72 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 114 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 148 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 175 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 222 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 248 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 287 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 322 uint64_t bucketStartTimeNs = getElapsedRealtimeNs(); in TEST_P()
|
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()
|
D | ConfigUpdate_e2e_test.cpp | 938 uint64_t bucketStartTimeNs = getElapsedRealtimeNs(); // 0:10 in TEST_F() 1325 uint64_t bucketStartTimeNs = getElapsedRealtimeNs(); in TEST_F()
|
/packages/modules/StatsD/statsd/src/ |
D | StatsService.cpp | 118 [this]() { mProcessor->onStatsdInitCompleted(getElapsedRealtimeNs()); }), in __anon55b448e80502() 127 getElapsedRealtimeNs(), 269 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in dumpIncidentSection() 683 mProcessor->onDumpReport(ConfigKey(uid, StrToInt64(name)), getElapsedRealtimeNs(), in cmd_dump_report() 750 mProcessor->WriteDataToDisk(ADB_DUMP, NO_TIME_CONSTRAINTS, getElapsedRealtimeNs()); in cmd_write_data_to_disk() 829 if (mPullerManager->Pull(s, uids, getElapsedRealtimeNs(), &stats)) { in cmd_print_pulled_metrics() 940 mUidMap->updateMap(getElapsedRealtimeNs(), in informAllUidData() 961 mUidMap->updateApp(getElapsedRealtimeNs(), utf16App, uid, version, utf16VersionString, in informOnePackage() 971 mUidMap->removeApp(getElapsedRealtimeNs(), utf16App, uid); in informOnePackageRemoved() 1002 mProcessor->informPullAlarmFired(getElapsedRealtimeNs()); in informPollAlarmFired() [all …]
|
D | StatsLogProcessor.cpp | 373 resetConfigsLocked(getElapsedRealtimeNs()); in resetConfigs() 385 OnLogEvent(event, getElapsedRealtimeNs()); in OnLogEvent() 743 WriteDataToDiskLocked(CONFIG_RESET, NO_TIME_CONSTRAINTS, getElapsedRealtimeNs()); in resetIfConfigTtlExpiredLocked() 752 WriteDataToDiskLocked(key, getElapsedRealtimeNs(), CONFIG_REMOVED, in OnConfigRemoved() 780 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in flushIfNecessaryLocked() 846 const int64_t timeNs = getElapsedRealtimeNs(); in SaveActiveConfigsToDisk()
|
D | stats_log_util.h | 56 int64_t getElapsedRealtimeNs();
|
D | stats_log_util.cpp | 553 int64_t getElapsedRealtimeNs() { in getElapsedRealtimeNs() function
|
/packages/modules/StatsD/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()
|
/packages/modules/StatsD/statsd/src/subscriber/ |
D | IncidentdReporter.cpp | 105 UidMap::getInstance()->writeUidMapSnapshot(getElapsedRealtimeNs(), true, true, uids, in getProtoData()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | GaugeMetricProducer.cpp | 390 const int64_t pullDelayNs = getElapsedRealtimeNs() - timestampNs; in pullAndMatchEventsLocked() 479 const int64_t pullDelayNs = getElapsedRealtimeNs() - originalPullTimeNs; in onDataPulled()
|
D | ValueMetricProducer.cpp | 671 const int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in accumulateEvents()
|
/packages/modules/StatsD/statsd/src/shell/ |
D | ShellSubscriber.cpp | 139 int64_t nowNanos = getElapsedRealtimeNs(); in pullAndSendHeartbeats()
|
/packages/modules/StatsD/statsd/src/config/ |
D | ConfigManager.cpp | 181 const int64_t timestampNs = getElapsedRealtimeNs(); in UpdateConfig()
|
/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.cpp | 78 mElapsedTimestampNs = getElapsedRealtimeNs(); in LogEvent()
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.cpp | 266 int64_t history = getElapsedRealtimeNs() - oldestEventTimestampNs; in noteEventQueueOverflow()
|
/packages/modules/StatsD/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 1656 int64_t approximateSystemServerDeath = getElapsedRealtimeNs(); in TEST()
|