/frameworks/base/cmds/statsd/tests/metrics/ |
D | OringDurationTracker_test.cpp | 69 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST() 71 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 10, ConditionKey()); // overlapping wl in TEST() 101 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST() 102 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 10, ConditionKey()); // overlapping wl in TEST() 134 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST() 135 tracker.noteStart(kEventKey2, true, eventStartTimeNs + 10, ConditionKey()); // overlapping wl in TEST() 165 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey()); in TEST() 168 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 2 * bucketSizeNs, ConditionKey()); in TEST() 192 ConditionKey key1; in TEST() 230 ConditionKey key1; in TEST() [all …]
|
D | MaxDurationTracker_test.cpp | 70 tracker.noteStart(key1, true, bucketStartTimeNs, ConditionKey()); in TEST() 72 tracker.noteStart(key1, true, bucketStartTimeNs + 3, ConditionKey()); in TEST() 77 tracker.noteStart(key2, true, bucketStartTimeNs + 20, ConditionKey()); in TEST() 106 tracker.noteStart(key1, true, bucketStartTimeNs + 1, ConditionKey()); in TEST() 109 tracker.noteStart(key2, true, bucketStartTimeNs + 20, ConditionKey()); in TEST() 143 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + 1, ConditionKey()); in TEST() 147 ConditionKey()); in TEST() 184 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + 1, ConditionKey()); in TEST() 185 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + 10, ConditionKey()); in TEST() 208 ConditionKey conditionKey1; in TEST() [all …]
|
D | EventMetricProducer_test.cpp | 106 ConditionKey key1; in TEST() 112 ConditionKey key2; in TEST()
|
D | metrics_test_helper.h | 30 ConditionState(const int conditionIndex, const ConditionKey& conditionParameters,
|
D | CountMetricProducer_test.cpp | 178 ConditionKey key1; in TEST() 185 ConditionKey key2; in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.h | 42 const ConditionKey& conditionKey) override; 70 std::unordered_map<HashableDimensionKey, ConditionKey> mConditionKeyMap;
|
D | DurationTracker.h | 48 ConditionKey conditionKeys; 89 const int64_t eventTime, const ConditionKey& conditionKey) = 0;
|
D | MaxDurationTracker.h | 44 const ConditionKey& conditionKey) override;
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | DurationMetricProducer.h | 57 const ConditionKey& conditionKeys, bool condition, 61 void handleStartEvent(const MetricDimensionKey& eventKey, const ConditionKey& conditionKeys,
|
D | EventMetricProducer.h | 45 const ConditionKey& conditionKey, bool condition,
|
D | CountMetricProducer.h | 52 const ConditionKey& conditionKey, bool condition,
|
D | DurationMetricProducer.cpp | 396 ConditionKey conditionKey; in onSlicedConditionMayChangeInternalLocked() 690 const ConditionKey& conditionKeys, in handleStartEvent() 731 const ConditionKey& conditionKeys, bool condition, in onMatchedLogEventInternalLocked() 792 ConditionKey conditionKey; in onMatchedLogEventLocked()
|
D | GaugeMetricProducer.h | 94 const ConditionKey& conditionKey, bool condition,
|
D | EventMetricProducer.cpp | 141 const ConditionKey& conditionKey, bool condition, in onMatchedLogEventInternalLocked()
|
D | MetricProducer.cpp | 53 ConditionKey conditionKey; in onMatchedLogEventLocked()
|
D | ValueMetricProducer.h | 82 const ConditionKey& conditionKey, bool condition,
|
/frameworks/base/cmds/statsd/src/ |
D | stats_util.h | 30 typedef std::map<int64_t, HashableDimensionKey> ConditionKey; typedef
|
/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 | StateTracker.h | 56 void isConditionMet(const ConditionKey& conditionParameters,
|
D | ConditionTracker.h | 95 const ConditionKey& conditionParameters,
|
D | SimpleConditionTracker.h | 49 void isConditionMet(const ConditionKey& conditionParameters,
|
D | CombinationConditionTracker.cpp | 107 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
|
D | StateTracker.cpp | 180 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
|