Searched refs:stateAtomId (Results 1 – 7 of 7) sorted by relevance
/packages/modules/StatsD/statsd/tests/ |
D | HashableDimensionKey_test.cpp | 52 int stateAtomId = UID_PROCESS_STATE_ATOM_ID; in TEST() local 60 stateMatcher.set_field(stateAtomId); in TEST() 66 ms.stateAtomId = stateAtomId; in TEST() 78 EXPECT_FALSE(containsLinkedStateValues(whatKey, primaryKey, mMetric2StateLinks, stateAtomId)); in TEST() 86 int stateAtomId = UID_PROCESS_STATE_ATOM_ID; in TEST() local 96 EXPECT_FALSE(containsLinkedStateValues(whatKey, primaryKey, mMetric2StateLinks, stateAtomId)); in TEST() 104 int stateAtomId = UID_PROCESS_STATE_ATOM_ID; in TEST() local 112 stateMatcher.set_field(stateAtomId); in TEST() 118 ms.stateAtomId = stateAtomId; in TEST() 129 EXPECT_TRUE(containsLinkedStateValues(whatKey, primaryKey, mMetric2StateLinks, stateAtomId)); in TEST()
|
/packages/modules/StatsD/statsd/src/ |
D | HashableDimensionKey.cpp | 282 const vector<Metric2State>& stateLinks, const int32_t stateAtomId) { in containsLinkedStateValues() argument 291 if (linked(stateLinks, stateAtomId, primaryValue.mField, whatValue.mField) && in containsLinkedStateValues() 304 bool linked(const vector<Metric2State>& stateLinks, const int32_t stateAtomId, in linked() argument 307 if (stateLink.stateAtomId != stateAtomId) { in linked()
|
D | HashableDimensionKey.h | 48 int32_t stateAtomId; member 262 const int32_t stateAtomId); 268 bool linked(const std::vector<Metric2State>& stateLinks, const int32_t stateAtomId,
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | DurationMetricProducer.cpp | 148 ms.stateAtomId = stateLink.state_atom_id(); in DurationMetricProducer() 772 getDimensionForState(values, stateLink, &statePrimaryKeys[stateLink.stateAtomId]); in handleMatchedLogEventValuesLocked()
|
D | MetricProducer.cpp | 156 &statePrimaryKeys[stateLink.stateAtomId]); in onMatchedLogEventLocked()
|
D | CountMetricProducer.cpp | 115 ms.stateAtomId = stateLink.state_atom_id(); in CountMetricProducer()
|
D | ValueMetricProducer.cpp | 123 ms.stateAtomId = stateLink.state_atom_id(); in ValueMetricProducer()
|