Home
last modified time | relevance | path

Searched refs:Stats (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.h168 struct Stats { struct
169 Stats() = default;
170 Stats(const Stats&) = delete;
198 static Status checkOverallBitrate(const Stats&, const RunConfig&);
199 static Status checkFramerate(const Stats&, const RunConfig&);
200 static Status checkIntraPeriod(const Stats&, const RunConfig&);
201 static Status checkDynamicKeyFrames(const Stats&, const RunConfig&);
202 static Status checkDynamicBitrate(const Stats&, const RunConfig&);
Dnative_media_utils.cpp87 int32_t Stats::getBitrateAverage(int32_t frameNumFrom, int32_t frameNumTo) const { in getBitrateAverage()
107 int32_t Stats::getBitratePeak( in getBitratePeak()
132 int32_t Stats::getSyncFrameNext(int32_t frameNumWhence) const { in getSyncFrameNext()
143 Status Validator::checkOverallBitrate(const Stats &stats, const RunConfig& config) { in checkOverallBitrate()
176 Status Validator::checkFramerate(const Stats&, const RunConfig&) { in checkFramerate() argument
181 Status Validator::checkIntraPeriod(const Stats& stats, const RunConfig& config) { in checkIntraPeriod()
239 Status Validator::checkDynamicKeyFrames(const Stats& stats, const RunConfig& config) { in checkDynamicKeyFrames()
266 Status Validator::checkDynamicBitrate(const Stats& stats, const RunConfig& config) { in checkDynamicBitrate()
Dnative_media_encoder_jni.cpp72 Stats mStats;
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java99 Stats s = evaluateLightBarBitmap(bitmap, Color.RED /* background */, 0); in testLightStatusBarIcons()
121 Stats s = evaluateLightBarBitmap(bitmap, Color.RED /* background */, activity.getBottom()); in testLightNavigationBar()
154 private void assertLightStats(Bitmap bitmap, Stats s) { in assertLightStats()
190 private static class Stats { class in LightBarTests
215 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateLightBarBitmap()
234 Stats s = new Stats(); in evaluateLightBarBitmap()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaPerfUtils.java93 DeviceReportLog log, MediaUtils.Stats durationsUsStats, String message) { in addPerformanceStatsToLog()
95 MediaUtils.Stats frameAvgUsStats = in addPerformanceStatsToLog()
102 MediaUtils.Stats timeAvgUsStats = in addPerformanceStatsToLog()
118 DeviceReportLog log, MediaUtils.Stats statsUs, String prefix, String message) { in logPerformanceStats()
DMediaUtils.java718 public static class Stats { class in MediaUtils
720 public Stats(double[] data) { in Stats() method in MediaUtils.Stats
786 public Stats movingAverage(int n) { in movingAverage()
788 return new Stats(null); in movingAverage()
802 return new Stats(avgs); in movingAverage()
811 public Stats movingAverageOverSum(double window) { in movingAverageOverSum()
813 return new Stats(null); in movingAverageOverSum()
819 return new Stats(new double[] { average }); in movingAverageOverSum()
879 return new Stats(Arrays.copyOf(avgs, ix)); in movingAverageOverSum()
908 if (o instanceof Stats) { in equals()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaPerfUtils.java93 DeviceReportLog log, MediaUtils.Stats durationsUsStats, String message) { in addPerformanceStatsToLog()
95 MediaUtils.Stats frameAvgUsStats = in addPerformanceStatsToLog()
102 MediaUtils.Stats timeAvgUsStats = in addPerformanceStatsToLog()
118 DeviceReportLog log, MediaUtils.Stats statsUs, String prefix, String message) { in logPerformanceStats()
DMediaUtils.java825 public static class Stats { class in MediaUtils
827 public Stats(double[] data) { in Stats() method in MediaUtils.Stats
893 public Stats movingAverage(int n) { in movingAverage()
895 return new Stats(null); in movingAverage()
909 return new Stats(avgs); in movingAverage()
918 public Stats movingAverageOverSum(double window) { in movingAverageOverSum()
920 return new Stats(null); in movingAverageOverSum()
926 return new Stats(new double[] { average }); in movingAverageOverSum()
986 return new Stats(Arrays.copyOf(avgs, ix)); in movingAverageOverSum()
1015 if (o instanceof Stats) { in equals()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DVideoDecoderPerfTest.java328 MediaUtils.Stats stats = new MediaUtils.Stats(frameTimeUsDiff); in doDecode()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java883 log, new MediaUtils.Stats(frameTimeUsDiff), message); in logPerformanceResults()