/frameworks/base/cmds/statsd/tests/metrics/ |
D | OringDurationTracker_test.cpp | 68 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST() 70 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 10, ConditionKey()); // overlapping wl in TEST() 98 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST() 99 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 10, ConditionKey()); // overlapping wl in TEST() 129 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST() 130 tracker.noteStart(kEventKey2, true, eventStartTimeNs + 10, ConditionKey()); // overlapping wl in TEST() 158 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST() 161 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 2 * bucketSizeNs, ConditionKey()); in TEST() 184 ConditionKey key1; in TEST() 221 ConditionKey key1; in TEST() [all …]
|
D | MaxDurationTracker_test.cpp | 68 tracker.noteStart(key1, true, bucketStartTimeNs, ConditionKey()); in TEST() 70 tracker.noteStart(key1, true, bucketStartTimeNs + 3, ConditionKey()); in TEST() 75 tracker.noteStart(key2, true, bucketStartTimeNs + 20, ConditionKey()); in TEST() 102 tracker.noteStart(key1, true, bucketStartTimeNs + 1, ConditionKey()); in TEST() 105 tracker.noteStart(key2, true, bucketStartTimeNs + 20, ConditionKey()); in TEST() 137 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + 1, ConditionKey()); in TEST() 141 ConditionKey()); in TEST() 176 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + 1, ConditionKey()); in TEST() 177 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + 10, ConditionKey()); in TEST() 199 ConditionKey conditionKey1; in TEST() [all …]
|
D | EventMetricProducer_test.cpp | 143 ConditionKey key1; in TEST() 149 ConditionKey key2; in TEST()
|
D | metrics_test_helper.h | 30 ConditionState(const int conditionIndex, const ConditionKey& conditionParameters,
|
D | CountMetricProducer_test.cpp | 214 ConditionKey key1; in TEST() 218 ConditionKey key2; in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.h | 39 const ConditionKey& conditionKey) override; 76 std::unordered_map<HashableDimensionKey, ConditionKey> mConditionKeyMap;
|
D | DurationTracker.h | 48 ConditionKey conditionKeys; 93 const ConditionKey& conditionKey) = 0;
|
D | MaxDurationTracker.h | 42 const ConditionKey& conditionKey) override;
|
D | MaxDurationTracker.cpp | 60 const int64_t eventTime, const ConditionKey& conditionKey) { in noteStart()
|
/frameworks/base/cmds/statsd/src/ |
D | stats_util.h | 30 typedef std::map<int64_t, HashableDimensionKey> ConditionKey; typedef
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | DurationMetricProducer.h | 66 const ConditionKey& conditionKeys, bool condition, const LogEvent& event, 70 void handleStartEvent(const MetricDimensionKey& eventKey, const ConditionKey& conditionKeys,
|
D | EventMetricProducer.h | 51 const ConditionKey& conditionKey, bool condition, const LogEvent& event,
|
D | CountMetricProducer.h | 63 const ConditionKey& conditionKey, bool condition, const LogEvent& event,
|
D | DurationMetricProducer.cpp | 504 const ConditionKey& conditionKeys, in handleStartEvent() 535 const ConditionKey& conditionKeys, bool condition, const LogEvent& event, in onMatchedLogEventInternalLocked() 622 ConditionKey conditionKey; in onMatchedLogEventLocked()
|
D | GaugeMetricProducer.h | 102 const ConditionKey& conditionKey, bool condition, const LogEvent& event,
|
D | EventMetricProducer.cpp | 147 const ConditionKey& conditionKey, bool condition, const LogEvent& event, in onMatchedLogEventInternalLocked()
|
D | ValueMetricProducer.h | 99 const ConditionKey& conditionKey, bool condition, const LogEvent& event,
|
/frameworks/base/cmds/statsd/src/condition/ |
D | ConditionWizard.h | 42 virtual ConditionState query(const int conditionIndex, const ConditionKey& conditionParameters,
|
D | ConditionWizard.cpp | 24 ConditionState ConditionWizard::query(const int index, const ConditionKey& parameters, in query()
|
D | CombinationConditionTracker.h | 44 void isConditionMet(const ConditionKey& conditionParameters,
|
D | ConditionTracker.h | 86 const ConditionKey& conditionParameters,
|
D | SimpleConditionTracker.h | 49 void isConditionMet(const ConditionKey& conditionParameters,
|
D | CombinationConditionTracker.cpp | 113 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
|
D | SimpleConditionTracker.cpp | 330 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
|
/frameworks/base/cmds/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 130 ConditionKey queryKey; in TEST() 184 ConditionKey queryKey; in TEST() 547 ConditionKey queryKey; in TEST()
|