Home
last modified time | relevance | path

Searched refs:mTestEnv (Results 1 – 25 of 55) sorted by relevance

123

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecEncoderSurfaceTestBase.java92 protected final StringBuilder mTestEnv = new StringBuilder(); field in CodecEncoderSurfaceTestBase
220 fail("No video track found in file: " + srcFile + ". \n" + mTestConfig + mTestEnv); in setUpSource()
255 mTestEnv.setLength(0); in configureCodec()
256 mTestEnv.append("################### Test Environment #####################\n"); in configureCodec()
257 mTestEnv.append(String.format("Encoder under test :- %s \n", mEncoderName)); in configureCodec()
258 mTestEnv.append(String.format("Format under test :- %s \n", encFormat)); in configureCodec()
259 mTestEnv.append(String.format("Encoder is fed with output of :- %s \n", mDecoderName)); in configureCodec()
260 mTestEnv.append(String.format("Format of Decoder Input :- %s", decFormat)); in configureCodec()
261 mTestEnv.append(String.format("Encoder and Decoder are operating in :- %s mode \n", in configureCodec()
263 mTestEnv.append(String.format("Components received input eos :- %s \n", in configureCodec()
[all …]
DCodecDecoderBlockModelMultiAccessUnitTestBase.java94 + "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()
DCodecDecoderMultiAccessUnitTestBase.java94 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()
DCodecTestBase.java378 protected StringBuilder mTestEnv = new StringBuilder(); field in CodecTestBase
1179 mTestEnv.setLength(0); in configureCodecCommon()
1180 mTestEnv.append("################### Test Environment #####################\n"); in configureCodecCommon()
1181 mTestEnv.append(String.format("Component under test :- %s \n", mCodecName)); in configureCodecCommon()
1182 mTestEnv.append("Format under test :- ").append(format).append("\n"); in configureCodecCommon()
1183 mTestEnv.append(String.format("Component operating in :- %s mode \n", in configureCodecCommon()
1185 mTestEnv.append(String.format("Component received input eos :- %s \n", in configureCodecCommon()
1187 mTestEnv.append(String.format("Component is :- %s \n", in configureCodecCommon()
1189 mTestEnv.append("Component configure flags :- ").append(flags).append("\n"); in configureCodecCommon()
1395 assertFalse("Encountered error in async mode. \n" + mTestConfig + mTestEnv in validateTestState()
[all …]
DCodecEncoderBlockModelTestBase.java111 + mTestConfig + mTestEnv, 0, in enqueueInput()
147 + mTestConfig + mTestEnv, framePts, infoPts); in dequeueOutput()
150 + mTestConfig + mTestEnv, frameFlags, infoFlags); in dequeueOutput()
DHDRDecoderTestBase.java108 + mTestEnv, mHdrDynamicInfoRef != null || mHdrStaticInfoRef != null); 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()
DEncoderProfileLevelTestBase.java505 fail(msg + "profile key not present in format " + format + mTestConfig + mTestEnv); in getProfile()
511 assertTrue(msg + "level not present in format " + format + mTestConfig + mTestEnv, in getLevel()
520 exp, got) + mTestConfig + mTestEnv, in validateProfile() local
525 exp, got) + mTestConfig + mTestEnv, in validateProfile() local
531 exp, got) + mTestConfig + mTestEnv, exp, got); in validateProfile() local
536 exp, got) + mTestConfig + mTestEnv, exp, got); in validateLevel() local
541 + " Got %d ", min, got) + mTestConfig + mTestEnv; in validateMinLevel()
617 assertEquals("Should be only 1 track \n" + mTestConfig + mTestEnv, 1, in validateProfileAndLevel()
DCodecEncoderTestBase.java359 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()
580 + mTestEnv, metrics.getString(MediaCodec.MetricsConstants.MIME_TYPE), mMediaType); in validateMetrics()
582 + mTestEnv, 1, metrics.getInt(MediaCodec.MetricsConstants.ENCODER)); in validateMetrics()
628 fail("Output timestamps are not strictly increasing \n" + mTestConfig + mTestEnv in validateTestState()
634 + mTestEnv + mOutputBuff.getErrMsg()); in validateTestState()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderBlockModelMultiAccessUnitTest.java145 + mTestEnv, mActiveRawRes); 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()
319 + mTestEnv + test.getErrMsg()); in testSimpleEncode()
[all …]
DAudioEncoderTest.java153 + mTestEnv, mActiveEncCfg.mPcmEncoding, in encodeAndValidate() local
169 + mTestEnv, listOfDecoders.isEmpty()); in encodeAndValidate()
175 + mTestConfig + mTestEnv, mActiveEncCfg.mPcmEncoding, in encodeAndValidate() local
186 mTestConfig.toString() + mTestEnv.toString()); in encodeAndValidate()
189 + mTestEnv, out, ByteBuffer.wrap(mInputData)); in encodeAndValidate()
201 + "possible \n" + mTestConfig + mTestEnv + errMsg + errMsg); in encodeAndValidate()
224 + mTestEnv, mActiveRawRes); in testEncodeAndValidate()
DCodecDecoderBlockModelMultiAccessUnitTest.java134 + mTestConfig + mTestEnv + test.getErrMsg()); in testSimpleDecode()
161 + "fed separately. \n" + mTestConfig + mTestEnv in testSimpleDecode()
167 + mTestEnv + testB.getErrMsg()); 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()
DCodecEncoderTest.java284 + mTestEnv, mActiveRawRes); in setUp()
293 + mTestConfig + mTestEnv, mGotCSD); in validateCSD()
312 + " must generate CodecPrivateData \n" + mTestConfig + mTestEnv, mGotCSD); in validateCSD()
365 + mTestEnv + test.getErrMsg()); in testSimpleEncode()
391 assertTrue("no valid color formats received \n" + mTestConfig + mTestEnv, in testSimpleEncodeNative()
480 + mTestEnv + test.getErrMsg()); in testReconfigure()
495 + mTestEnv + test.getErrMsg()); in testReconfigure()
512 + mTestEnv + configTest.getErrMsg()); in testReconfigure()
536 assertTrue("no valid color formats received \n" + mTestConfig + mTestEnv, in testReconfigureNative()
581 + mTestEnv + test.getErrMsg()); in testOnlyEos()
[all …]
DCodecDecoderSurfaceTest.java254 + "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 …]
DCodecEncoderMultiAccessUnitTest.java142 + mTestEnv, mActiveRawRes); 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()
338 + mTestEnv + testB.getErrMsg()); in testSimpleEncode()
DCodecDecoderTest.java328 assertTrue(msg + mTestConfig + mTestEnv, in doOutputFormatChecks()
336 assertTrue(msg + mTestConfig + mTestEnv, isFormatSimilar(configuredFormat, outputFormat)); in doOutputFormatChecks()
409 + mTestEnv + test.getErrMsg()); in testSimpleDecode()
429 + mTestConfig + mTestEnv + test.getErrMsg()); 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()
680 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testReconfigure()
697 fail("Decoder output is not consistent across runs \n" + mTestConfig + mTestEnv in testReconfigure()
[all …]
DCodecDecoderMultiAccessUnitTest.java232 + mTestConfig + mTestEnv + mOutputBuff.getErrMsg()); in testSimpleDecode()
237 + mTestEnv + testB.getErrMsg()); 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()
DCodecDecoderDetachedSurfaceTest.java175 + " 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()
460 + mTestEnv); 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()
DDecoderPushBlankBufferOnStopTest.java145 + 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/videocodec/src/android/videocodec/cts/
DVideoEncoderMultiResTest.java167 + mTestEnv + DIAGNOSTICS, res); in testMultiRes()
170 + mTestEnv, mEncCfgParams[0].mWidth, getWidth(getOutputFormat())); in testMultiRes()
172 + mTestEnv, mEncCfgParams[0].mHeight, getHeight(getOutputFormat())); in testMultiRes()
192 + mTestConfig + mTestEnv, FRAME_LIMIT, mOutputCount); in testMultiRes()
194 + MIN_ACCEPTABLE_QUALITY + "dB \n" + msg + mTestConfig + mTestEnv, isOk); in testMultiRes()
DVideoEncoderMaxBFrameTest.java117 + mTestConfig + mTestEnv, FRAME_LIMIT, mOutputCount); in testMaxBFrameSupport()
122 + mTestEnv, picType == PICTURE_TYPE_I || picType == PICTURE_TYPE_P in testMaxBFrameSupport()
134 assertTrue(msg + mTestConfig + mTestEnv, maxBFramesFound <= mEncCfgParams[0].mMaxBFrames); in testMaxBFrameSupport()
137 + "in sequence \n" + mTestConfig + mTestEnv, maxBFramesFound > 0); in testMaxBFrameSupport()
DVideoEncoderIntraFrameIntervalTest.java132 + mTestConfig + mTestEnv, FRAME_LIMIT, mOutputCount); in testEncoderSyncFrameSupport()
137 + mTestEnv, picType == PICTURE_TYPE_I || picType == PICTURE_TYPE_P in testEncoderSyncFrameSupport()
154 assertEquals(msg + mTestConfig + mTestEnv, maxKeyFrameDistance - expDistance, 0); in testEncoderSyncFrameSupport()
156 Assume.assumeTrue(msg + mTestConfig + mTestEnv, in testEncoderSyncFrameSupport()
DVideoEncoderValidationTestBase.java159 + 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()
194 + mTestEnv, img); in enqueueInput()
DVideoEncoderPsnrTest.java123 + mTestEnv + DIAGNOSTICS, res); in testPsnr()
154 + mTestConfig + mTestEnv, FRAME_LIMIT, mOutputCount); in testPsnr()
156 + MIN_ACCEPTABLE_QUALITY + "dB \n" + msg + mTestConfig + mTestEnv, isOk); in testPsnr()
DVideoEncoderAdaptiveBitRateTest.java159 assertTrue(msg + mTestConfig + mTestEnv, in passFailCriteria()
162 assumeTrue(msg + mTestConfig + mTestEnv, in passFailCriteria()
186 + mTestEnv, mOutputCount, limit); in testAdaptiveBitRate()
/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp61 std::string mTestEnv; member in CodecEncoderSurfaceTest
79 return mTestEnv + in getErrorMsg()
193 mTestEnv = "################### Test Environment #####################\n"; in configureCodec()
205 mTestEnv.append(StringFormat("Component name %s \n", name)); in configureCodec()
219 mTestEnv.append(StringFormat("Decoder Component name %s \n", name)); in configureCodec()
222 mTestEnv += StringFormat("Format under test :- %s \n", AMediaFormat_toString(mEncFormat)); in configureCodec()
223 mTestEnv += StringFormat("Format of Decoder input :- %s \n", AMediaFormat_toString(mDecFormat)); in configureCodec()
224 mTestEnv += StringFormat("Encoder and Decoder are operating in :- %s mode \n", in configureCodec()
226 mTestEnv += StringFormat("Components received input eos :- %s \n", in configureCodec()

123