Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp1700 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 …]
DGaugeMetricProducer_test.cpp546 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/
DHashableDimensionKey.h107 : mDimensionKeyInWhat(that.getDimensionKeyInWhat()), in MetricDimensionKey()
114 inline const HashableDimensionKey& getDimensionKeyInWhat() const { in getDimensionKeyInWhat() function
287 android::hash_t hash = hashDimension(key.getDimensionKeyInWhat());
DHashableDimensionKey.cpp378 return mDimensionKeyInWhat == that.getDimensionKeyInWhat() && in operator ==()
387 if (mDimensionKeyInWhat < that.getDimensionKeyInWhat()) { in operator <()
389 } else if (that.getDimensionKeyInWhat() < mDimensionKeyInWhat) { in operator <()
Dmetadata_util.cpp56 for (const FieldValue& fieldValue : metricKey.getDimensionKeyInWhat().getValues()) { in writeMetricDimensionKeyToMetadataDimensionKey()
/packages/modules/StatsD/statsd/src/metrics/
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()
DValueMetricProducer.cpp370 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()
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()
DGaugeMetricProducer.cpp224 it.first.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked()
300 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
303 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
DNumericValueMetricProducer.cpp306 const auto& whatKey = metricDimensionKey.getDimensionKeyInWhat(); in accumulateEvents()
/packages/modules/StatsD/statsd/src/subscriber/
DIncidentdReporter.cpp80 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), nullptr, &headerProto); in getProtoData()
95 for (const auto& dim : dimensionKey.getDimensionKeyInWhat().getValues()) { in getProtoData()
DSubscriberReporter.cpp144 dimKey.getDimensionKeyInWhat().toStatsDimensionsValueParcel()); in sendBroadcastLocked()
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp172 (*output)[MetricDimensionKey(mEventKey.getDimensionKeyInWhat(), durationIt.first)] in flushCurrentBucket()
184 MetricDimensionKey(mEventKey.getDimensionKeyInWhat(), durationIt.first), in flushCurrentBucket()