Home
last modified time | relevance | path

Searched refs:mTestFile (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DImageCaptureUriExtraToClipDataTest.java36 private File mTestFile; field in ImageCaptureUriExtraToClipDataTest
58 mTestFile = new File(getContext().getFilesDir() + File.separator + FILE_NAME); in setUp()
63 if (mTestFile.exists()) { in tearDown()
64 assertTrue(mTestFile.delete()); in tearDown()
92 intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(mTestFile)); in startActivityWithAction()
108 FileReader reader = new FileReader(mTestFile); in assertFileContents()
/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderSurfaceTest.java151 decodeAndSavePts(mTestFile, mCodecName, pts, mode, Integer.MAX_VALUE); in testSimpleDecodeToSurface()
159 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeToSurface()
164 mTestFile, (isAsync ? "async" : "sync")); in testSimpleDecodeToSurface()
201 MediaFormat format = setUpSource(mTestFile); in testFlush()
217 decodeAndSavePts(mTestFile, mCodecName, pts, mode, Integer.MAX_VALUE); in testFlush()
226 setUpSource(mTestFile); in testFlush()
231 mTestFile, (isAsync ? "async" : "sync")); in testFlush()
296 MediaFormat format = setUpSource(mTestFile); in testReconfigure()
307 decodeAndSavePts(mTestFile, mCodecName, pts, mode, Integer.MAX_VALUE); in testReconfigure()
325 setUpSource(mTestFile); in testReconfigure()
[all …]
DCodecDecoderTest.java211 MediaFormat format = setUpSource(mTestFile); in testSimpleDecode()
228 mCodecName, mTestFile, (isAsync ? "async" : "sync"), in testSimpleDecode()
278 assertTrue(nativeTestSimpleDecode(mCodecName, null, mMime, mInpPrefix + mTestFile, in testSimpleDecode()
292 MediaFormat format = setUpSource(mTestFile); in testFlush()
306 decodeToMemory(mTestFile, mCodecName, pts, mode, Integer.MAX_VALUE); in testFlush()
316 setUpSource(mTestFile); in testFlush()
320 mTestFile, (isAsync ? "async" : "sync")); in testFlush()
405 assertTrue(nativeTestFlush(mCodecName, null, mMime, mInpPrefix + mTestFile)); in testFlushNative()
418 MediaFormat format = setUpSource(mTestFile); in testReconfigure()
428 decodeToMemory(mTestFile, mCodecName, startTs, mode, Integer.MAX_VALUE); in testReconfigure()
[all …]
DCodecDecoderPauseTest.java79 formats.add(setUpSource(mTestFile)); in testPause()
92 MediaFormat format = setUpSource(mTestFile); in testPause()
101 mTestFile, (isAsync ? "async" : "sync")); in testPause()
DCodecEncoderSurfaceTest.java55 private final String mTestFile; field in CodecEncoderSurfaceTest
93 mTestFile = testFile; in CodecEncoderSurfaceTest()
448 MediaFormat decoderFormat = setUpSource(mTestFile); in testSimpleEncodeFromSurface()
507 encoderFormat, mCompName, mTestFile, (isAsync ? "async" : "sync")); in testSimpleEncodeFromSurface()
552 MediaFormat decoderFormat = setUpSource(mTestFile); in testSimpleEncodeFromSurfaceNative()
567 assertTrue(nativeTestSimpleEncode(mCompName, decoder, mMime, mInpPrefix + mTestFile, in testSimpleEncodeFromSurfaceNative()
DDecoderColorAspectsTest.java244 MediaFormat format = setUpSource(mInpPrefix, mTestFile); in testColorAspects()
253 validateColorAspects(mCodecName, mInpPrefix, mTestFile, mColorRange, mColorStandard, in testColorAspects()
258 validateColorAspects(mCodecName, mInpPrefix, mTestFile, mColorRange, in testColorAspects()
DExtractorTest.java1341 private final String mTestFile;
1346 mTestFile = testFile;
1364 testExtractor.setDataSource(mInpPrefix + mTestFile);
1376 String log = String.format("test file: %s, ref file: %s:: ", mTestFile, mRefFile);
1397 fail("Files: " + mRefFile + ", " + mTestFile +
DCodecTestBase.java1111 String mTestFile; field in CodecDecoderTestBase
1124 mTestFile = testFile; in CodecDecoderTestBase()
/cts/tests/video/src/android/video/cts/
DCodecPerformanceTestBase.java67 final String mTestFile; field in CodecPerformanceTestBase
123 mTestFile = testFile; in CodecPerformanceTestBase()
196 final String input = mInputPrefix + mTestFile; in setUpDecoderInput()
254 fail("No video track found in file: " + mTestFile); in setUpDecoderInput()
DCodecDecoderPerformanceTestBase.java81 assertNotNull("Video track not present in " + mTestFile, format); in decode()
DCodecEncoderPerformanceTestBase.java163 assertNotNull("Video track not present in " + mTestFile, format); in encode()
/cts/tests/mediapc/src/android/mediapc/cts/
DMultiCodecPerfTestBase.java69 String mTestFile; field in MultiCodecPerfTestBase
81 mTestFile = testFile; in MultiCodecPerfTestBase()
DMultiDecoderPerfTest.java92 testList.add(new Decode(mMime, mTestFile, mDecoderName, mIsAsync)); in test720p()
DCodecTranscoderTestBase.java39 String mTestFile; field in CodecTranscoderTestBase
64 mTestFile = testfile; in CodecTranscoderTestBase()
375 MediaFormat decoderFormat = setUpSource(mTestFile); in doTranscode()
DAudioPlaybackLoad.java49 MediaFormat format = setUpSource(mTestFile); in doDecodeAndPlayback()
DCodecTestBase.java391 String mTestFile; field in CodecDecoderTestBase
400 mTestFile = testFile; in CodecDecoderTestBase()
682 MediaFormat format = setUpSource(mTestFile); in doDecode()