Home
last modified time | relevance | path

Searched refs:histogramProto (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp584 const SFTimeStatsHistogramBucketProto& histogramProto = globalProto.present_to_present().Get(0); in TEST_F() local
585 EXPECT_EQ(1, histogramProto.frame_count()); in TEST_F()
586 EXPECT_EQ(2, histogramProto.time_millis()); in TEST_F()
603 const SFTimeStatsHistogramBucketProto& histogramProto = globalProto.frame_duration().Get(0); in TEST_F() local
604 EXPECT_EQ(1, histogramProto.frame_count()); in TEST_F()
605 EXPECT_EQ(3, histogramProto.time_millis()); in TEST_F()
635 const SFTimeStatsHistogramBucketProto& histogramProto = in TEST_F() local
637 EXPECT_EQ(2, histogramProto.frame_count()); in TEST_F()
638 EXPECT_EQ(2, histogramProto.time_millis()); in TEST_F()
659 const SFTimeStatsHistogramBucketProto& histogramProto = deltaProto.histograms(0); in TEST_F() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java779 TelephonyProto.TelephonyHistogram histogramProto = log.histograms[i]; in buildProto() local
781 histogramProto.category = rilHistogram.getCategory(); in buildProto()
782 histogramProto.id = rilHistogram.getId(); in buildProto()
783 histogramProto.minTimeMillis = rilHistogram.getMinTime(); in buildProto()
784 histogramProto.maxTimeMillis = rilHistogram.getMaxTime(); in buildProto()
785 histogramProto.avgTimeMillis = rilHistogram.getAverageTime(); in buildProto()
786 histogramProto.count = rilHistogram.getSampleCount(); in buildProto()
787 histogramProto.bucketCount = rilHistogram.getBucketCount(); in buildProto()
788 histogramProto.bucketEndPoints = rilHistogram.getBucketEndPoints(); in buildProto()
789 histogramProto.bucketCounters = rilHistogram.getBucketCounters(); in buildProto()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp50 FrameTimingHistogram histogramProto; in histogramToProto() local
56 histogramProto.add_time_millis_buckets((int32_t)bucket.first); in histogramToProto()
57 histogramProto.add_frame_counts((int64_t)bucket.second); in histogramToProto()
59 return histogramProto; in histogramToProto()