/cts/tests/video/src/android/video/cts/ |
D | VideoCodecClaimsPerformanceTestBase.java | 48 protected final StringBuilder mTestConfig = new StringBuilder(); field in VideoCodecClaimsPerformanceTestBase 66 mTestConfig.setLength(0); in setUpTestLogs() 67 mTestConfig.append("\n################## Test Details ####################\n"); in setUpTestLogs() 68 mTestConfig.append("Test Name :- ").append(mTestName.getMethodName()).append("\n"); in setUpTestLogs() 69 mTestConfig.append("Test Parameters :- ").append(mTestArgs).append("\n"); in setUpTestLogs() 88 mTestConfig.append(msg).append("\n"); in deviceClaimsPerformanceSupported() 94 codecName, mTestConfig), codecInfo); in deviceClaimsPerformanceSupported() 96 assertNotNull(codecName + " didn't provide capabilities \n" + mTestConfig, cap); in deviceClaimsPerformanceSupported() 98 assertNotNull(codecName + " didn't provide video capabilities \n" + mTestConfig, in deviceClaimsPerformanceSupported() 123 mTestConfig.append(msg).append("\n"); in deviceClaimsPerformanceSupported()
|
D | VideoEncoderDecoderTest.java | 171 private TestConfig mTestConfig; field in VideoEncoderDecoderTest 191 mTestConfig = new TestConfig(); in setUp() 203 mTestConfig = null; in tearDown() 393 mTestConfig.initPerfTest(); in doTest() 405 int numRuns = mTestConfig.mNumberOfRepeat; // used for result array sizing in doTest() 418 mTestConfig.mMaxTimeMs = Math.min( in doTest() 419 mTestConfig.mMaxTimeMs, MAX_TEST_TIMEOUT_MS / 5 * 4 / codingPasses in doTest() 420 / mTestConfig.mNumberOfRepeat); in doTest() 423 mTestConfig.mMaxTimeMs /= 10; in doTest() 437 mTestConfig.mTotalFrames = Math.min(mTestConfig.mTotalFrames, in doTest() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecEncoderTest.java | 283 assertNotNull("no raw resource found for testing config : " + mActiveEncCfg + mTestConfig in setUp() 293 + mTestConfig + mTestEnv, mGotCSD); in validateCSD() 312 + " must generate CodecPrivateData \n" + mTestConfig + mTestEnv, mGotCSD); in validateCSD() 364 fail("Encoder output is not consistent across runs \n" + mTestConfig in testSimpleEncode() 391 assertTrue("no valid color formats received \n" + mTestConfig + mTestEnv, in testSimpleEncodeNative() 397 EncoderConfigParams.TOKEN_SEPARATOR, mTestConfig); in testSimpleEncodeNative() 398 assertTrue(mTestConfig.toString(), isPass); in testSimpleEncodeNative() 479 fail("Encoder output is not consistent across runs \n" + mTestConfig in testReconfigure() 494 fail("Encoder output is not consistent across runs \n" + mTestConfig in testReconfigure() 511 fail("Encoder output is not consistent across runs \n" + mTestConfig in testReconfigure() [all …]
|
D | CodecEncoderBlockModelMultiAccessUnitTest.java | 144 assertNotNull("no raw resource found for testing config : " + mActiveEncCfg + mTestConfig in setUp() 148 + " while testing Feature_MultipleFrames" + mTestConfig + mTestEnv, in setUp() 162 + mTestConfig + mTestEnv, in validateOutputFormat() 178 + "identical. \n" + mTestConfig + mTestEnv, frameInfos.length, in dequeueOutputs() 186 + mTestConfig + mTestEnv, frameInfo); in dequeueOutputs() 188 + mTestConfig + mTestEnv, callBackInfo); in dequeueOutputs() 196 + "\n" + mTestConfig + mTestEnv, framePts, infoPts); in dequeueOutputs() 199 + mTestConfig + mTestEnv, frameFlags, infoFlags); in dequeueOutputs() 237 + mMaxOutputSizeBytes + " \n" + mTestConfig + mTestEnv, in dequeueOutputs() 318 fail("Output in block model mode is not same as output in normal mode.\n" + mTestConfig in testSimpleEncode() [all …]
|
D | CodecDecoderTest.java | 328 assertTrue(msg + mTestConfig + mTestEnv, in doOutputFormatChecks() 336 assertTrue(msg + mTestConfig + mTestEnv, isFormatSimilar(configuredFormat, outputFormat)); in doOutputFormatChecks() 408 fail("Decoder output is not consistent across runs \n" + mTestConfig in testSimpleDecode() 429 + mTestConfig + mTestEnv + test.getErrMsg()); in testSimpleDecode() 434 mRefFile, colorFormat, mRmsError, ref.getCheckSumBuffer(), mTestConfig); in testSimpleDecode() 435 assertTrue(mTestConfig.toString(), isPass); in testSimpleDecode() 441 mTestConfig.toString() + mTestEnv.toString()); in testSimpleDecode() 519 fail("Output timestamps are not strictly increasing \n" + mTestConfig + mTestEnv in testFlush() 536 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testFlush() 550 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testFlush() [all …]
|
D | CodecDecoderSurfaceTest.java | 254 + "mode \n" + mTestConfig + mTestEnv + test.getErrMsg()); in testSimpleDecodeToSurface() 303 + mTestConfig + mTestEnv); in testDetachAndReattachSurface() 314 + mTestConfig + mTestEnv); in testDetachAndReattachSurface() 333 + mTestConfig + mTestEnv); in testDetachAndReattachSurface() 343 + mTestConfig + mTestEnv); in testDetachAndReattachSurface() 427 fail("Output timestamps are not strictly increasing \n" + mTestConfig + mTestEnv in testFlush() 441 + "mode \n" + mTestConfig + mTestEnv + test.getErrMsg()); in testFlush() 455 + "mode \n" + mTestConfig + mTestEnv + test.getErrMsg()); in testFlush() 545 + "mode \n" + mTestConfig + mTestEnv + test.getErrMsg()); in testReconfigure() 559 + "mode \n" + mTestConfig + mTestEnv + test.getErrMsg()); in testReconfigure() [all …]
|
D | AudioEncoderTest.java | 152 audioEncodingToString(mActiveEncCfg.mPcmEncoding), mCodecName) + mTestConfig in encodeAndValidate() 168 assertFalse("no suitable codecs found for fmt: " + mOutFormat + "\n" + mTestConfig in encodeAndValidate() 175 + mTestConfig + mTestEnv, mActiveEncCfg.mPcmEncoding, in encodeAndValidate() 186 mTestConfig.toString() + mTestEnv.toString()); in encodeAndValidate() 188 assertEquals("Identity test failed for lossless codec \n " + mTestConfig in encodeAndValidate() 201 + "possible \n" + mTestConfig + mTestEnv + errMsg + errMsg); in encodeAndValidate() 223 assertNotNull("no raw resource found for testing config : " + mActiveEncCfg + mTestConfig in testEncodeAndValidate()
|
D | CodecDecoderBlockModelMultiAccessUnitTest.java | 134 + mTestConfig + mTestEnv + test.getErrMsg()); in testSimpleDecode() 161 + "fed separately. \n" + mTestConfig + mTestEnv in testSimpleDecode() 166 fail("Output of decoder component is not consistent across runs. \n" + mTestConfig in testSimpleDecode() 233 fail("Output timestamps are not strictly increasing \n" + mTestConfig + mTestEnv in testFlush() 247 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testFlush() 261 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testFlush() 354 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testReconfigure() 368 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testReconfigure() 388 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testReconfigure()
|
D | CodecEncoderMultiAccessUnitTest.java | 141 assertNotNull("no raw resource found for testing config : " + mActiveEncCfg + mTestConfig in setUp() 145 + " while testing Feature_MultipleFrames" + mTestConfig + mTestEnv, in setUp() 159 + mTestConfig + mTestEnv, in validateOutputFormat() 173 + mTestConfig + mTestEnv, info); in dequeueOutputs() 208 + mMaxOutputSizeBytes + " \n" + mTestConfig + mTestEnv, in dequeueOutputs() 333 + " mode. \n" + mTestConfig + mTestEnv + mOutputBuff.getErrMsg()); in testSimpleEncode() 337 fail("Output of encoder component is not consistent across runs. \n" + mTestConfig in testSimpleEncode()
|
D | CodecDecoderMultiAccessUnitTest.java | 232 + mTestConfig + mTestEnv + mOutputBuff.getErrMsg()); in testSimpleDecode() 236 fail("Output of decoder component is not consistent across runs. \n" + mTestConfig in testSimpleDecode() 322 fail("Output timestamps are not strictly increasing \n" + mTestConfig + mTestEnv in testFlush() 336 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testFlush() 350 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testFlush() 447 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testReconfigure() 461 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testReconfigure() 478 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testReconfigure()
|
D | CodecDecoderDetachedSurfaceTest.java | 175 + " some frames were dropped. \n" + mTestConfig + mTestEnv, in tearDown() 330 + mTestConfig + mTestEnv, mFramesRenderedExpected, mFramesRendered); in testSetOutputSurface() 398 + mTestConfig + mTestEnv, mFramesRenderedExpected, mFramesRendered); in testFeatureDetachedSurface() 439 + ".CONFIGURE_FLAG_DETACHED_SURFACE \n" + mTestConfig + mTestEnv); in testDetachOutputSurface() 459 + " detachOutputSurface() fails with " + e + "\n" + mTestConfig in testDetachOutputSurface() 487 + ".CONFIGURE_FLAG_DETACHED_SURFACE \n" + mTestConfig + mTestEnv); in testDetachOutputSurface() 502 + " detachOutputSurface() succeeds \n" + mTestConfig + mTestEnv); in testDetachOutputSurface() 514 + mTestConfig + mTestEnv, mFramesRenderedExpected, mFramesRendered); in testDetachOutputSurface()
|
D | DecoderPushBlankBufferOnStopTest.java | 145 + format + "\n" + mTestConfig + mTestEnv, img); in testSimpleDecodeToSurface() 148 + format + "\n" + mTestConfig + mTestEnv, img); in testSimpleDecodeToSurface() 149 assertTrue("received image is not a blank buffer \n" + mTestConfig + mTestEnv, in testSimpleDecodeToSurface()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecEncoderSurfaceTestBase.java | 91 protected final StringBuilder mTestConfig = new StringBuilder(); field in CodecEncoderSurfaceTestBase 125 mTestConfig.setLength(0); in setUpCodecEncoderSurfaceTestBase() 126 mTestConfig.append("\n################## Test Details ####################\n"); in setUpCodecEncoderSurfaceTestBase() 127 mTestConfig.append("Test Name :- ").append(mTestName.getMethodName()).append("\n"); in setUpCodecEncoderSurfaceTestBase() 128 mTestConfig.append("Test Parameters :- ").append(mTestArgs).append("\n"); in setUpCodecEncoderSurfaceTestBase() 131 fail("no valid component available for current test. \n" + mTestConfig); in setUpCodecEncoderSurfaceTestBase() 220 fail("No video track found in file: " + srcFile + ". \n" + mTestConfig + mTestEnv); in setUpSource() 507 + mTestConfig + mTestEnv + mAsyncHandleDecoder.getErrMsg(), in validateTestState() 510 + mTestConfig + mTestEnv + mAsyncHandleEncoder.getErrMsg(), in validateTestState() 512 assertTrue("Decoder has not received any input \n" + mTestConfig + mTestEnv, in validateTestState() [all …]
|
D | CodecDecoderBlockModelMultiAccessUnitTestBase.java | 94 + "to zero.\n" + mTestConfig + mTestEnv, deltaPts >= 0); in enqueueInput() 148 + mTestConfig + mTestEnv, in validateOutputFormat() 166 + "identical. \n" + mTestConfig + mTestEnv, frameInfos.length, in dequeueOutputs() 174 + mTestConfig + mTestEnv, frameInfo); in dequeueOutputs() 176 + mTestConfig + mTestEnv, callBackInfo); in dequeueOutputs() 184 + "\n" + mTestConfig + mTestEnv, framePts, infoPts); in dequeueOutputs() 187 + mTestConfig + mTestEnv, frameFlags, infoFlags); in dequeueOutputs() 210 + mMaxOutputSizeBytes + " \n" + mTestConfig + mTestEnv, in dequeueOutputs()
|
D | CodecDecoderMultiAccessUnitTestBase.java | 94 Assert.assertNotNull("error, getInputBuffer returned null.\n" + mTestConfig + mTestEnv, in enqueueInput() 104 + "to zero.\n" + mTestConfig + mTestEnv, deltaPts >= 0); in enqueueInput() 156 + mTestConfig + mTestEnv, in validateOutputFormat() 172 + mTestConfig + mTestEnv, info); in dequeueOutputs() 190 + mMaxOutputSizeBytes + " \n" + mTestConfig + mTestEnv, in dequeueOutputs()
|
D | CodecTestBase.java | 377 protected StringBuilder mTestConfig = new StringBuilder(); field in CodecTestBase 1147 mTestConfig.setLength(0); in setUpCodecTestBase() 1148 mTestConfig.append("\n################## Test Details ####################\n"); in setUpCodecTestBase() 1149 mTestConfig.append("Test Name :- ").append(mTestName.getMethodName()).append("\n"); in setUpCodecTestBase() 1150 mTestConfig.append("Test Parameters :- ").append(mAllTestParams).append("\n"); in setUpCodecTestBase() 1152 fail("no valid component available for current test \n" + mTestConfig); in setUpCodecTestBase() 1395 assertFalse("Encountered error in async mode. \n" + mTestConfig + mTestEnv in validateTestState() 1399 mInputCount) + mTestConfig + mTestEnv, mOutputCount > 0); in validateTestState() 1440 assertNotNull("error! MediaCodec.getMetrics() returns null \n" + mTestConfig + mTestEnv, in validateMetrics() 1442 assertEquals("error! metrics#MetricsConstants.CODEC is not as expected \n" + mTestConfig in validateMetrics() [all …]
|
D | CodecEncoderTestBase.java | 317 + mTestConfig, mIsAudio || mIsVideo); in setUpCodecEncoderTestBase() 359 assertTrue("unexpected image format \n" + mTestConfig + mTestEnv, in fillImage() 362 assertEquals("Invalid bytes per sample \n" + mTestConfig + mTestEnv, bytesPerSample, in fillImage() 487 fail("received partial frame to encode \n" + mTestConfig + mTestEnv); in enqueueInput() 491 + mTestConfig + mTestEnv, img); in enqueueInput() 579 assertEquals("error! metrics#MetricsConstants.MIME_TYPE is not as expected \n" + mTestConfig in validateMetrics() 581 assertEquals("error! metrics#MetricsConstants.ENCODER is not as expected \n" + mTestConfig in validateMetrics() 628 fail("Output timestamps are not strictly increasing \n" + mTestConfig + mTestEnv in validateTestState() 633 fail("Input pts list and Output pts list are not identical \n" + mTestConfig in validateTestState()
|
D | CodecEncoderBlockModelTestBase.java | 111 + mTestConfig + mTestEnv, 0, in enqueueInput() 147 + mTestConfig + mTestEnv, framePts, infoPts); in dequeueOutput() 150 + mTestConfig + mTestEnv, frameFlags, infoFlags); in dequeueOutput()
|
D | HDRDecoderTestBase.java | 107 assertTrue("reference hdr10/hdr10+ info is not supplied for validation \n" + mTestConfig in validateHDRInfo() 124 + " size are unequal \n" + mTestConfig + mTestEnv, mHdrDynamicInfoStream.size(), in validateHDRInfo() 128 + "frame positions are not in sync \n" + mTestConfig + mTestEnv, in validateHDRInfo()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderMultiResTest.java | 166 assertNotNull("no raw resource found for testing config : " + mEncCfgParams[0] + mTestConfig in testMultiRes() 169 assertEquals("Output width is different from configured width \n" + mTestConfig in testMultiRes() 171 assertEquals("Output height is different from configured height \n" + mTestConfig in testMultiRes() 192 + mTestConfig + mTestEnv, FRAME_LIMIT, mOutputCount); in testMultiRes() 194 + MIN_ACCEPTABLE_QUALITY + "dB \n" + msg + mTestConfig + mTestEnv, isOk); in testMultiRes()
|
D | VideoEncoderMaxBFrameTest.java | 117 + mTestConfig + mTestEnv, FRAME_LIMIT, mOutputCount); in testMaxBFrameSupport() 121 assertTrue("Test could not gather picture types of encoded frames \n" + mTestConfig in testMaxBFrameSupport() 134 assertTrue(msg + mTestConfig + mTestEnv, maxBFramesFound <= mEncCfgParams[0].mMaxBFrames); in testMaxBFrameSupport() 137 + "in sequence \n" + mTestConfig + mTestEnv, maxBFramesFound > 0); in testMaxBFrameSupport()
|
D | VideoEncoderIntraFrameIntervalTest.java | 132 + mTestConfig + mTestEnv, FRAME_LIMIT, mOutputCount); in testEncoderSyncFrameSupport() 136 assertTrue("Test could not gather picture types of encoded frames \n" + mTestConfig in testEncoderSyncFrameSupport() 154 assertEquals(msg + mTestConfig + mTestEnv, maxKeyFrameDistance - expDistance, 0); in testEncoderSyncFrameSupport() 156 Assume.assumeTrue(msg + mTestConfig + mTestEnv, in testEncoderSyncFrameSupport()
|
D | VideoEncoderValidationTestBase.java | 159 + mTestConfig + mTestEnv + DIAGNOSTICS, res); in encodeToMemory() 177 fail("encountered exception during file read." + e + "\n" + mTestConfig + mTestEnv); in enqueueInput() 180 fail("received partial frame to encode \n" + mTestConfig + mTestEnv); in enqueueInput() 184 + mTestConfig + mTestEnv, mFileReadOffset, mFileLength); in enqueueInput() 193 assertNotNull("CPU-read via ImageReader API is not available \n" + mTestConfig in enqueueInput()
|
D | VideoEncoderPsnrTest.java | 122 assertNotNull("no raw resource found for testing config : " + mEncCfgParams[0] + mTestConfig in testPsnr() 154 + mTestConfig + mTestEnv, FRAME_LIMIT, mOutputCount); in testPsnr() 156 + MIN_ACCEPTABLE_QUALITY + "dB \n" + msg + mTestConfig + mTestEnv, isOk); in testPsnr()
|
D | VideoEncoderAdaptiveBitRateTest.java | 159 assertTrue(msg + mTestConfig + mTestEnv, in passFailCriteria() 162 assumeTrue(msg + mTestConfig + mTestEnv, in passFailCriteria() 185 assertEquals("encoder did not encode the requested number of frames \n" + mTestConfig in testAdaptiveBitRate()
|