Searched refs:getDimensionKeyInWhat (Results 1 – 12 of 12) sorted by relevance
/aosp12/packages/modules/StatsD/statsd/tests/metrics/ |
H A D | ValueMetricProducer_test.cpp | 4036 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 D | GaugeMetricProducer_test.cpp | 527 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 D | HashableDimensionKey.h | 107 : mDimensionKeyInWhat(that.getDimensionKeyInWhat()), in MetricDimensionKey() 114 inline const HashableDimensionKey& getDimensionKeyInWhat() const { in getDimensionKeyInWhat() function 242 android::hash_t hash = hashDimension(key.getDimensionKeyInWhat());
|
H A D | HashableDimensionKey.cpp | 352 return mDimensionKeyInWhat == that.getDimensionKeyInWhat() && in operator ==() 361 if (mDimensionKeyInWhat < that.getDimensionKeyInWhat()) { in operator <() 363 } else if (that.getDimensionKeyInWhat() < mDimensionKeyInWhat) { in operator <()
|
H A D | metadata_util.cpp | 56 for (const FieldValue& fieldValue : metricKey.getDimensionKeyInWhat().getValues()) { in writeMetricDimensionKeyToMetadataDimensionKey()
|
/aosp12/packages/modules/StatsD/statsd/src/subscriber/ |
H A D | IncidentdReporter.cpp | 80 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), nullptr, &headerProto); in getProtoData() 95 for (const auto& dim : dimensionKey.getDimensionKeyInWhat().getValues()) { in getProtoData()
|
H A D | SubscriberReporter.cpp | 144 dimKey.getDimensionKeyInWhat().toStatsDimensionsValueParcel()); in sendBroadcastLocked()
|
/aosp12/packages/modules/StatsD/statsd/src/metrics/ |
H A D | DurationMetricProducer.cpp | 534 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 D | CountMetricProducer.cpp | 190 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 D | ValueMetricProducer.cpp | 367 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 D | GaugeMetricProducer.cpp | 228 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 D | OringDurationTracker.cpp | 172 (*output)[MetricDimensionKey(mEventKey.getDimensionKeyInWhat(), durationIt.first)] in flushCurrentBucket() 184 MetricDimensionKey(mEventKey.getDimensionKeyInWhat(), durationIt.first), in flushCurrentBucket()
|