Searched refs:metricProducer (Results 1 – 9 of 9) sorted by relevance
276 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local277 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 …]
63 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local65 EXPECT_TRUE(metricProducer->mIsActive); in TEST()146 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local148 EXPECT_TRUE(metricProducer->mIsActive); in TEST()266 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local267 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 …]
692 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local693 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() local752 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() local871 static_cast<NumericValueMetricProducer*>(metricProducer.get()); in TEST()[all …]
314 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local315 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() local469 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 …]
213 for (const auto& metricProducer : mMetricsManager->mAllMetricProducers) { in TEST_P() local214 if (metricProducer->getMetricId() == kInterestedMetricId) { in TEST_P()215 EXPECT_EQ(metricProducer->mDataCorruptedDueToSocketLoss != in TEST_P()220 EXPECT_EQ(metricProducer->mDataCorruptedDueToSocketLoss, in TEST_P()
601 sp<MetricProducer> metricProducer = new CountMetricProducer( in createCountMetricProducerAndUpdateMetadata() local613 metricProducer->setSamplingInfo(samplingInfo); in createCountMetricProducerAndUpdateMetadata()616 return metricProducer; in createCountMetricProducerAndUpdateMetadata()780 sp<MetricProducer> metricProducer = new DurationMetricProducer( in createDurationMetricProducerAndUpdateMetadata() local785 if (!metricProducer->isValid()) { in createDurationMetricProducerAndUpdateMetadata()799 metricProducer->setSamplingInfo(samplingInfo); in createDurationMetricProducerAndUpdateMetadata()802 return metricProducer; in createDurationMetricProducerAndUpdateMetadata()1042 sp<MetricProducer> metricProducer = new NumericValueMetricProducer( in createNumericValueMetricProducerAndUpdateMetadata() local1060 metricProducer->setSamplingInfo(samplingInfo); in createNumericValueMetricProducerAndUpdateMetadata()1063 return metricProducer; in createNumericValueMetricProducerAndUpdateMetadata()[all …]
814 for (const auto& metricProducer : mAllMetricProducers) { in byteSize() local815 totalSize += metricProducer->byteSize(); in byteSize()874 for (const auto& metricProducer : mAllMetricProducers) { in writeMetadataToProto() local876 bool metricWritten = metricProducer->writeMetricMetadataToProto(metricMetadata); in writeMetadataToProto()
META-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...