Home
last modified time | relevance | path

Searched defs:timestampNs (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/StatsD/statsd/src/anomaly/
DDurationAnomalyTracker.cpp39 const int64_t& timestampNs) { in startAlarm()
60 const int64_t& timestampNs) { in stopAlarm()
87 void DurationAnomalyTracker::informAlarmsFired(const int64_t& timestampNs, in informAlarmsFired()
DAnomalyTracker.h123 virtual void stopAlarm(const MetricDimensionKey& dimensionKey, const int64_t& timestampNs) { in stopAlarm()
134 virtual void informAlarmsFired(const int64_t& timestampNs, in informAlarmsFired()
DAnomalyTracker.cpp209 void AnomalyTracker::declareAnomaly(const int64_t& timestampNs, int64_t metricId, in declareAnomaly()
240 void AnomalyTracker::detectAndDeclareAnomaly(const int64_t& timestampNs, in detectAndDeclareAnomaly()
249 bool AnomalyTracker::isInRefractoryPeriod(const int64_t& timestampNs, in isInRefractoryPeriod()
DAlarmTracker.cpp72 const int64_t& timestampNs, in informAlarmsFired()
/packages/modules/StatsD/statsd/benchmark/
Dmetric_util.cpp273 uint64_t timestampNs, const android::view::DisplayStateEnum state) { in CreateScreenStateChangedEvent()
286 const string& jobName, const ScheduledJobStateChanged::State state, uint64_t timestampNs) { in CreateScheduledJobStateChangedEvent()
300 std::unique_ptr<LogEvent> CreateStartScheduledJobEvent(uint64_t timestampNs, in CreateStartScheduledJobEvent()
309 std::unique_ptr<LogEvent> CreateFinishScheduledJobEvent(uint64_t timestampNs, in CreateFinishScheduledJobEvent()
317 std::unique_ptr<LogEvent> CreateSyncStateChangedEvent(uint64_t timestampNs, in CreateSyncStateChangedEvent()
335 std::unique_ptr<LogEvent> CreateSyncStartEvent(uint64_t timestampNs, in CreateSyncStartEvent()
343 std::unique_ptr<LogEvent> CreateSyncEndEvent(uint64_t timestampNs, in CreateSyncEndEvent()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.cpp927 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent(uint64_t timestampNs, in CreateScreenStateChangedEvent()
942 std::unique_ptr<LogEvent> CreateBatterySaverOnEvent(uint64_t timestampNs) { in CreateBatterySaverOnEvent()
955 std::unique_ptr<LogEvent> CreateBatterySaverOffEvent(uint64_t timestampNs) { in CreateBatterySaverOffEvent()
968 std::unique_ptr<LogEvent> CreateBatteryStateChangedEvent(const uint64_t timestampNs, const BatteryP… in CreateBatteryStateChangedEvent()
979 std::unique_ptr<LogEvent> CreateScreenBrightnessChangedEvent(uint64_t timestampNs, int level) { in CreateScreenBrightnessChangedEvent()
992 const string& jobName, const ScheduledJobStateChanged::State state, uint64_t timestampNs) { in CreateScheduledJobStateChangedEvent()
1006 std::unique_ptr<LogEvent> CreateStartScheduledJobEvent(uint64_t timestampNs, in CreateStartScheduledJobEvent()
1015 std::unique_ptr<LogEvent> CreateFinishScheduledJobEvent(uint64_t timestampNs, in CreateFinishScheduledJobEvent()
1024 uint64_t timestampNs, const vector<int>& repeatedIntField, in CreateTestAtomReportedEventVariableRepeatedFields()
1036 uint64_t timestampNs, const vector<int>& attributionUids, in CreateTestAtomReportedEvent()
[all …]
/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.cpp125 const int64_t& timestampNs, in processFiredAnomalyAlarmsLocked()
132 const int64_t& timestampNs, in onPeriodicAlarmFired()
371 void StatsLogProcessor::resetConfigsLocked(const int64_t timestampNs) { in resetConfigsLocked()
518 void StatsLogProcessor::OnConfigUpdated(const int64_t timestampNs, const int64_t wallClockNs, in OnConfigUpdated()
526 void StatsLogProcessor::OnConfigUpdated(const int64_t timestampNs, const ConfigKey& key, in OnConfigUpdated()
531 void StatsLogProcessor::OnConfigUpdatedLocked(const int64_t timestampNs, const ConfigKey& key, in OnConfigUpdatedLocked()
730 void StatsLogProcessor::resetConfigsLocked(const int64_t timestampNs, in resetConfigsLocked()
838 void StatsLogProcessor::WriteDataToDiskLocked(const ConfigKey& key, const int64_t timestampNs, in WriteDataToDiskLocked()
1084 void StatsLogProcessor::informPullAlarmFired(const int64_t timestampNs) { in informPullAlarmFired()
/packages/apps/Camera2/src/com/android/camera/burst/
DRingBuffer.java93 private synchronized void removeAndCloseImage(long timestampNs) { in removeAndCloseImage()
/packages/modules/StatsD/statsd/src/condition/
DConditionTimer.h133 void onConditionChanged(bool newCondition, int64_t timestampNs) { in onConditionChanged()
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.h155 void setElapsedTimestampNs(int64_t timestampNs) { in setElapsedTimestampNs()
162 void setLogdWallClockTimestampNs(int64_t timestampNs) { in setLogdWallClockTimestampNs()
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/
DStatsConfigUtils.java138 atomTimestamp.add(Pair.create(atomInfo.getAtom(), timestampNs)); in backFillGaugeBucketAtoms() local
/packages/modules/StatsD/statsd/src/external/
DStatsPuller.cpp118 int StatsPuller::ClearCacheIfNecessary(int64_t timestampNs) { in ClearCacheIfNecessary()
DStatsPullerManager.cpp295 int StatsPullerManager::ClearPullerCacheIfNecessary(int64_t timestampNs) { in ClearPullerCacheIfNecessary()
/packages/modules/StatsD/statsd/tests/log_event/
DLogEventQueue_test.cpp37 std::unique_ptr<LogEvent> makeLogEvent(uint64_t timestampNs) { in makeLogEvent()
/packages/modules/StatsD/statsd/src/packages/
DUidMap.h67 const int64_t timestampNs; member
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.h93 inline bool isInTtl(const int64_t timestampNs) const { in isInTtl()
DGaugeMetricProducer.cpp333 for (int64_t timestampNs : elapsedTimestampsNs) { in onDumpReportLocked() local
364 void GaugeMetricProducer::pullAndMatchEventsLocked(const int64_t timestampNs) { in pullAndMatchEventsLocked()
DMetricsManager.cpp676 const int64_t& timestampNs, in onAnomalyAlarmFired()
684 const int64_t& timestampNs, in onPeriodicAlarmFired()
DEventMetricProducer.cpp182 for (int64_t timestampNs : elapsedTimestampsNs) { in onDumpReportLocked() local
DNumericValueMetricProducer.cpp159 void NumericValueMetricProducer::pullAndMatchEventsLocked(const int64_t timestampNs) { in pullAndMatchEventsLocked()
DValueMetricProducer.h322 virtual void pullAndMatchEventsLocked(const int64_t timestampNs) { in pullAndMatchEventsLocked()
/packages/modules/StatsD/statsd/tests/metrics/
DCountMetricProducer_test.cpp46 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId) { in makeLogEvent()
54 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId, string uid) { in makeLogEvent()
DEventMetricProducer_test.cpp44 void makeLogEvent(LogEvent* logEvent, int32_t atomId, int64_t timestampNs, string str) { in makeLogEvent()
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DAtomTestCase.java403 atomTimestamp.add(Pair.create(atomInfo.getAtom(), timestampNs)); in backFillGaugeBucketAtoms() local
435 atomTimestampData.add(Pair.create(atomInfo.getAtom(), timestampNs)); in backfillGaugeBucket() local
1234 protected void assertTimestampIsTruncated(long timestampNs) { in assertTimestampIsTruncated()
/packages/modules/StatsD/statsd/src/config/
DConfigManager.cpp110 const int64_t timestampNs = getElapsedRealtimeNs(); in UpdateConfig() local

12