Searched refs:kMetricName (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/metrics/ |
D | single_sample_metrics_unittest.cc | 20 const char kMetricName[] = "Single.Sample.Metric"; variable 60 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 64 tester.ExpectTotalCount(kMetricName, 0); in TEST_F() 72 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 82 tester.ExpectUniqueSample(kMetricName, kLastSample, 1); in TEST_F() 89 Histogram::FactoryGet(kMetricName, 1, 3, 3, HistogramBase::kNoFlags)); in TEST_F() 91 Histogram::FactoryGet(kMetricName, kMin, kMax, kBucketCount, in TEST_F() 100 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 102 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 115 tester.ExpectUniqueSample(kMetricName, kSample1, 1); in TEST_F() [all …]
|
/external/cronet/base/metrics/ |
D | single_sample_metrics_unittest.cc | 19 const char kMetricName[] = "Single.Sample.Metric"; variable 59 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 63 tester.ExpectTotalCount(kMetricName, 0); in TEST_F() 71 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 81 tester.ExpectUniqueSample(kMetricName, kLastSample, 1); in TEST_F() 88 Histogram::FactoryGet(kMetricName, 1, 3, 3, HistogramBase::kNoFlags)); in TEST_F() 90 Histogram::FactoryGet(kMetricName, kMin, kMax, kBucketCount, in TEST_F() 99 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 101 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 114 tester.ExpectUniqueSample(kMetricName, kSample1, 1); in TEST_F() [all …]
|
/external/cronet/components/metrics/ |
D | single_sample_metrics_factory_impl_unittest.cc | 26 const char kMetricName[] = "Single.Sample.Metric"; variable 83 *metric = factory_->CreateCustomCountsMetric(kMetricName, kMin, kMax, in CreateAndStoreMetric() 97 factory_->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 100 factory_->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 111 factory_->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 116 tester.ExpectTotalCount(kMetricName, 0); in TEST_F() 122 factory_->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F() 133 tester.ExpectUniqueSample(kMetricName, kLastSample, 1); in TEST_F() 139 base::Histogram::FactoryGet(kMetricName, 1, 3, 3, in TEST_F() 143 kMetricName, kMin, kMax, kBucketCount, in TEST_F() [all …]
|
/external/grpc-grpc/test/cpp/end2end/ |
D | server_load_reporting_end2end_test.cc | 42 constexpr char kMetricName[] = "METRIC_PI"; variable 64 context, kMetricName, kMetricValue); in Echo() 168 ASSERT_EQ(load.metric_data().Get(0).metric_name(), kMetricName); in TEST_F()
|