Home
last modified time | relevance | path

Searched refs:mMetricId (Results 1 – 11 of 11) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/
DRestrictedEventMetricProducer.cpp58 StatsdStats::getInstance().noteRestrictedMetricCategoryChanged(mConfigKey, mMetricId); in onMatchedLogEventInternalLocked()
88 dbutils::flushTtl(db, mMetricId, ttlTime); in enforceRestrictedDataTtl()
98 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked()
108 if (!dbutils::isEventCompatible(mConfigKey, mMetricId, mLogEvents[0])) { in flushRestrictedData()
111 ALOGD("Detected schema change for metric %lld", (long long)mMetricId); in flushRestrictedData()
115 if (!dbutils::createTableIfNeeded(mConfigKey, mMetricId, mLogEvents[0])) { in flushRestrictedData()
116 ALOGE("Failed to create table for metric %lld", (long long)mMetricId); in flushRestrictedData()
118 mMetricId); in flushRestrictedData()
124 if (!dbutils::insert(mConfigKey, mMetricId, mLogEvents, err)) { in flushRestrictedData()
125 ALOGE("Failed to insert logEvent to table for metric %lld. err=%s", (long long)mMetricId, in flushRestrictedData()
[all …]
DCountMetricProducer.cpp132 VLOG("metric %lld created. bucket size %lld start_time: %lld", (long long)mMetricId, in CountMetricProducer()
168 metric.what(), mMetricId, metricIndex, false, allAtomMatchingTrackers, in onConfigUpdatedLocked()
176 metric.condition(), mMetricId, metricIndex, conditionTrackerMap, metric.links(), in onConfigUpdatedLocked()
190 (long long)mMetricId, (long long)eventTimeNs, atomId, primaryKey.toString().c_str(), in onStateChanged()
200 dprintf(out, "CountMetric %lld dimension size %lu\n", (long long)mMetricId, in dumpStatesLocked()
213 VLOG("Metric %lld onSlicedConditionMayChange", (long long)mMetricId); in onSlicedConditionMayChangeLocked()
233 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
328 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked()
335 VLOG("Metric %lld onConditionChanged", (long long)mMetricId); in onConditionChangedLocked()
353 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked()
[all …]
DDurationMetricProducer.cpp168 VLOG("metric %lld created. bucket size %lld start_time: %lld", (long long)mMetricId, in DurationMetricProducer()
210 INVALID_CONFIG_REASON_DURATION_METRIC_WHAT_NOT_FOUND, mMetricId, metric.what()); in onConfigUpdatedLocked()
217 INVALID_CONFIG_REASON_DURATION_METRIC_WHAT_NOT_SIMPLE, mMetricId, metric.what()); in onConfigUpdatedLocked()
225 simplePredicate.start(), mMetricId, metricIndex, metric.has_dimensions_in_what(), in onConfigUpdatedLocked()
234 simplePredicate.stop(), mMetricId, metricIndex, metric.has_dimensions_in_what(), in onConfigUpdatedLocked()
243 simplePredicate.stop_all(), mMetricId, metricIndex, metric.has_dimensions_in_what(), in onConfigUpdatedLocked()
253 metric.condition(), mMetricId, metricIndex, conditionTrackerMap, metric.links(), in onConfigUpdatedLocked()
354 mConfigKey, mMetricId, eventKey, mWizard, mConditionTrackerIndex, mNested, in createDurationTracker()
359 mConfigKey, mMetricId, eventKey, mWizard, mConditionTrackerIndex, mNested, in createDurationTracker()
441 VLOG("Metric %lld onSlicedConditionMayChange", (long long)mMetricId); in onSlicedConditionMayChangeLocked()
[all …]
DValueMetricProducer.cpp207 atomMatcherId, mMetricId, metricIndex, /*enforceOneAtom=*/false, in onConfigUpdatedLocked()
217 conditionIdOpt.value(), mMetricId, metricIndex, conditionTrackerMap, conditionLinks, in onConfigUpdatedLocked()
259 (long long)mMetricId, (long long)eventTimeNs, atomId, primaryKey.toString().c_str(), in onStateChanged()
301 VLOG("Metric %lld onSlicedConditionMayChange", (long long)mMetricId); in onSlicedConditionMayChangeLocked()
306 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked()
326 VLOG("metric %lld dump report now...", (long long)mMetricId); in onDumpReportLocked()
351 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
360 if (StatsdStats::getInstance().hasHitDimensionGuardrail(mMetricId)) { in onDumpReportLocked()
473 VLOG("metric %lld done with dump report...", (long long)mMetricId); in onDumpReportLocked()
486 StatsdStats::getInstance().noteInvalidatedBucket(mMetricId); in invalidateCurrentBucket()
[all …]
DGaugeMetricProducer.cpp151 (long long)mMetricId, (long long)mBucketSizeNs, (long long)mTimeBaseNs, mConditionSliced);
188 metric.what(), mMetricId, metricIndex, /*enforceOneAtom=*/false, in onConfigUpdatedLocked()
199 metric.trigger_event(), mMetricId, metricIndex, in onConfigUpdatedLocked()
209 metric.condition(), mMetricId, metricIndex, conditionTrackerMap, metric.links(), in onConfigUpdatedLocked()
232 dprintf(out, "GaugeMetric %lld dimension size %lu\n", (long long)mMetricId, in dumpStatesLocked()
256 VLOG("Gauge metric %lld report now...", (long long)mMetricId); in onDumpReportLocked()
263 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
447 VLOG("GaugeMetric %lld onConditionChanged", (long long)mMetricId); in onConditionChangedLocked()
463 VLOG("GaugeMetric %lld onSlicedConditionMayChange overall condition %d", (long long)mMetricId, in onSlicedConditionMayChangeLocked()
531 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked()
[all …]
DEventMetricProducer.cpp86 VLOG("metric %lld created. bucket size %lld start_time: %lld", (long long)mMetricId, in EventMetricProducer()
122 metric.what(), mMetricId, metricIndex, false, allAtomMatchingTrackers, in onConfigUpdatedLocked()
130 metric.condition(), mMetricId, metricIndex, conditionTrackerMap, metric.links(), in onConfigUpdatedLocked()
143 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked()
179 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
219 VLOG("Metric %lld onConditionChanged", (long long)mMetricId); in onConditionChangedLocked()
DNumericValueMetricProducer.cpp214 mMetricId, originalPullTimeNs - bucketEndTimeNs); in onDataPulled()
249 StatsdStats::getInstance().noteLateLogEventSkipped(mMetricId); in accumulateEvents()
285 StatsdStats::getInstance().noteBadValueType(mMetricId); in accumulateEvents()
362 (long long)mMetricId, newKey.toString().c_str()); in hitFullBucketGuardRailLocked()
423 StatsdStats::getInstance().noteBadValueType(mMetricId); in aggregateFields()
516 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, eventKey, in aggregateFields()
652 bool dimensionGuardrailHit = StatsdStats::getInstance().hasHitDimensionGuardrail(mMetricId); in byteSizeLocked()
DKllMetricProducer.cpp122 StatsdStats::getInstance().noteBadValueType(mMetricId); in aggregateFields()
171 bool dimensionGuardrailHit = StatsdStats::getInstance().hasHitDimensionGuardrail(mMetricId); in byteSizeLocked()
DMetricProducer.cpp57 : mMetricId(metricId), in MetricProducer()
105 config, mMetricId, metricIndex, metricToActivationMap, oldAtomMatchingTrackerMap, in onConfigUpdatedLocked()
313 proto->write(FIELD_TYPE_INT64 | FIELD_ID_ACTIVE_METRIC_ID, (long long)mMetricId); in writeActiveMetricToProtoOutputStream()
DMetricProducer.h341 return mMetricId; in getMetricId()
510 const int64_t mMetricId; variable
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DNonPrivateObservationGenerator.java57 private final int mMetricId; field in NonPrivateObservationGenerator
71 this.mMetricId = metricId; in NonPrivateObservationGenerator()
112 .setMetricId(mMetricId) in generateObservations()