/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 292 const unordered_map<int64_t, int>& stateAtomIdMap, in handleMetricWithStates() argument 297 auto it = stateAtomIdMap.find(stateId); in handleMetricWithStates() 298 if (it == stateAtomIdMap.end()) { in handleMetricWithStates() 524 const unordered_map<int64_t, int>& stateAtomIdMap, in createCountMetricProducerAndUpdateMetadata() argument 568 handleMetricWithStates(config, metric.id(), metric.slice_by_state(), stateAtomIdMap, in createCountMetricProducerAndUpdateMetadata() 650 const unordered_map<int64_t, int>& stateAtomIdMap, in createDurationMetricProducerAndUpdateMetadata() argument 747 handleMetricWithStates(config, metric.id(), metric.slice_by_state(), stateAtomIdMap, in createDurationMetricProducerAndUpdateMetadata() 841 const std::unordered_map<int64_t, int>& stateAtomIdMap, in createEventMetricProducerAndUpdateMetadata() argument 897 handleMetricWithStates(config, metric.id(), metric.slice_by_state(), stateAtomIdMap, in createEventMetricProducerAndUpdateMetadata() 998 const unordered_map<int64_t, int>& stateAtomIdMap, in createNumericValueMetricProducerAndUpdateMetadata() argument [all …]
|
D | metrics_manager_util.h | 108 const std::unordered_map<int64_t, int>& stateAtomIdMap, 128 const std::unordered_map<int64_t, int>& stateAtomIdMap, 148 const std::unordered_map<int64_t, int>& stateAtomIdMap, 170 const std::unordered_map<int64_t, int>& stateAtomIdMap, 192 const std::unordered_map<int64_t, int>& stateAtomIdMap, 214 const unordered_map<int64_t, int>& stateAtomIdMap, 326 const StatsdConfig& config, unordered_map<int64_t, int>& stateAtomIdMap, 352 const unordered_map<int64_t, int>& stateAtomIdMap,
|
D | config_update_utils.cpp | 456 unordered_map<int64_t, int>& stateAtomIdMap, in updateStates() argument 461 initStates(config, stateAtomIdMap, allStateGroupMaps, newStateProtoHashes); in updateStates() 729 const unordered_map<int64_t, int>& stateAtomIdMap, in updateMetrics() argument 802 conditionTrackerMap, initialConditionCache, wizard, stateAtomIdMap, in updateMetrics() 844 conditionTrackerMap, initialConditionCache, wizard, stateAtomIdMap, in updateMetrics() 886 initialConditionCache, wizard, stateAtomIdMap, allStateGroupMaps, in updateMetrics() 929 stateAtomIdMap, allStateGroupMaps, metricToActivationMap, in updateMetrics() 972 stateAtomIdMap, allStateGroupMaps, metricToActivationMap, in updateMetrics() 1016 stateAtomIdMap, allStateGroupMaps, metricToActivationMap, in updateMetrics() 1235 unordered_map<int64_t, int> stateAtomIdMap; in updateStatsdConfig() local [all …]
|
D | config_update_utils.h | 125 std::unordered_map<int64_t, int>& stateAtomIdMap, 178 const std::unordered_map<int64_t, int>& stateAtomIdMap,
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 993 unordered_map<int64_t, int> stateAtomIdMap; in TEST_F() local 997 EXPECT_EQ(updateStates(newConfig, oldStateHashes, stateAtomIdMap, allStateGroupMaps, in TEST_F() 1006 EXPECT_THAT(stateAtomIdMap, ContainerEq(expectedStateAtomIdMap)); in TEST_F() 2197 unordered_map<int64_t, int> stateAtomIdMap; in TEST_F() local 2200 EXPECT_EQ(initStates(newConfig, stateAtomIdMap, allStateGroupMaps, stateProtoHashes), nullopt); in TEST_F() 2201 EXPECT_EQ(stateAtomIdMap[state2Id], util::BATTERY_SAVER_MODE_STATE_CHANGED); in TEST_F() 2218 conditionCache, stateAtomIdMap, allStateGroupMaps, replacedStates, in TEST_F() 2736 unordered_map<int64_t, int> stateAtomIdMap; in TEST_F() local 2739 EXPECT_EQ(initStates(newConfig, stateAtomIdMap, allStateGroupMaps, stateProtoHashes), nullopt); in TEST_F() 2756 newConditionTrackers, conditionCache, stateAtomIdMap, allStateGroupMaps, in TEST_F() [all …]
|