Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/state/
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()
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp382 int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST_P()
383 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST_P()
632 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST()
639 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST()
640 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST()
777 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST_P()
865 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST_P()
866 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST_P()
1177 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST()
1178 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST()
[all …]
DGaugeMetricProducer_test.cpp142 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST()
316 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST_P()
445 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST()
532 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST()
676 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST()
677 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST()
748 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST()
755 .WillOnce(Invoke([](int tagId, const ConfigKey&, const int64_t eventTimeNs, in TEST()
756 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST()
821 vector<std::shared_ptr<LogEvent>>* data, bool) { in TEST()
DCountMetricProducer_test.cpp253 int64_t eventTimeNs = bucketStartTimeNs + 15 * NS_PER_SEC; in TEST_P() local
323 int64_t eventTimeNs = bucketStartTimeNs + 65 * NS_PER_SEC; in TEST_P() local
/frameworks/base/cmds/statsd/tests/external/
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
/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.h150 virtual void notifyAppUpgrade(const int64_t& eventTimeNs) { in notifyAppUpgrade()
155 void notifyAppRemoved(const int64_t& eventTimeNs) { in notifyAppRemoved()
163 virtual void onStatsdInitCompleted(const int64_t& eventTimeNs) { in onStatsdInitCompleted()
188 void onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
308 virtual void flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
314 virtual void flushLocked(const int64_t& eventTimeNs) { in flushLocked()
361 virtual void onActiveStateChangedLocked(const int64_t& eventTimeNs) { in onActiveStateChangedLocked()
DGaugeMetricProducer.cpp346 void GaugeMetricProducer::onActiveStateChangedLocked(const int64_t& eventTimeNs) { in onActiveStateChangedLocked()
358 const int64_t eventTimeNs) { in onConditionChangedLocked()
373 const int64_t eventTimeNs) { in onSlicedConditionMayChangeLocked()
460 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked() local
535 void GaugeMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked()
554 void GaugeMetricProducer::flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
DDurationMetricProducer.cpp163 void DurationMetricProducer::onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
271 const int64_t eventTimeNs) { in onSlicedConditionMayChangeInternalLocked()
301 void DurationMetricProducer::onActiveStateChangedLocked(const int64_t& eventTimeNs) { in onActiveStateChangedLocked()
439 void DurationMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked()
453 void DurationMetricProducer::flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
542 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked() local
DGaugeMetricProducer.h77 void notifyAppUpgrade(const int64_t& eventTimeNs) override { in notifyAppUpgrade()
90 void onStatsdInitCompleted(const int64_t& eventTimeNs) override { in onStatsdInitCompleted()
DCountMetricProducer.cpp124 void CountMetricProducer::onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
282 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked() local
318 void CountMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked()
334 void CountMetricProducer::flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
DMetricsManager.cpp232 void MetricsManager::notifyAppUpgrade(const int64_t& eventTimeNs, const string& apk, const int uid, in notifyAppUpgrade()
253 void MetricsManager::notifyAppRemoved(const int64_t& eventTimeNs, const string& apk, in notifyAppRemoved()
274 void MetricsManager::onUidMapReceived(const int64_t& eventTimeNs) { in onUidMapReceived()
286 void MetricsManager::onStatsdInitCompleted(const int64_t& eventTimeNs) { in onStatsdInitCompleted()
462 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onLogEvent() local
DValueMetricProducer.cpp186 void ValueMetricProducer::onStateChanged(int64_t eventTimeNs, int32_t atomId, in onStateChanged()
425 void ValueMetricProducer::onActiveStateChangedLocked(const int64_t& eventTimeNs) { in onActiveStateChangedLocked()
459 const int64_t eventTimeNs) { in onConditionChangedLocked()
753 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked() local
930 void ValueMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked()
950 void ValueMetricProducer::flushCurrentBucketLocked(const int64_t& eventTimeNs, in flushCurrentBucketLocked()
DValueMetricProducer.h73 void notifyAppUpgrade(const int64_t& eventTimeNs) override { in notifyAppUpgrade()
85 void onStatsdInitCompleted(const int64_t& eventTimeNs) override { in onStatsdInitCompleted()
DMetricProducer.cpp78 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked() local
/frameworks/base/cmds/statsd/src/external/
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()
131 const int64_t eventTimeNs, vector<shared_ptr<LogEvent>>* data, in PullLocked()
DStatsPuller.cpp45 bool StatsPuller::Pull(const int64_t eventTimeNs, std::vector<std::shared_ptr<LogEvent>>* data) { in Pull()
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp135 const int64_t& eventTimeNs, in flushCurrentBucket()
220 int64_t eventTimeNs, unordered_map<MetricDimensionKey, vector<DurationBucket>>* output) { in flushIfNeeded()
DMaxDurationTracker.cpp165 const int64_t& eventTimeNs, in flushCurrentBucket()
217 int64_t eventTimeNs, unordered_map<MetricDimensionKey, vector<DurationBucket>>* output) { in flushIfNeeded()
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp525 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
537 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
544 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
557 shared_ptr<LogEvent> CreateThreeValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
564 void CreateRepeatedValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, in CreateRepeatedValueLogEvent()
576 shared_ptr<LogEvent> CreateRepeatedValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value) { in CreateRepeatedValueLogEvent()
582 void CreateNoValuesLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs) { in CreateNoValuesLogEvent()
590 shared_ptr<LogEvent> CreateNoValuesLogEvent(int atomId, int64_t eventTimeNs) { in CreateNoValuesLogEvent()
596 shared_ptr<LogEvent> makeUidLogEvent(int atomId, int64_t eventTimeNs, int uid, int data1, in makeUidLogEvent()
612 shared_ptr<LogEvent> makeAttributionLogEvent(int atomId, int64_t eventTimeNs, in makeAttributionLogEvent()
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
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp1053 void StatsLogProcessor::notifyAppUpgrade(const int64_t& eventTimeNs, const string& apk, in notifyAppUpgrade()
1063 void StatsLogProcessor::notifyAppRemoved(const int64_t& eventTimeNs, const string& apk, in notifyAppRemoved()
1073 void StatsLogProcessor::onUidMapReceived(const int64_t& eventTimeNs) { in onUidMapReceived()
/frameworks/base/cmds/statsd/tests/state/
DStateTracker_test.cpp53 void onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()