Home
last modified time | relevance | path

Searched refs:ConditionKey (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/cmds/statsd/tests/metrics/
DOringDurationTracker_test.cpp68 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 …]
DMaxDurationTracker_test.cpp68 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 …]
DEventMetricProducer_test.cpp143 ConditionKey key1; in TEST()
149 ConditionKey key2; in TEST()
Dmetrics_test_helper.h30 ConditionState(const int conditionIndex, const ConditionKey& conditionParameters,
DCountMetricProducer_test.cpp214 ConditionKey key1; in TEST()
218 ConditionKey key2; in TEST()
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.h39 const ConditionKey& conditionKey) override;
76 std::unordered_map<HashableDimensionKey, ConditionKey> mConditionKeyMap;
DDurationTracker.h48 ConditionKey conditionKeys;
93 const ConditionKey& conditionKey) = 0;
DMaxDurationTracker.h42 const ConditionKey& conditionKey) override;
DMaxDurationTracker.cpp60 const int64_t eventTime, const ConditionKey& conditionKey) { in noteStart()
/frameworks/base/cmds/statsd/src/
Dstats_util.h30 typedef std::map<int64_t, HashableDimensionKey> ConditionKey; typedef
/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.h66 const ConditionKey& conditionKeys, bool condition, const LogEvent& event,
70 void handleStartEvent(const MetricDimensionKey& eventKey, const ConditionKey& conditionKeys,
DEventMetricProducer.h51 const ConditionKey& conditionKey, bool condition, const LogEvent& event,
DCountMetricProducer.h63 const ConditionKey& conditionKey, bool condition, const LogEvent& event,
DDurationMetricProducer.cpp504 const ConditionKey& conditionKeys, in handleStartEvent()
535 const ConditionKey& conditionKeys, bool condition, const LogEvent& event, in onMatchedLogEventInternalLocked()
622 ConditionKey conditionKey; in onMatchedLogEventLocked()
DGaugeMetricProducer.h102 const ConditionKey& conditionKey, bool condition, const LogEvent& event,
DEventMetricProducer.cpp147 const ConditionKey& conditionKey, bool condition, const LogEvent& event, in onMatchedLogEventInternalLocked()
DValueMetricProducer.h99 const ConditionKey& conditionKey, bool condition, const LogEvent& event,
/frameworks/base/cmds/statsd/src/condition/
DConditionWizard.h42 virtual ConditionState query(const int conditionIndex, const ConditionKey& conditionParameters,
DConditionWizard.cpp24 ConditionState ConditionWizard::query(const int index, const ConditionKey& parameters, in query()
DCombinationConditionTracker.h44 void isConditionMet(const ConditionKey& conditionParameters,
DConditionTracker.h86 const ConditionKey& conditionParameters,
DSimpleConditionTracker.h49 void isConditionMet(const ConditionKey& conditionParameters,
DCombinationConditionTracker.cpp113 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
DSimpleConditionTracker.cpp330 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp130 ConditionKey queryKey; in TEST()
184 ConditionKey queryKey; in TEST()
547 ConditionKey queryKey; in TEST()

12