/frameworks/base/cmds/statsd/src/state/ |
D | StateTracker.cpp | 32 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/ |
D | ValueMetricProducer_test.cpp | 382 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 …]
|
D | GaugeMetricProducer_test.cpp | 142 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()
|
D | CountMetricProducer_test.cpp | 253 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/ |
D | StatsPuller_test.cpp | 63 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/ |
D | MetricProducer.h | 150 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()
|
D | GaugeMetricProducer.cpp | 346 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()
|
D | DurationMetricProducer.cpp | 163 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
|
D | GaugeMetricProducer.h | 77 void notifyAppUpgrade(const int64_t& eventTimeNs) override { in notifyAppUpgrade() 90 void onStatsdInitCompleted(const int64_t& eventTimeNs) override { in onStatsdInitCompleted()
|
D | CountMetricProducer.cpp | 124 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()
|
D | MetricsManager.cpp | 232 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
|
D | ValueMetricProducer.cpp | 186 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()
|
D | ValueMetricProducer.h | 73 void notifyAppUpgrade(const int64_t& eventTimeNs) override { in notifyAppUpgrade() 85 void onStatsdInitCompleted(const int64_t& eventTimeNs) override { in onStatsdInitCompleted()
|
D | MetricProducer.cpp | 78 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked() local
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPullerManager.cpp | 94 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()
|
D | StatsPuller.cpp | 45 bool StatsPuller::Pull(const int64_t eventTimeNs, std::vector<std::shared_ptr<LogEvent>>* data) { in Pull()
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 135 const int64_t& eventTimeNs, in flushCurrentBucket() 220 int64_t eventTimeNs, unordered_map<MetricDimensionKey, vector<DurationBucket>>* output) { in flushIfNeeded()
|
D | MaxDurationTracker.cpp | 165 const int64_t& eventTimeNs, in flushCurrentBucket() 217 int64_t eventTimeNs, unordered_map<MetricDimensionKey, vector<DurationBucket>>* output) { in flushIfNeeded()
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.cpp | 525 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()
|
D | StatsLogProcessor_test.cpp | 1731 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/ |
D | StatsLogProcessor.cpp | 1053 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/ |
D | StateTracker_test.cpp | 53 void onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
|