Searched refs:getDimensionKeyInWhat (Results 1 – 13 of 13) sorted by relevance
/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 1700 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1765 valueProducer->mDimInfos.find(it->first.getDimensionKeyInWhat())->second.dimExtras[0]; in TEST() 1766 EXPECT_EQ(1, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1858 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1925 ASSERT_EQ(1, iterator->first.getDimensionKeyInWhat().getValues().size()); in TEST() 1926 EXPECT_EQ(2, iterator->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1938 ASSERT_EQ(1, iterator->first.getDimensionKeyInWhat().getValues().size()); in TEST() 1939 EXPECT_EQ(1, iterator->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 4048 auto itBase = valueProducer->mDimInfos.find(it->first.getDimensionKeyInWhat()); in TEST() 4056 EXPECT_EQ(0, it->first.getDimensionKeyInWhat().getValues().size()); in TEST() [all …]
|
D | GaugeMetricProducer_test.cpp | 546 ASSERT_EQ(1UL, key.getDimensionKeyInWhat().getValues().size()); in TEST() 547 EXPECT_EQ(1000, key.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 772 EXPECT_EQ(3, bucketIt->first.getDimensionKeyInWhat().getValues().begin()->mValue.int_value); in TEST() 781 EXPECT_EQ(4, bucketIt->first.getDimensionKeyInWhat().getValues().begin()->mValue.int_value); in TEST()
|
/packages/modules/StatsD/statsd/src/ |
D | HashableDimensionKey.h | 107 : mDimensionKeyInWhat(that.getDimensionKeyInWhat()), in MetricDimensionKey() 114 inline const HashableDimensionKey& getDimensionKeyInWhat() const { in getDimensionKeyInWhat() function 287 android::hash_t hash = hashDimension(key.getDimensionKeyInWhat());
|
D | HashableDimensionKey.cpp | 378 return mDimensionKeyInWhat == that.getDimensionKeyInWhat() && in operator ==() 387 if (mDimensionKeyInWhat < that.getDimensionKeyInWhat()) { in operator <() 389 } else if (that.getDimensionKeyInWhat() < mDimensionKeyInWhat) { in operator <()
|
D | metadata_util.cpp | 56 for (const FieldValue& fieldValue : metricKey.getDimensionKeyInWhat().getValues()) { in writeMetricDimensionKeyToMetadataDimensionKey()
|
/packages/modules/StatsD/statsd/src/metrics/ |
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()
|
D | ValueMetricProducer.cpp | 370 writeDimensionToProto(metricDimensionKey.getDimensionKeyInWhat(), strSet, protoOutput); in onDumpReportLocked() 373 writeDimensionLeafNodesToProto(metricDimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked() 596 metricDimensionKey.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked() 654 const auto whatKey = eventKey.getDimensionKeyInWhat(); in onMatchedLogEventInternalLocked() 849 const HashableDimensionKey& dimensionInWhatKey = it->first.getDimensionKeyInWhat(); in initNextSlicedBucket()
|
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()
|
D | GaugeMetricProducer.cpp | 224 it.first.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked() 300 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked() 303 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
|
D | NumericValueMetricProducer.cpp | 306 const auto& whatKey = metricDimensionKey.getDimensionKeyInWhat(); in accumulateEvents()
|
/packages/modules/StatsD/statsd/src/subscriber/ |
D | IncidentdReporter.cpp | 80 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), nullptr, &headerProto); in getProtoData() 95 for (const auto& dim : dimensionKey.getDimensionKeyInWhat().getValues()) { in getProtoData()
|
D | SubscriberReporter.cpp | 144 dimKey.getDimensionKeyInWhat().toStatsDimensionsValueParcel()); in sendBroadcastLocked()
|
/packages/modules/StatsD/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 172 (*output)[MetricDimensionKey(mEventKey.getDimensionKeyInWhat(), durationIt.first)] in flushCurrentBucket() 184 MetricDimensionKey(mEventKey.getDimensionKeyInWhat(), durationIt.first), in flushCurrentBucket()
|