Home
last modified time | relevance | path

Searched refs:protoHash (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/StatsD/statsd/tests/metrics/
DDurationMetricProducer_test.cpp48 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()
DCountMetricProducer_test.cpp44 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()
DEventMetricProducer_test.cpp42 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()
DGaugeMetricProducer_test.cpp50 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 …]
DValueMetricProducer_test.cpp49 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/
DSimpleConditionTracker_test.cpp42 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/
DAtomMatchingTracker.h36 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()
DSimpleAtomMatchingTracker.cpp30 const uint64_t protoHash, in SimpleAtomMatchingTracker() argument
33 : AtomMatchingTracker(id, index, protoHash), mMatcher(matcher), mUidMap(uidMap) { in SimpleAtomMatchingTracker()
DCombinationAtomMatchingTracker.cpp32 const uint64_t protoHash) in CombinationAtomMatchingTracker() argument
33 : AtomMatchingTracker(id, index, protoHash) { in CombinationAtomMatchingTracker()
DSimpleAtomMatchingTracker.h33 SimpleAtomMatchingTracker(const int64_t& id, const int index, const uint64_t protoHash,
DCombinationAtomMatchingTracker.h32 CombinationAtomMatchingTracker(const int64_t& id, const int index, const uint64_t protoHash);
/packages/modules/StatsD/statsd/src/condition/
DConditionTracker.h34 ConditionTracker(const int64_t& id, const int index, const uint64_t protoHash) in ConditionTracker() argument
41 mProtoHash(protoHash){}; in ConditionTracker()
DCombinationConditionTracker.cpp29 const uint64_t protoHash) in CombinationConditionTracker() argument
30 : ConditionTracker(id, index, protoHash) { in CombinationConditionTracker()
DSimpleConditionTracker.cpp30 const ConfigKey& key, const int64_t& id, const uint64_t protoHash, const int index, in SimpleConditionTracker() argument
33 : ConditionTracker(id, index, protoHash), in SimpleConditionTracker()
DCombinationConditionTracker.h29 CombinationConditionTracker(const int64_t& id, const int index, const uint64_t protoHash);
DSimpleConditionTracker.h32 SimpleConditionTracker(const ConfigKey& key, const int64_t& id, const uint64_t protoHash,
/packages/modules/StatsD/statsd/src/metrics/
DEventMetricProducer.cpp60 const uint64_t protoHash, const int64_t startTimeNs, in EventMetricProducer() argument
66 protoHash, eventActivationMap, eventDeactivationMap, slicedStateAtoms, in EventMetricProducer()
DMetricProducer.cpp50 const sp<ConditionWizard>& wizard, const uint64_t protoHash, in MetricProducer() argument
57 mProtoHash(protoHash), in MetricProducer()
DCountMetricProducer.cpp73 const uint64_t protoHash, const int64_t timeBaseNs, const int64_t startTimeNs, in CountMetricProducer() argument
79 protoHash, eventActivationMap, eventDeactivationMap, slicedStateAtoms, in CountMetricProducer()
DEventMetricProducer.h39 const uint64_t protoHash, const int64_t startTimeNs,
DCountMetricProducer.h47 const uint64_t protoHash, const int64_t timeBaseNs, const int64_t startTimeNs,
DGaugeMetricProducer.cpp76 const uint64_t protoHash, const int whatMatcherIndex, in GaugeMetricProducer() argument
83 protoHash, eventActivationMap, eventDeactivationMap, /*slicedStateAtoms=*/{}, in GaugeMetricProducer()
DDurationMetricProducer.h45 const sp<ConditionWizard>& wizard, const uint64_t protoHash,
DGaugeMetricProducer.h62 const sp<ConditionWizard>& conditionWizard, const uint64_t protoHash,
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp73 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()

12