Home
last modified time | relevance | path

Searched defs:eventTimeNs (Results 1 – 23 of 23) sorted by relevance

/aosp12/packages/modules/StatsD/statsd/tests/metrics/
H A DValueMetricProducer_test.cpp625 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
840 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P()
1070 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
1187 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
1259 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
1994 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
2041 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
2157 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
2298 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
2378 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
[all …]
H A DGaugeMetricProducer_test.cpp136 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
305 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P()
428 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
511 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
649 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST()
650 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
717 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST()
724 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST()
725 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
786 vector<std::shared_ptr<LogEvent>>* data) { in TEST()
H A DCountMetricProducer_test.cpp254 int64_t eventTimeNs = bucketStartTimeNs + 15 * NS_PER_SEC; in TEST_P() local
325 int64_t eventTimeNs = bucketStartTimeNs + 65 * NS_PER_SEC; in TEST_P() local
/aosp12/packages/modules/StatsD/statsd/src/state/
H A DStateTracker.cpp32 const int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onLogEvent() local
87 void StateTracker::handleReset(const int64_t eventTimeNs, const FieldValue& newState) { in handleReset()
96 void StateTracker::clearStateForPrimaryKey(const int64_t eventTimeNs, in clearStateForPrimaryKey()
112 void StateTracker::updateStateForPrimaryKey(const int64_t eventTimeNs, in updateStateForPrimaryKey()
166 void StateTracker::notifyListeners(const int64_t eventTimeNs, in notifyListeners()
/aosp12/packages/modules/StatsD/statsd/tests/external/
H A DStatsPuller_test.cpp63 std::unique_ptr<LogEvent> createSimpleEvent(int64_t eventTimeNs, int64_t value) { in createSimpleEvent()
238 int64_t eventTimeNs = getElapsedRealtimeNs(); in TEST_F() local
268 int64_t eventTimeNs = getElapsedRealtimeNs(); in TEST_F() local
293 int64_t eventTimeNs = getElapsedRealtimeNs(); in TEST_F() local
/aosp12/packages/modules/StatsD/statsd/src/metrics/
H A DMetricProducer.h186 virtual void notifyAppUpgrade(const int64_t& eventTimeNs) { in notifyAppUpgrade()
191 void notifyAppRemoved(const int64_t& eventTimeNs) { in notifyAppRemoved()
199 virtual void onStatsdInitCompleted(const int64_t& eventTimeNs) { in onStatsdInitCompleted()
224 void onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
376 virtual void flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
382 virtual void flushLocked(const int64_t& eventTimeNs) { in flushLocked()
429 virtual void onActiveStateChangedLocked(const int64_t& eventTimeNs) { in onActiveStateChangedLocked()
H A DGaugeMetricProducer.h78 void notifyAppUpgrade(const int64_t& eventTimeNs) override { in notifyAppUpgrade()
91 void onStatsdInitCompleted(const int64_t& eventTimeNs) override { in onStatsdInitCompleted()
H A DGaugeMetricProducer.cpp407 void GaugeMetricProducer::onActiveStateChangedLocked(const int64_t& eventTimeNs) { in onActiveStateChangedLocked()
419 const int64_t eventTimeNs) { in onConditionChangedLocked()
434 const int64_t eventTimeNs) { in onSlicedConditionMayChangeLocked()
521 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked() local
596 void GaugeMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked()
615 void GaugeMetricProducer::flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
H A DDurationMetricProducer.cpp299 void DurationMetricProducer::onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
407 const int64_t eventTimeNs) { in onSlicedConditionMayChangeInternalLocked()
437 void DurationMetricProducer::onActiveStateChangedLocked(const int64_t& eventTimeNs) { in onActiveStateChangedLocked()
575 void DurationMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked()
589 void DurationMetricProducer::flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
641 const int64_t eventTimeNs, in handleStartEvent()
682 const int64_t eventTimeNs) { in handleMatchedLogEventValuesLocked()
H A DCountMetricProducer.cpp171 void CountMetricProducer::onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
329 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked() local
365 void CountMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked()
401 void CountMetricProducer::flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
H A DMetricsManager.cpp309 void MetricsManager::notifyAppUpgrade(const int64_t& eventTimeNs, const string& apk, const int uid, in notifyAppUpgrade()
330 void MetricsManager::notifyAppRemoved(const int64_t& eventTimeNs, const string& apk, in notifyAppRemoved()
351 void MetricsManager::onUidMapReceived(const int64_t& eventTimeNs) { in onUidMapReceived()
363 void MetricsManager::onStatsdInitCompleted(const int64_t& eventTimeNs) { in onStatsdInitCompleted()
539 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onLogEvent() local
H A DValueMetricProducer.cpp235 void ValueMetricProducer::onStateChanged(int64_t eventTimeNs, int32_t atomId, in onStateChanged()
476 void ValueMetricProducer::onActiveStateChangedLocked(const int64_t& eventTimeNs) { in onActiveStateChangedLocked()
512 const int64_t eventTimeNs) { in onConditionChangedLocked()
579 int64_t eventTimeNs) { in updateCurrentSlicedBucketConditionTimers()
842 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked() local
1036 void ValueMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked()
1056 void ValueMetricProducer::flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
H A DValueMetricProducer.h72 void notifyAppUpgrade(const int64_t& eventTimeNs) override { in notifyAppUpgrade()
84 void onStatsdInitCompleted(const int64_t& eventTimeNs) override { in onStatsdInitCompleted()
H A DMetricProducer.cpp113 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked() local
/aosp12/packages/modules/StatsD/statsd/src/external/
H A DStatsPullerManager.cpp94 bool StatsPullerManager::Pull(int tagId, const ConfigKey& configKey, const int64_t eventTimeNs, in Pull()
100 bool StatsPullerManager::Pull(int tagId, const vector<int32_t>& uids, const int64_t eventTimeNs, in Pull()
107 const int64_t eventTimeNs, vector<shared_ptr<LogEvent>>* data) { in PullLocked()
128 const int64_t eventTimeNs, vector<shared_ptr<LogEvent>>* data) { in PullLocked()
H A DStatsPuller.cpp45 bool StatsPuller::Pull(const int64_t eventTimeNs, std::vector<std::shared_ptr<LogEvent>>* data) { in Pull()
/aosp12/packages/modules/StatsD/statsd/src/metrics/duration_helper/
H A DMaxDurationTracker.cpp165 const int64_t& eventTimeNs, const optional<UploadThreshold>& uploadThreshold, in flushCurrentBucket()
219 int64_t eventTimeNs, const optional<UploadThreshold>& uploadThreshold, in flushIfNeeded()
H A DOringDurationTracker.cpp135 const int64_t& eventTimeNs, const optional<UploadThreshold>& uploadThreshold, in flushCurrentBucket()
227 int64_t eventTimeNs, const optional<UploadThreshold>& uploadThreshold, in flushIfNeeded()
/aosp12/packages/modules/StatsD/statsd/tests/
H A Dstatsd_test_util.cpp638 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
650 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
657 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
670 shared_ptr<LogEvent> CreateThreeValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
677 void CreateRepeatedValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, in CreateRepeatedValueLogEvent()
689 shared_ptr<LogEvent> CreateRepeatedValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value) { in CreateRepeatedValueLogEvent()
695 void CreateNoValuesLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs) { in CreateNoValuesLogEvent()
703 shared_ptr<LogEvent> CreateNoValuesLogEvent(int atomId, int64_t eventTimeNs) { in CreateNoValuesLogEvent()
709 shared_ptr<LogEvent> makeUidLogEvent(int atomId, int64_t eventTimeNs, int uid, int data1, in makeUidLogEvent()
725 shared_ptr<LogEvent> makeAttributionLogEvent(int atomId, int64_t eventTimeNs, in makeAttributionLogEvent()
H A DStatsLogProcessor_test.cpp1731 uint64_t eventTimeNs = 12355; in TEST() local
1755 uint64_t eventTimeNs = 12355; in TEST() local
1780 uint64_t eventTimeNs = 12355; in TEST() local
1808 uint64_t eventTimeNs = 12355; in TEST() local
/aosp12/packages/modules/StatsD/statsd/src/
H A DStatsLogProcessor.cpp735 void StatsLogProcessor::resetIfConfigTtlExpiredLocked(const int64_t eventTimeNs) { in resetIfConfigTtlExpiredLocked()
1081 void StatsLogProcessor::notifyAppUpgrade(const int64_t& eventTimeNs, const string& apk, in notifyAppUpgrade()
1091 void StatsLogProcessor::notifyAppRemoved(const int64_t& eventTimeNs, const string& apk, in notifyAppRemoved()
1101 void StatsLogProcessor::onUidMapReceived(const int64_t& eventTimeNs) { in onUidMapReceived()
/aosp12/packages/modules/StatsD/statsd/tests/state/
H A DStateTracker_test.cpp53 void onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
/aosp12/packages/modules/StatsD/statsd/tests/e2e/
H A DConfigUpdate_e2e_test.cpp2198 int64_t eventTimeNs = bucketStartTimeNs + 15 * NS_PER_SEC; in TEST_F() local