Home
last modified time | relevance | path

Searched refs:getWallClockNs (Results 1 – 13 of 13) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DRestrictedEventMetric_e2e_test.cpp38 const int64_t oneMonthLater = getWallClockNs() + 31 * 24 * 3600 * NS_PER_SEC;
45 const int64_t eightDaysAgo = getWallClockNs() - 8 * 24 * 3600 * NS_PER_SEC;
46 const int64_t oneDayAgo = getWallClockNs() - 1 * 24 * 3600 * NS_PER_SEC;
197 getWallClockNs()); in TEST_F()
243 getWallClockNs()); in TEST_F()
289 getWallClockNs()); in TEST_F()
312 int64_t currentWallTimeNs = getWallClockNs(); in TEST_F()
535 int64_t currentWallTimeNs = getWallClockNs(); in TEST_F()
545 getWallClockNs()); in TEST_F()
780 int64_t currentWallTimeNs = getWallClockNs(); in TEST_F()
[all …]
DConfigUpdate_e2e_test.cpp1993 processor->WriteDataToDisk(DEVICE_SHUTDOWN, FAST, shutDownTimeNs, getWallClockNs()); in TEST_F()
1995 processor->SaveMetadataToDisk(getWallClockNs(), shutDownTimeNs); in TEST_F()
2001 processor->LoadMetadataFromDisk(getWallClockNs(), bootTimeNs); in TEST_F()
/packages/modules/StatsD/statsd/src/external/
DTrainInfoPuller.cpp47 auto event = make_shared<LogEvent>(getWallClockNs(), getElapsedRealtimeNs(), trainInfo); in PullInternal()
DStatsPullerManager.cpp224 int64_t wallClockNs = getWallClockNs(); in OnAlarmFired()
/packages/modules/StatsD/statsd/src/
DStatsService.cpp346 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), getWallClockNs(), in dumpIncidentSection()
758 getWallClockNs(), includeCurrentBucket, eraseData, ADB_DUMP, in cmd_dump_report()
828 getWallClockNs()); in cmd_write_data_to_disk()
1069 int64_t wallClockNs = getWallClockNs(); in informDeviceShutdown()
1138 int64_t wallClockNs = getWallClockNs(); in Startup()
1159 int64_t wallClockNs = getWallClockNs(); in Terminate()
1223 mProcessor->onDumpReport(configKey, getElapsedRealtimeNs(), getWallClockNs(), in getDataChecked()
1455 int64_t wallClockNs = getWallClockNs(); in statsCompanionServiceDiedImpl()
DStatsLogProcessor.cpp463 enforceDataTtlsIfNecessaryLocked(getWallClockNs(), elapsedRealtimeNs); in OnLogEvent()
464 enforceDbGuardrailsIfNecessaryLocked(getWallClockNs(), elapsedRealtimeNs); in OnLogEvent()
555 OnConfigUpdated(timestampNs, getWallClockNs(), key, config, modularUpdate); in OnConfigUpdated()
746 onDumpReport(key, dumpTimeStampNs, getWallClockNs(), include_current_partial_bucket, erase_data, in onDumpReport()
857 getWallClockNs()); in resetIfConfigTtlExpiredLocked()
866 WriteDataToDiskLocked(key, getElapsedRealtimeNs(), getWallClockNs(), CONFIG_REMOVED, in OnConfigRemoved()
983 enforceDataTtlsLocked(getWallClockNs(), elapsedRealtimeNs); in querySql()
Dstats_log_util.h69 int64_t getWallClockNs();
Dstats_log_util.cpp585 int64_t getWallClockNs() { in getWallClockNs() function
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp57 : mLogdTimestampNs(getWallClockNs()), mLogUid(uid), mLogPid(pid) { in LogEvent()
63 mLogdTimestampNs = getWallClockNs(); in LogEvent()
/packages/modules/StatsD/statsd/tests/metrics/
DRestrictedEventMetricProducer_test.cpp216 int64_t currentTimeNs = getWallClockNs(); in TEST_F()
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp549 int64_t beforeNoteMetricSucceed = getWallClockNs(); in TEST()
552 int64_t afterNoteMetricSucceed = getWallClockNs(); in TEST()
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.cpp82 mLastReportWallClockNs(getWallClockNs()), in MetricsManager()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp903 callingUid, configId, configPackage, configUid, getWallClockNs(), in noteQueryRestrictedMetricSucceed()
932 callingUid, configId, configPackage, configUid, getWallClockNs(), reason, error, in noteQueryRestrictedMetricFailedLocked()