Home
last modified time | relevance | path

Searched refs:metricProducer (Results 1 – 9 of 9) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DMetricActivation_e2e_test.cpp276 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
277 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
280 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
298 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
305 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
324 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
337 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
355 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
371 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
494 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
[all …]
DDurationMetric_e2e_test.cpp63 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
65 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
146 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
148 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
266 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
267 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
270 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
296 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
309 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
340 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp692 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
693 ASSERT_EQ(1, metricProducer->mSlicedStateAtoms.size()); in TEST()
694 EXPECT_EQ(SCREEN_STATE_ATOM_ID, metricProducer->mSlicedStateAtoms.at(0)); in TEST()
695 ASSERT_EQ(0, metricProducer->mStateGroupMap.size()); in TEST()
751 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
752 ASSERT_EQ(1, metricProducer->mSlicedStateAtoms.size()); in TEST()
753 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, metricProducer->mSlicedStateAtoms.at(0)); in TEST()
754 ASSERT_EQ(0, metricProducer->mStateGroupMap.size()); in TEST()
869 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
871 static_cast<NumericValueMetricProducer*>(metricProducer.get()); in TEST()
[all …]
DCountMetric_e2e_test.cpp314 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
315 ASSERT_EQ(metricProducer->mSlicedStateAtoms.size(), 1); in TEST()
316 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
317 ASSERT_EQ(metricProducer->mStateGroupMap.size(), 0); in TEST()
468 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
469 ASSERT_EQ(metricProducer->mSlicedStateAtoms.size(), 1); in TEST()
470 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
471 ASSERT_EQ(metricProducer->mStateGroupMap.size(), 1); in TEST()
476 EXPECT_EQ(metricProducer->mStateGroupMap.at(SCREEN_STATE_ATOM_ID).at(value), in TEST()
653 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
[all …]
/packages/modules/StatsD/statsd/tests/
DDataCorruptionReason_test.cpp213 for (const auto& metricProducer : mMetricsManager->mAllMetricProducers) { in TEST_P() local
214 if (metricProducer->getMetricId() == kInterestedMetricId) { in TEST_P()
215 EXPECT_EQ(metricProducer->mDataCorruptedDueToSocketLoss != in TEST_P()
220 EXPECT_EQ(metricProducer->mDataCorruptedDueToSocketLoss, in TEST_P()
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp601 sp<MetricProducer> metricProducer = new CountMetricProducer( in createCountMetricProducerAndUpdateMetadata() local
613 metricProducer->setSamplingInfo(samplingInfo); in createCountMetricProducerAndUpdateMetadata()
616 return metricProducer; in createCountMetricProducerAndUpdateMetadata()
780 sp<MetricProducer> metricProducer = new DurationMetricProducer( in createDurationMetricProducerAndUpdateMetadata() local
785 if (!metricProducer->isValid()) { in createDurationMetricProducerAndUpdateMetadata()
799 metricProducer->setSamplingInfo(samplingInfo); in createDurationMetricProducerAndUpdateMetadata()
802 return metricProducer; in createDurationMetricProducerAndUpdateMetadata()
1042 sp<MetricProducer> metricProducer = new NumericValueMetricProducer( in createNumericValueMetricProducerAndUpdateMetadata() local
1060 metricProducer->setSamplingInfo(samplingInfo); in createNumericValueMetricProducerAndUpdateMetadata()
1063 return metricProducer; in createNumericValueMetricProducerAndUpdateMetadata()
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.cpp814 for (const auto& metricProducer : mAllMetricProducers) { in byteSize() local
815 totalSize += metricProducer->byteSize(); in byteSize()
874 for (const auto& metricProducer : mAllMetricProducers) { in writeMetadataToProto() local
876 bool metricWritten = metricProducer->writeMetricMetadataToProto(metricMetadata); in writeMetadataToProto()
/packages/services/Car/tests/BugReportApp/libs/
Dopencensus-api-0.21.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dopencensus-api-0.24.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...