Home
last modified time | relevance | path

Searched refs:DummyHistogram (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/metrics/
Ddummy_histogram.cc66 DummyHistogram* DummyHistogram::GetInstance() { in GetInstance()
67 static base::NoDestructor<DummyHistogram> dummy_histogram; in GetInstance()
71 uint64_t DummyHistogram::name_hash() const { in name_hash()
75 HistogramType DummyHistogram::GetHistogramType() const { in GetHistogramType()
79 bool DummyHistogram::HasConstructionArguments( in HasConstructionArguments()
86 bool DummyHistogram::AddSamplesFromPickle(PickleIterator* iter) { in AddSamplesFromPickle()
90 std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotSamples() const { in SnapshotSamples()
94 std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotDelta() { in SnapshotDelta()
98 std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotFinalDelta() const { in SnapshotFinalDelta()
Ddummy_histogram.h21 class BASE_EXPORT DummyHistogram : public HistogramBase {
23 static DummyHistogram* GetInstance();
51 friend class NoDestructor<DummyHistogram>;
53 DummyHistogram() : HistogramBase("dummy_histogram") {} in DummyHistogram() function
54 ~DummyHistogram() override {} in ~DummyHistogram()
56 DISALLOW_COPY_AND_ASSIGN(DummyHistogram);
Dsingle_sample_metrics_unittest.cc88 DummyHistogram::GetInstance(), in TEST_F()
90 EXPECT_NE(DummyHistogram::GetInstance(), in TEST_F()
Dhistogram_unittest.cc664 EXPECT_EQ(DummyHistogram::GetInstance(), bad_histogram); in TEST_P()
667 EXPECT_EQ(DummyHistogram::GetInstance(), bad_histogram); in TEST_P()
676 EXPECT_EQ(DummyHistogram::GetInstance(), bad_histogram); in TEST_P()
679 EXPECT_EQ(DummyHistogram::GetInstance(), bad_histogram); in TEST_P()
Dsparse_histogram.cc35 return DummyHistogram::GetInstance(); in FactoryGet()
Dhistogram.cc167 return DummyHistogram::GetInstance(); in Build()
244 return DummyHistogram::GetInstance(); in Build()