/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() 248 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 312 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 377 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 425 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 480 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() [all …]
|
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() 270 protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 339 protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() 400 protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST() 469 wizard, protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST() 532 protoHash, oneDayNs, fiveWeeksNs); in TEST()
|
D | EventMetricProducer_test.cpp | 42 const uint64_t protoHash = 0x1234567890; variable 81 wizard, protoHash, bucketStartTimeNs); in TEST_F() 118 {ConditionState::kUnknown}, wizard, protoHash, in TEST_F() 175 {ConditionState::kUnknown}, wizard, protoHash, in TEST_F() 213 wizard, protoHash, bucketStartTimeNs); in TEST_F() 262 wizard, protoHash, bucketStartTimeNs); in TEST_F()
|
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() 232 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST_P() 327 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST_P() 395 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 449 {ConditionState::kUnknown}, wizard, protoHash, in TEST() 537 {ConditionState::kUnknown}, wizard, protoHash, in TEST() 582 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 679 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() [all …]
|
D | KllMetricProducer_test.cpp | 53 const uint64_t protoHash = 0x1234567890; variable 140 kConfigKey, metric, protoHash, {/*pullAtomId=*/-1, /*pullerManager=*/nullptr},
|
/packages/modules/StatsD/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 45 const uint64_t protoHash = 0x123456789; variable 136 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), protoHash, in TEST() 190 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), protoHash, in TEST() 244 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), protoHash, in TEST() 331 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), protoHash, in TEST() 406 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), protoHash, in TEST_P() 506 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), protoHash, in TEST() 602 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), protoHash, in TEST_P() 704 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), protoHash, in TEST() 750 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 | CombinationAtomMatchingTracker.h | 32 CombinationAtomMatchingTracker(const int64_t& id, const int index, const uint64_t protoHash);
|
D | SimpleAtomMatchingTracker.h | 33 SimpleAtomMatchingTracker(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 | KllMetricProducer.cpp | 58 const uint64_t protoHash, const PullOptions& pullOptions, in KllMetricProducer() argument 65 : ValueMetricProducer(metric.id(), key, protoHash, pullOptions, bucketOptions, whatOptions, in KllMetricProducer()
|
D | EventMetricProducer.cpp | 62 const uint64_t protoHash, const int64_t startTimeNs, in EventMetricProducer() argument 68 protoHash, eventActivationMap, eventDeactivationMap, slicedStateAtoms, in EventMetricProducer()
|
D | MetricProducer.cpp | 50 const sp<ConditionWizard>& wizard, const uint64_t protoHash, in MetricProducer() argument 58 mProtoHash(protoHash), in MetricProducer()
|
D | EventMetricProducer.h | 40 const uint64_t protoHash, const int64_t startTimeNs,
|
D | KllMetricProducer.h | 47 KllMetricProducer(const ConfigKey& key, const KllMetric& kllMetric, const uint64_t protoHash,
|
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 | CountMetricProducer.h | 47 const uint64_t protoHash, const int64_t timeBaseNs, const int64_t startTimeNs,
|
D | NumericValueMetricProducer.cpp | 65 const ConfigKey& key, const ValueMetric& metric, const uint64_t protoHash, in NumericValueMetricProducer() argument 70 : ValueMetricProducer(metric.id(), key, protoHash, pullOptions, bucketOptions, whatOptions, in NumericValueMetricProducer()
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 75 uint64_t protoHash = Hash64(serializedMatcher); in createAtomMatchingTracker() local 78 return new SimpleAtomMatchingTracker(logMatcher.id(), index, protoHash, in createAtomMatchingTracker() 81 return new CombinationAtomMatchingTracker(logMatcher.id(), index, protoHash); in createAtomMatchingTracker() 96 uint64_t protoHash = Hash64(serializedPredicate); in createConditionTracker() local 99 return new SimpleConditionTracker(key, predicate.id(), protoHash, index, in createConditionTracker() 103 return new CombinationConditionTracker(predicate.id(), index, protoHash); in createConditionTracker()
|