/packages/modules/StatsD/statsd/tests/external/ |
D | StatsPuller_test.cpp | 95 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); in TEST_F() 109 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); in TEST_F() 123 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); in TEST_F() 137 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F() 143 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F() 155 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F() 164 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F() 174 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F() 185 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_FAIL); in TEST_F() 195 EXPECT_EQ(puller.Pull(getElapsedRealtimeNs(), &dataHolder), PULL_SUCCESS); 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 | 106 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() 120 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() 138 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() 171 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() 204 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() 233 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() 264 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() 292 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() 317 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() 353 int64_t start = getElapsedRealtimeNs(); // This is the start-time the metrics producers are in TEST_F() [all …]
|
D | RestrictedConfig_e2e_test.cpp | 110 int64_t startTimeNs = getElapsedRealtimeNs(); in SetUp() 155 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F() 171 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F() 185 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F() 201 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F() 215 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F() 230 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F() 244 int64_t configAddedTimeNs = getElapsedRealtimeNs(); in TEST_F() 464 service->mProcessor->onDumpReport(cfgKey, getElapsedRealtimeNs(), in TEST_F()
|
D | ConfigUpdate_e2e_ab_test.cpp | 71 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 113 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 147 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 174 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 221 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 247 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 287 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST_P() 321 uint64_t bucketStartTimeNs = getElapsedRealtimeNs(); in TEST_P()
|
D | GaugeMetric_e2e_pull_test.cpp | 72 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 215 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 335 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 433 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 532 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 712 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 872 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() 326 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 453 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
|
D | StringReplace_e2e_test.cpp | 257 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 320 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST() 642 int64_t baseTimeNs = getElapsedRealtimeNs(); in TEST()
|
D | KllMetric_e2e_test.cpp | 47 bucketStartTimeNs = getElapsedRealtimeNs(); in SetUp()
|
/packages/modules/StatsD/statsd/tests/ |
D | StatsService_test.cpp | 59 mPullTimeNs = getElapsedRealtimeNs(); in onPullAtom() 81 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in TEST() 97 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in TEST() 162 const int64_t createConfigTimeNs = getElapsedRealtimeNs(); in TEST_F() 168 const int64_t initCompletedTimeNs = getElapsedRealtimeNs(); in TEST_F()
|
D | statsd_test_util.h | 137 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in SetUp() 146 service->mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), in TearDown()
|
/packages/modules/StatsD/statsd/src/ |
D | StatsService.cpp | 165 getElapsedRealtimeNs(), 346 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), getWallClockNs(), in dumpIncidentSection() 757 mProcessor->onDumpReport(ConfigKey(uid, StrToInt64(name)), getElapsedRealtimeNs(), in cmd_dump_report() 827 mProcessor->WriteDataToDisk(ADB_DUMP, NO_TIME_CONSTRAINTS, getElapsedRealtimeNs(), in cmd_write_data_to_disk() 907 if (mPullerManager->Pull(s, uids, getElapsedRealtimeNs(), &stats)) { in cmd_print_pulled_metrics() 993 mUidMap->updateMap(getElapsedRealtimeNs(), uidData); in informAllUidData() 1007 mUidMap->updateApp(getElapsedRealtimeNs(), app, uid, version, versionString, installer, in informOnePackage() 1017 mUidMap->removeApp(getElapsedRealtimeNs(), app, uid); in informOnePackageRemoved() 1050 mProcessor->informPullAlarmFired(getElapsedRealtimeNs()); in informPollAlarmFired() 1068 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in informDeviceShutdown() [all …]
|
D | StatsLogProcessor.cpp | 381 resetConfigsLocked(getElapsedRealtimeNs()); in resetConfigs() 394 OnLogEvent(event, getElapsedRealtimeNs()); in OnLogEvent() 856 WriteDataToDiskLocked(CONFIG_RESET, NO_TIME_CONSTRAINTS, getElapsedRealtimeNs(), in resetIfConfigTtlExpiredLocked() 866 WriteDataToDiskLocked(key, getElapsedRealtimeNs(), getWallClockNs(), CONFIG_REMOVED, in OnConfigRemoved() 939 const int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in querySql() 1019 /*queryLatencyNs=*/getElapsedRealtimeNs() - elapsedRealtimeNs); in querySql() 1116 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in flushIfNecessaryLocked() 1198 const int64_t timeNs = getElapsedRealtimeNs(); in SaveActiveConfigsToDisk()
|
D | stats_log_util.h | 57 int64_t getElapsedRealtimeNs();
|
/packages/modules/StatsD/statsd/src/external/ |
D | StatsPuller.cpp | 51 const int64_t elapsedTimeNs = getElapsedRealtimeNs(); in Pull() 76 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/metrics/ |
D | RestrictedEventMetricProducer.cpp | 106 int64_t flushStartNs = getElapsedRealtimeNs(); in flushRestrictedData() 130 mConfigKey, mMetricId, getElapsedRealtimeNs() - flushStartNs); in flushRestrictedData()
|
D | GaugeMetricProducer.cpp | 414 const int64_t pullDelayNs = getElapsedRealtimeNs() - timestampNs; in pullAndMatchEventsLocked() 507 const int64_t pullDelayNs = getElapsedRealtimeNs() - originalPullTimeNs; in onDataPulled()
|
D | MetricsManager.cpp | 937 int64_t flushStartNs = getElapsedRealtimeNs(); in flushRestrictedData() 942 mConfigKey, getElapsedRealtimeNs() - flushStartNs); in flushRestrictedData()
|
D | NumericValueMetricProducer.cpp | 254 const int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in accumulateEvents()
|
/packages/modules/StatsD/statsd/tests/utils/ |
D | MultiConditionTrigger_test.cpp | 246 const int64_t triggerStartNs = getElapsedRealtimeNs(); in TEST() 277 const int64_t triggerEndNs = getElapsedRealtimeNs(); in TEST()
|
/packages/modules/StatsD/statsd/src/subscriber/ |
D | IncidentdReporter.cpp | 106 getElapsedRealtimeNs(), true, true, in getProtoData()
|
/packages/modules/StatsD/statsd/src/shell/ |
D | ShellSubscriber.cpp | 103 const int64_t nowNanos = getElapsedRealtimeNs(); in pullAndSendHeartbeats()
|
/packages/modules/StatsD/statsd/src/socket/ |
D | StatsSocketListener.cpp | 60 int64_t elapsedTimeNs = getElapsedRealtimeNs(); in onDataAvailable()
|
/packages/modules/StatsD/statsd/src/config/ |
D | ConfigManager.cpp | 108 const int64_t timestampNs = getElapsedRealtimeNs(); in UpdateConfig()
|