/packages/modules/StatsD/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 48 const uint64_t protoHash = 0x1234567890; variable 78 wizard, protoHash, dimensions, 5, 600 * NS_PER_SEC + NS_PER_SEC / 2); in TEST() 106 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST() 149 3 /* stop_all index */, false /*nesting*/, wizard, protoHash, dimensions, in TEST() 200 3 /* stop_all index */, false /*nesting*/, wizard, protoHash, dimensions, in TEST() 247 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 310 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 374 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 421 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 475 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P()
|
D | CountMetricProducer_test.cpp | 44 const uint64_t protoHash = 0x1234567890; variable 79 wizard, protoHash, 5, 600 * NS_PER_SEC + NS_PER_SEC / 2); in TEST() 99 wizard, protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST() 162 protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST() 230 {ConditionState::kUnknown}, wizard, protoHash, in TEST() 269 protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 337 protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 402 wizard, protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST() 465 protoHash, oneDayNs, fiveWeeksNs); in TEST()
|
D | EventMetricProducer_test.cpp | 42 const uint64_t protoHash = 0x1234567890; variable 71 wizard, protoHash, bucketStartTimeNs); in TEST() 107 {ConditionState::kUnknown}, wizard, protoHash, in TEST() 163 {ConditionState::kUnknown}, wizard, protoHash, in TEST()
|
D | GaugeMetricProducer_test.cpp | 50 const uint64_t protoHash = 0x123456789; variable 105 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 144 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 219 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST_P() 313 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST_P() 381 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 435 {ConditionState::kUnknown}, wizard, protoHash, in TEST() 518 {ConditionState::kUnknown}, wizard, protoHash, in TEST() 563 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 660 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() [all …]
|
D | ValueMetricProducer_test.cpp | 49 const uint64_t protoHash = 0x1234567890; variable 119 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in createValueProducerNoConditions() 138 protoHash, logEventMatcherIndex, eventMatcherWizard, tagId, bucketStartTimeNs, in createValueProducerWithCondition() 158 kConfigKey, metric, -1 /* no condition */, {}, wizard, protoHash, in createValueProducerWithState() 180 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, tagId, in createValueProducerWithConditionAndState() 240 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 266 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 428 protoHash, logEventMatcherIndex, eventMatcherWizard, tagId, in TEST() 692 ValueMetricProducer valueProducer(kConfigKey, metric, -1, {}, wizard, protoHash, in TEST_P() 762 ValueMetricProducer valueProducer(kConfigKey, metric, -1, {}, wizard, protoHash, in TEST_P() [all …]
|
/packages/modules/StatsD/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 42 const uint64_t protoHash = 0x123456789; variable 127 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), protoHash, in TEST() 181 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), protoHash, in TEST() 235 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), protoHash, in TEST() 322 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), protoHash, in TEST() 397 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), protoHash, in TEST() 519 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), protoHash, in TEST() 615 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), protoHash, in TEST()
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | AtomMatchingTracker.h | 36 AtomMatchingTracker(const int64_t& id, const int index, const uint64_t protoHash) in AtomMatchingTracker() argument 37 : mId(id), mIndex(index), mInitialized(false), mProtoHash(protoHash){}; in AtomMatchingTracker()
|
D | SimpleAtomMatchingTracker.cpp | 30 const uint64_t protoHash, in SimpleAtomMatchingTracker() argument 33 : AtomMatchingTracker(id, index, protoHash), mMatcher(matcher), mUidMap(uidMap) { in SimpleAtomMatchingTracker()
|
D | CombinationAtomMatchingTracker.cpp | 32 const uint64_t protoHash) in CombinationAtomMatchingTracker() argument 33 : AtomMatchingTracker(id, index, protoHash) { in CombinationAtomMatchingTracker()
|
D | SimpleAtomMatchingTracker.h | 33 SimpleAtomMatchingTracker(const int64_t& id, const int index, const uint64_t protoHash,
|
D | CombinationAtomMatchingTracker.h | 32 CombinationAtomMatchingTracker(const int64_t& id, const int index, const uint64_t protoHash);
|
/packages/modules/StatsD/statsd/src/condition/ |
D | ConditionTracker.h | 34 ConditionTracker(const int64_t& id, const int index, const uint64_t protoHash) in ConditionTracker() argument 41 mProtoHash(protoHash){}; in ConditionTracker()
|
D | CombinationConditionTracker.cpp | 29 const uint64_t protoHash) in CombinationConditionTracker() argument 30 : ConditionTracker(id, index, protoHash) { in CombinationConditionTracker()
|
D | SimpleConditionTracker.cpp | 30 const ConfigKey& key, const int64_t& id, const uint64_t protoHash, const int index, in SimpleConditionTracker() argument 33 : ConditionTracker(id, index, protoHash), in SimpleConditionTracker()
|
D | CombinationConditionTracker.h | 29 CombinationConditionTracker(const int64_t& id, const int index, const uint64_t protoHash);
|
D | SimpleConditionTracker.h | 32 SimpleConditionTracker(const ConfigKey& key, const int64_t& id, const uint64_t protoHash,
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | EventMetricProducer.cpp | 60 const uint64_t protoHash, const int64_t startTimeNs, in EventMetricProducer() argument 66 protoHash, eventActivationMap, eventDeactivationMap, slicedStateAtoms, in EventMetricProducer()
|
D | MetricProducer.cpp | 50 const sp<ConditionWizard>& wizard, const uint64_t protoHash, in MetricProducer() argument 57 mProtoHash(protoHash), in MetricProducer()
|
D | CountMetricProducer.cpp | 73 const uint64_t protoHash, const int64_t timeBaseNs, const int64_t startTimeNs, in CountMetricProducer() argument 79 protoHash, eventActivationMap, eventDeactivationMap, slicedStateAtoms, in CountMetricProducer()
|
D | EventMetricProducer.h | 39 const uint64_t protoHash, const int64_t startTimeNs,
|
D | CountMetricProducer.h | 47 const uint64_t protoHash, const int64_t timeBaseNs, const int64_t startTimeNs,
|
D | GaugeMetricProducer.cpp | 76 const uint64_t protoHash, const int whatMatcherIndex, in GaugeMetricProducer() argument 83 protoHash, eventActivationMap, eventDeactivationMap, /*slicedStateAtoms=*/{}, in GaugeMetricProducer()
|
D | DurationMetricProducer.h | 45 const sp<ConditionWizard>& wizard, const uint64_t protoHash,
|
D | GaugeMetricProducer.h | 62 const sp<ConditionWizard>& conditionWizard, const uint64_t protoHash,
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 73 uint64_t protoHash = Hash64(serializedMatcher); in createAtomMatchingTracker() local 76 return new SimpleAtomMatchingTracker(logMatcher.id(), index, protoHash, in createAtomMatchingTracker() 79 return new CombinationAtomMatchingTracker(logMatcher.id(), index, protoHash); in createAtomMatchingTracker() 94 uint64_t protoHash = Hash64(serializedPredicate); in createConditionTracker() local 97 return new SimpleConditionTracker(key, predicate.id(), protoHash, index, in createConditionTracker() 101 return new CombinationConditionTracker(predicate.id(), index, protoHash); in createConditionTracker()
|