Home
last modified time | relevance | path

Searched refs:stateAtomIdMap (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
H A Dmetrics_manager_util.cpp198 const unordered_map<int64_t, int>& stateAtomIdMap, in handleMetricWithStates() argument
203 auto it = stateAtomIdMap.find(stateId); in handleMetricWithStates()
204 if (it == stateAtomIdMap.end()) { in handleMetricWithStates()
359 const unordered_map<int64_t, int>& stateAtomIdMap, in createCountMetricProducerAndUpdateMetadata() argument
396 if (!handleMetricWithStates(config, metric.slice_by_state(), stateAtomIdMap, in createCountMetricProducerAndUpdateMetadata()
441 const unordered_map<int64_t, int>& stateAtomIdMap, in createDurationMetricProducerAndUpdateMetadata() argument
640 const unordered_map<int64_t, int>& stateAtomIdMap, in createValueMetricProducerAndUpdateMetadata() argument
963 stateAtomIdMap[stateId] = state.atom_id(); in initStates()
988 const unordered_map<int64_t, int>& stateAtomIdMap, in initMetrics() argument
1208 unordered_map<int64_t, int> stateAtomIdMap; in initStatsdConfig() local
[all …]
H A Dmetrics_manager_util.h106 const std::unordered_map<int64_t, int>& stateAtomIdMap,
125 const std::unordered_map<int64_t, int>& stateAtomIdMap,
163 const std::unordered_map<int64_t, int>& stateAtomIdMap,
273 bool initStates(const StatsdConfig& config, unordered_map<int64_t, int>& stateAtomIdMap,
298 const unordered_map<int64_t, int>& stateAtomIdMap,
H A Dconfig_update_utils.cpp400 unordered_map<int64_t, int>& stateAtomIdMap, in updateStates() argument
404 if (!initStates(config, stateAtomIdMap, allStateGroupMaps, newStateProtoHashes)) { in updateStates()
650 const unordered_map<int64_t, int>& stateAtomIdMap, in updateMetrics() argument
714 conditionTrackerMap, initialConditionCache, wizard, stateAtomIdMap, in updateMetrics()
753 conditionTrackerMap, initialConditionCache, wizard, stateAtomIdMap, in updateMetrics()
832 stateAtomIdMap, allStateGroupMaps, metricToActivationMap, in updateMetrics()
1068 unordered_map<int64_t, int> stateAtomIdMap; in updateStatsdConfig() local
1086 if (!updateStates(config, oldStateProtoHashes, stateAtomIdMap, allStateGroupMaps, in updateStatsdConfig()
1094 newConditionTrackers, conditionCache, stateAtomIdMap, allStateGroupMaps, in updateStatsdConfig()
H A Dconfig_update_utils.h121 std::unordered_map<int64_t, int>& stateAtomIdMap,
176 const std::unordered_map<int64_t, int>& stateAtomIdMap,
/aosp12/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
H A Dconfig_update_utils_test.cpp930 unordered_map<int64_t, int> stateAtomIdMap; in TEST_F() local
934 EXPECT_TRUE(updateStates(newConfig, oldStateHashes, stateAtomIdMap, allStateGroupMaps, in TEST_F()
942 EXPECT_THAT(stateAtomIdMap, ContainerEq(expectedStateAtomIdMap)); in TEST_F()
2012 unordered_map<int64_t, int> stateAtomIdMap; in TEST_F() local
2015 EXPECT_TRUE(initStates(newConfig, stateAtomIdMap, allStateGroupMaps, stateProtoHashes)); in TEST_F()
2016 EXPECT_EQ(stateAtomIdMap[state2Id], util::BATTERY_SAVER_MODE_STATE_CHANGED); in TEST_F()
2032 newConditionTrackers, conditionCache, stateAtomIdMap, allStateGroupMaps, replacedStates, in TEST_F()
2543 unordered_map<int64_t, int> stateAtomIdMap; in TEST_F() local
2546 EXPECT_TRUE(initStates(newConfig, stateAtomIdMap, allStateGroupMaps, stateProtoHashes)); in TEST_F()
2808 unordered_map<int64_t, int> stateAtomIdMap; in TEST_F() local
[all …]