Searched refs:getWallClockNs (Results 1 – 13 of 13) sorted by relevance
/packages/modules/StatsD/statsd/tests/e2e/ |
D | RestrictedEventMetric_e2e_test.cpp | 38 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 …]
|
D | ConfigUpdate_e2e_test.cpp | 1993 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/ |
D | TrainInfoPuller.cpp | 47 auto event = make_shared<LogEvent>(getWallClockNs(), getElapsedRealtimeNs(), trainInfo); in PullInternal()
|
D | StatsPullerManager.cpp | 224 int64_t wallClockNs = getWallClockNs(); in OnAlarmFired()
|
/packages/modules/StatsD/statsd/src/ |
D | StatsService.cpp | 346 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()
|
D | StatsLogProcessor.cpp | 463 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()
|
D | stats_log_util.h | 69 int64_t getWallClockNs();
|
D | stats_log_util.cpp | 585 int64_t getWallClockNs() { in getWallClockNs() function
|
/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.cpp | 57 : mLogdTimestampNs(getWallClockNs()), mLogUid(uid), mLogPid(pid) { in LogEvent() 63 mLogdTimestampNs = getWallClockNs(); in LogEvent()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | RestrictedEventMetricProducer_test.cpp | 216 int64_t currentTimeNs = getWallClockNs(); in TEST_F()
|
/packages/modules/StatsD/statsd/tests/guardrail/ |
D | StatsdStats_test.cpp | 549 int64_t beforeNoteMetricSucceed = getWallClockNs(); in TEST() 552 int64_t afterNoteMetricSucceed = getWallClockNs(); in TEST()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricsManager.cpp | 82 mLastReportWallClockNs(getWallClockNs()), in MetricsManager()
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.cpp | 903 callingUid, configId, configPackage, configUid, getWallClockNs(), in noteQueryRestrictedMetricSucceed() 932 callingUid, configId, configPackage, configUid, getWallClockNs(), reason, error, in noteQueryRestrictedMetricFailedLocked()
|