Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/
DHashableDimensionKey.h88 : mDimensionKeyInWhat(that.getDimensionKeyInWhat()), in MetricDimensionKey()
95 inline const HashableDimensionKey& getDimensionKeyInWhat() const { in getDimensionKeyInWhat() function
167 android::hash_t hash = hashDimension(key.getDimensionKeyInWhat());
DHashableDimensionKey.cpp177 return mDimensionKeyInWhat == that.getDimensionKeyInWhat() && in operator ==()
186 if (mDimensionKeyInWhat < that.getDimensionKeyInWhat()) { in operator <()
188 } else if (that.getDimensionKeyInWhat() < mDimensionKeyInWhat) { in operator <()
/frameworks/base/cmds/statsd/src/subscriber/
DIncidentdReporter.cpp84 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), nullptr, &headerProto); in getProtoData()
101 for (const auto& dim : dimensionKey.getDimensionKeyInWhat().getValues()) { in getProtoData()
DSubscriberReporter.cpp117 getStatsDimensionsValue(dimKey.getDimensionKeyInWhat())); in sendBroadcastLocked()
/frameworks/base/cmds/statsd/src/metrics/
DCountMetricProducer.cpp128 it.first.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked()
196 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
207 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
DDurationMetricProducer.cpp552 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
563 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
655 auto whatIt = mCurrentSlicedDurationTrackerMap.find(newKey.getDimensionKeyInWhat()); in hitGuardRailLocked()
681 (long long)mMetricId, newKey.getDimensionKeyInWhat().toString().c_str()); in hitGuardRailLocked()
692 const auto& whatKey = eventKey.getDimensionKeyInWhat(); in handleStartEvent()
DGaugeMetricProducer.cpp168 it.first.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked()
243 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
254 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
DValueMetricProducer.cpp276 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
286 writeDimensionLeafNodesToProto(dimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
591 it.first.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked()
/frameworks/base/cmds/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp538 EXPECT_EQ(1UL, key.getDimensionKeyInWhat().getValues().size()); in TEST()
539 EXPECT_EQ(1000, key.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
801 EXPECT_EQ(3, bucketIt->first.getDimensionKeyInWhat().getValues().begin()->mValue.int_value); in TEST()
805 EXPECT_EQ(4, bucketIt->first.getDimensionKeyInWhat().getValues().begin()->mValue.int_value); in TEST()
DValueMetricProducer_test.cpp1650 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1685 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1727 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1762 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1839 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1875 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
1893 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()