Home
last modified time | relevance | path

Searched refs:getDimensionKeyInWhat (Results 1 – 12 of 12) sorted by relevance

/aosp12/packages/modules/StatsD/statsd/tests/metrics/
H A DValueMetricProducer_test.cpp4036 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
4058 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
4066 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
4089 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
4097 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
4107 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
4131 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
4141 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
4151 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
4286 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST()
[all …]
H A DGaugeMetricProducer_test.cpp527 ASSERT_EQ(1UL, key.getDimensionKeyInWhat().getValues().size()); in TEST()
528 EXPECT_EQ(1000, key.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
757 EXPECT_EQ(3, bucketIt->first.getDimensionKeyInWhat().getValues().begin()->mValue.int_value); in TEST()
761 EXPECT_EQ(4, bucketIt->first.getDimensionKeyInWhat().getValues().begin()->mValue.int_value); in TEST()
/aosp12/packages/modules/StatsD/statsd/src/
H A DHashableDimensionKey.h107 : mDimensionKeyInWhat(that.getDimensionKeyInWhat()), in MetricDimensionKey()
114 inline const HashableDimensionKey& getDimensionKeyInWhat() const { in getDimensionKeyInWhat() function
242 android::hash_t hash = hashDimension(key.getDimensionKeyInWhat());
H A DHashableDimensionKey.cpp352 return mDimensionKeyInWhat == that.getDimensionKeyInWhat() && in operator ==()
361 if (mDimensionKeyInWhat < that.getDimensionKeyInWhat()) { in operator <()
363 } else if (that.getDimensionKeyInWhat() < mDimensionKeyInWhat) { in operator <()
H A Dmetadata_util.cpp56 for (const FieldValue& fieldValue : metricKey.getDimensionKeyInWhat().getValues()) { in writeMetricDimensionKeyToMetadataDimensionKey()
/aosp12/packages/modules/StatsD/statsd/src/subscriber/
H A DIncidentdReporter.cpp80 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), nullptr, &headerProto); in getProtoData()
95 for (const auto& dim : dimensionKey.getDimensionKeyInWhat().getValues()) { in getProtoData()
H A DSubscriberReporter.cpp144 dimKey.getDimensionKeyInWhat().toStatsDimensionsValueParcel()); in sendBroadcastLocked()
/aosp12/packages/modules/StatsD/statsd/src/metrics/
H A DDurationMetricProducer.cpp534 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
537 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
620 auto whatIt = mCurrentSlicedDurationTrackerMap.find(newKey.getDimensionKeyInWhat()); in hitGuardRailLocked()
630 (long long)mMetricId, newKey.getDimensionKeyInWhat().toString().c_str()); in hitGuardRailLocked()
643 const auto& whatKey = eventKey.getDimensionKeyInWhat(); in handleStartEvent()
H A DCountMetricProducer.cpp190 it.first.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked()
250 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
253 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
H A DValueMetricProducer.cpp367 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
370 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
699 const auto& whatKey = metricDimensionKey.getDimensionKeyInWhat(); in accumulateEvents()
741 it.first.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked()
829 auto whatKey = eventKey.getDimensionKeyInWhat(); in onMatchedLogEventInternalLocked()
1187 const HashableDimensionKey& dimensionInWhatKey = it->first.getDimensionKeyInWhat(); in initCurrentSlicedBucket()
H A DGaugeMetricProducer.cpp228 it.first.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked()
304 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
307 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
/aosp12/packages/modules/StatsD/statsd/src/metrics/duration_helper/
H A DOringDurationTracker.cpp172 (*output)[MetricDimensionKey(mEventKey.getDimensionKeyInWhat(), durationIt.first)] in flushCurrentBucket()
184 MetricDimensionKey(mEventKey.getDimensionKeyInWhat(), durationIt.first), in flushCurrentBucket()