Home
last modified time | relevance | path

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

/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DXmlWriter.java100 ApiStatistics statistics = new ApiStatistics(); in generateApiMapData() local
103 mXTSApiMapElement.appendChild(createApiPackageElement(pkg, statistics)); in generateApiMapData()
107 statistics.mTotalMethods, statistics.mTotalCoveredMethods)); in generateApiMapData()
129 ApiConstructor constructor, ApiStatistics statistics) { in createApiConstructorElement() argument
132 statistics.mTotalCoveredMethods -= 1; in createApiConstructorElement()
134 statistics.mTotalMethods -= 1; in createApiConstructorElement()
155 private Element createApiMethodElement(ApiMethod method, ApiStatistics statistics) { in createApiMethodElement() argument
158 statistics.mTotalCoveredMethods -= 1; in createApiMethodElement()
160 statistics.mTotalMethods -= 1; in createApiMethodElement()
192 private Element createApiPackageElement(ApiPackage pkg, ApiStatistics statistics) { in createApiPackageElement() argument
[all …]
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DVideoCodecTest.java182 VideoEncodingStatistics statistics = computeEncodingStatistics(bufInfo); in internalTestBasic() local
187 assertEquals("Stream bitrate " + statistics.mAverageBitrate + in internalTestBasic()
190 targetBitrate, statistics.mAverageBitrate, in internalTestBasic()
193 && statistics.mAverageBitrate > targetBitrate) { in internalTestBasic()
196 assertEquals("Stream bitrate " + statistics.mAverageBitrate in internalTestBasic()
199 targetBitrate, statistics.mAverageBitrate, in internalTestBasic()
322 VideoEncodingStatistics statistics = computeEncodingStatistics(bufInfo); in internalTestSyncFrame() local
325 int actualKeyFrames = statistics.mKeyFrames.size(); in internalTestSyncFrame()
335 if (Math.abs(statistics.mAverageKeyFrameInterval - FPS) > in internalTestSyncFrame()
337 (statistics.mMaximumKeyFrameInterval - FPS > MAX_KEYFRAME_INTERVAL_VARIATION) || in internalTestSyncFrame()
[all …]
DVideoCodecTestBase.java1955 VideoEncodingStatistics statistics = new VideoEncodingStatistics(); in computeEncodingStatistics() local
1989 statistics.mBitrates.add(currentBitrate); in computeEncodingStatistics()
1990 statistics.mFrames.add(framesPerSecond); in computeEncodingStatistics()
1997 statistics.mKeyFrames.add(j); in computeEncodingStatistics()
2003 statistics.mAverageBitrate = (int)(((long)totalSize * 8) / duration); in computeEncodingStatistics()
2006 int keyFrames = statistics.mKeyFrames.size(); in computeEncodingStatistics()
2008 statistics.mAverageKeyFrameInterval = in computeEncodingStatistics()
2009 statistics.mKeyFrames.get(keyFrames - 1) - statistics.mKeyFrames.get(0); in computeEncodingStatistics()
2010 statistics.mAverageKeyFrameInterval = in computeEncodingStatistics()
2011 Math.round((float)statistics.mAverageKeyFrameInterval / (keyFrames - 1)); in computeEncodingStatistics()
[all …]
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java437 VideoTranscodingStatistics statistics = new VideoTranscodingStatistics(); in computePsnr() local
493 if (curMinimumPSNR < statistics.mMinimumPSNR) { in computePsnr()
494 statistics.mMinimumPSNR = curMinimumPSNR; in computePsnr()
508 statistics.mAveragePSNR = (4 * averageYPSNR + averageUPSNR + averageVPSNR) / 6; in computePsnr()
513 averageYPSNR, averageUPSNR, averageVPSNR, statistics.mAveragePSNR); in computePsnr()
518 statistics.mMinimumPSNR, minimumPSNRFrameIndex); in computePsnr()
525 return statistics; in computePsnr()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale43 o As far as it is possible without changes to the Dhrystone statistics,
126 on the distribution statistics which have been updated for this
194 The distribution statistics have been changed only by the addition of
197 changed from local to global). The distribution statistics in the
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt22868 field public static final String FEATURE_EncodingStatistics = "encoding-statistics";
23705 …public static final String KEY_VIDEO_ENCODING_STATISTICS_LEVEL = "video-encoding-statistics-level";