Home
last modified time | relevance | path

Searched refs:getElapsedRealtimeNs (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/cmds/statsd/tests/external/
DStatsPuller_test.cpp95 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 …]
DStatsCallbackPuller_test.cpp130 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/
DPartialBucket_e2e_test.cpp122 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 …]
DGaugeMetric_e2e_pull_test.cpp71 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()
DValueMetric_pull_e2e_test.cpp155 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/
DStatsService.cpp122 [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 …]
Dstats_log_util.h56 int64_t getElapsedRealtimeNs();
DStatsLogProcessor.cpp373 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()
Dstats_log_util.cpp546 int64_t getElapsedRealtimeNs() { in getElapsedRealtimeNs() function
/frameworks/base/cmds/statsd/src/external/
DStatsPuller.cpp47 const int64_t elapsedTimeNs = getElapsedRealtimeNs(); in Pull()
71 const int64_t pullElapsedDurationNs = getElapsedRealtimeNs() - elapsedTimeNs; in Pull()
DTrainInfoPuller.cpp47 auto event = make_shared<LogEvent>(getWallClockNs(), getElapsedRealtimeNs(), trainInfo); in PullInternal()
/frameworks/base/cmds/statsd/src/subscriber/
DIncidentdReporter.cpp105 UidMap::getInstance()->writeUidMapSnapshot(getElapsedRealtimeNs(), true, true, uids, in getProtoData()
/frameworks/base/cmds/statsd/src/shell/
DShellSubscriber.cpp139 int64_t nowNanos = getElapsedRealtimeNs(); in pullAndSendHeartbeats()
/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp329 const int64_t pullDelayNs = getElapsedRealtimeNs() - timestampNs; in pullAndMatchEventsLocked()
418 const int64_t pullDelayNs = getElapsedRealtimeNs() - originalPullTimeNs; in onDataPulled()
DValueMetricProducer.cpp593 const int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in accumulateEvents()
/frameworks/base/cmds/statsd/src/config/
DConfigManager.cpp181 const int64_t timestampNs = getElapsedRealtimeNs(); in UpdateConfig()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp77 mElapsedTimestampNs = getElapsedRealtimeNs(); in LogEvent()
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.cpp266 int64_t history = getElapsedRealtimeNs() - oldestEventTimestampNs; in noteEventQueueOverflow()
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp1656 int64_t approximateSystemServerDeath = getElapsedRealtimeNs(); in TEST()