Home
last modified time | relevance | path

Searched refs:stateId (Results 1 – 6 of 6) sorted by relevance

/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.h38 std::optional<int64_t> stateId; member
50 (this->stateId == other.stateId) && (this->alertId == other.alertId) &&
1128 const int64_t stateId);
DStatsdStats.cpp1662 if (configStats.reason->stateId.has_value()) { in addConfigStatsToProto()
1664 configStats.reason->stateId.value()); in addConfigStatsToProto()
2158 const int64_t stateId) { in createInvalidConfigReasonWithState() argument
2160 invalidConfigReason.stateId = stateId; in createInvalidConfigReasonWithState()
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp293 for (const auto& stateId : stateIds) { in handleMetricWithStates() local
294 auto it = stateAtomIdMap.find(stateId); in handleMetricWithStates()
296 ALOGW("cannot find State %" PRId64 " in the config", stateId); in handleMetricWithStates()
298 metricId, stateId); in handleMetricWithStates()
303 auto stateIt = allStateGroupMaps.find(stateId); in handleMetricWithStates()
1552 const int64_t stateId = state.id(); in initStates() local
1553 stateAtomIdMap[stateId] = state.atom_id(); in initStates()
1557 ALOGE("Unable to serialize state %lld", (long long)stateId); in initStates()
1561 stateProtoHashes[stateId] = Hash64(serializedState); in initStates()
1566 allStateGroupMaps[stateId][value] = group.group_id(); in initStates()
Dconfig_update_utils.cpp466 for (const auto& [stateId, stateHash] : oldStateProtoHashes) { in updateStates()
467 const auto& it = newStateProtoHashes.find(stateId); in updateStates()
469 replacedStates.insert(stateId); in updateStates()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DCountMetricsTests.java372 int stateId = 4;
389 .setId(stateId)
447 .addSliceByState(stateId)
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp115 invalidConfigReason->stateId = 2; in TEST()
157 invalidConfigReason->stateId = 1; in TEST()