/cts/tests/tests/content/src/android/content/cts/ |
D | ImageCaptureUriExtraToClipDataTest.java | 37 private File mTestFile; field in ImageCaptureUriExtraToClipDataTest 59 mTestFile = new File(getContext().getFilesDir() + File.separator + FILE_NAME); in setUp() 64 if (mTestFile.exists()) { in tearDown() 65 assertTrue(mTestFile.delete()); in tearDown() 93 intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(mTestFile)); in startActivityWithAction() 109 FileReader reader = new FileReader(mTestFile); in assertFileContents()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderBlockModelMultiAccessUnitTest.java | 99 MediaFormat format = setUpSource(mTestFile); in setUp() 123 cdtb.decodeToMemory(mTestFile, mCodecName, 0, MediaExtractor.SEEK_TO_CLOSEST_SYNC, in testSimpleDecode() 130 cdbmtb.decodeToMemory(mTestFile, mCodecName, test, 0, in testSimpleDecode() 141 MediaFormat format = setUpSource(mTestFile); in testSimpleDecode() 142 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testSimpleDecode() 202 MediaFormat format = setUpSource(mTestFile); in testFlush() 209 cdtb.decodeToMemory(mTestFile, mCodecName, pts, MediaExtractor.SEEK_TO_CLOSEST_SYNC, in testFlush() 218 setUpSource(mTestFile); in testFlush() 219 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testFlush() 302 MediaFormat format = setUpSource(mTestFile); in testReconfigure() [all …]
|
D | CodecDecoderMultiAccessUnitTest.java | 177 MediaFormat format = setUpSource(mTestFile); in setUp() 203 cdtb.decodeToMemory(mTestFile, mCodecName, 0, MediaExtractor.SEEK_TO_CLOSEST_SYNC, in testSimpleDecode() 211 MediaFormat format = setUpSource(mTestFile); in testSimpleDecode() 212 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testSimpleDecode() 274 MediaFormat format = setUpSource(mTestFile); in testFlush() 289 cdtb.decodeToMemory(mTestFile, mCodecName, pts, MediaExtractor.SEEK_TO_CLOSEST_SYNC, in testFlush() 297 setUpSource(mTestFile); in testFlush() 298 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testFlush() 391 MediaFormat format = setUpSource(mTestFile); in testReconfigure() 403 cdtb1.decodeToMemory(mTestFile, mCodecName, 0, MediaExtractor.SEEK_TO_CLOSEST_SYNC, in testReconfigure() [all …]
|
D | CodecDecoderTest.java | 341 MediaFormat format = setUpSource(mTestFile); in setUp() 374 MediaFormat format = setUpSource(mTestFile); in testSimpleDecode() 425 cdbmtb.decodeToMemory(mTestFile, mCodecName, test, 0, in testSimpleDecode() 433 boolean isPass = nativeTestSimpleDecode(mCodecName, null, mMediaType, mTestFile, in testSimpleDecode() 472 MediaFormat format = setUpSource(mTestFile); in testFlush() 485 decodeToMemory(mTestFile, mCodecName, pts, mode, Integer.MAX_VALUE); in testFlush() 489 setUpSource(mTestFile); in testFlush() 575 MediaFormat format = setUpSource(mTestFile); in testFlushNative() 579 boolean isPass = nativeTestFlush(mCodecName, null, mMediaType, mTestFile, in testFlushNative() 620 MediaFormat format = setUpSource(mTestFile); in testReconfigure() [all …]
|
D | CodecDecoderSurfaceTest.java | 132 MediaFormat format = setUpSource(mTestFile); in setUp() 236 decodeAndSavePts(mTestFile, mCodecName, pts, mode, Integer.MAX_VALUE); in testSimpleDecodeToSurface() 239 MediaFormat format = setUpSource(mTestFile); in testSimpleDecodeToSurface() 284 MediaFormat format = setUpSource(mTestFile); in testDetachAndReattachSurface() 387 MediaFormat format = setUpSource(mTestFile); in testFlush() 400 decodeAndSavePts(mTestFile, mCodecName, pts, mode, Integer.MAX_VALUE); in testFlush() 404 setUpSource(mTestFile); in testFlush() 500 MediaFormat format = setUpSource(mTestFile); in testReconfigure() 511 decodeAndSavePts(mTestFile, mCodecName, pts, mode, Integer.MAX_VALUE); in testReconfigure() 521 setUpSource(mTestFile); in testReconfigure() [all …]
|
D | DecoderDynamicColorAspectTest.java | 79 public final String mTestFile; field in DecoderDynamicColorAspectTest.MediaAndColorSpaceAttrib 86 mTestFile = testFile; in MediaAndColorSpaceAttrib() 220 formats.add(setUpSource(MEDIA_DIR + mediaAndColorSpaceAttrib.mTestFile)); in setUp() 344 File file = new File(MEDIA_DIR + mediaAndColorSpaceAttrib.mTestFile); in testDynamicColorAspect() 355 formats.add(createInputList(setUpSource(MEDIA_DIR + mediaAndColorSpaceAttrib.mTestFile), in testDynamicColorAspect()
|
D | CodecDecoderPauseTest.java | 98 formats.add(setUpSource(mTestFile)); in testPause() 102 MediaFormat format = setUpSource(mTestFile); in testPause()
|
D | CodecDecoderDetachedSurfaceTest.java | 150 MediaFormat format = setUpSource(mTestFile); in setUp() 299 MediaFormat format = setUpSource(mTestFile); in testSetOutputSurface() 360 MediaFormat format = setUpSource(mTestFile); in testFeatureDetachedSurface() 425 MediaFormat format = setUpSource(mTestFile); in testDetachOutputSurface()
|
D | CodecEncoderSurfaceTest.java | 338 CodecEncoderTestBase.validateEncodedPSNR(mTestFileMediaType, mTestFile, mEncMediaType, in testSimpleEncodeFromSurface() 367 mTestFile, mTestFileMediaType, tmpPath, colorFormat, mUsePersistentSurface, in testSimpleEncodeFromSurfaceNative() 373 CodecEncoderTestBase.validateEncodedPSNR(mTestFileMediaType, mTestFile, mEncMediaType, in testSimpleEncodeFromSurfaceNative()
|
/cts/hostsidetests/car/app/src/android/car/cts/app/watchdog/ |
D | CarWatchdogDeviceAppTest.java | 103 private File mTestFile; field in CarWatchdogDeviceAppTest 114 mTestFile = mContext.getFilesDir().toPath().resolve("testfile").toFile(); in setup() 115 if (!mTestFile.exists()) { in setup() 116 Log.d(TAG, "Creating test file: " + mTestFile.getPath()); in setup() 117 mTestFile = Files.createFile(mTestFile.toPath()).toFile(); in setup() 216 mTestFile.delete(); in testResetOriginalResourceOveruseConfigurations() 224 assertWithMessage("Failed to write data to file '" + mTestFile.getAbsolutePath() + "'") in testVerifyInitialResourceOveruseStats() 242 assertWithMessage("Failed to write data to file '" + mTestFile.getAbsolutePath() + "'") in testVerifyResourceOveruseStatsAfterReboot() 255 boolean wasDeleted = mTestFile.delete(); in testDeleteTestFile() 317 try (FileOutputStream fos = new FileOutputStream(mTestFile)) { in writeConfigsToDisk() [all …]
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | MultiDecoderPerfTest.java | 169 mTestFile = testFiles.get(mMediaType); in testCodec() 170 Assume.assumeTrue("Add test vector for mediaType: " + mMediaType, mTestFile != null); in testCodec() 188 testList.add(new Decode(mMediaType, mTestFile, mDecoderName, mIsAsync, in testCodec() 193 testList.add(new Decode(mMediaType, mTestFile, mDecoderName, mIsAsync, in testCodec()
|
D | AudioPlaybackLoad.java | 50 MediaFormat format = setUpSource(mTestFile); in doDecodeAndPlayback()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | CodecDecoderMultiAccessUnitDrmTest.java | 137 cddrmtb.decodeToMemory(mTestFile, mCodecName, 0, MediaExtractor.SEEK_TO_CLOSEST_SYNC, in testSimpleDecode() 146 MediaFormat format = setUpSource(mTestFile); in testSimpleDecode() 147 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testSimpleDecode()
|
D | CodecDecoderBlockModelMultiAccessUnitDrmTest.java | 141 codecDecoderBlockModelDrmtb.decodeToMemory(mTestFile, mCodecName, 0, in testSimpleDecode() 150 MediaFormat format = setUpSource(mTestFile); in testSimpleDecode() 151 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testSimpleDecode()
|
D | CodecDecoderDrmTest.java | 122 cddrmtb.decodeToMemory(mTestFile, mCodecName, 0, MediaExtractor.SEEK_TO_CLOSEST_SYNC, in testSimpleDecode() 133 cdbmdrmtb.decodeToMemory(mTestFile, mCodecName, test, 0, in testSimpleDecode()
|
/cts/hostsidetests/videoencodingminimum/app/src/android/videoencodingmin/app/ |
D | VideoTranscoderTest.java | 86 private String mTestFile; field in VideoTranscoderTest 139 mTestFile = MEDIA_DIR + "samples/" + obj.getString("RefFileName"); in parseEncoderConfigurationFile() 170 MediaFormat format = getFormatInStream(mTestFileMediaType, mTestFile); in parseEncoderConfigurationFile() 200 mDecoderName, mTestFileMediaType, mTestFile, mEncCfgParams[i], in testTranscode()
|
/cts/hostsidetests/mediapc/videoencodingquality/app/src/android/videoencoding/app/ |
D | VideoTranscoderTest.java | 86 private String mTestFile; field in VideoTranscoderTest 139 mTestFile = MEDIA_DIR + "samples/" + obj.getString("RefFileName"); in parseEncoderConfigurationFile() 170 MediaFormat format = getFormatInStream(mTestFileMediaType, mTestFile); in parseEncoderConfigurationFile() 200 mDecoderName, mTestFileMediaType, mTestFile, mEncCfgParams[i], in testTranscode()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoDecoderValidationTest.java | 97 MediaFormat format = setUpSource(mTestFile); in testDecodeAndValidate() 102 decodeToMemory(mTestFile, mCodecName, 0, MediaExtractor.SEEK_TO_CLOSEST_SYNC, in testDecodeAndValidate()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderLowLatencyTest.java | 69 public String mTestFile; field in DecoderLowLatencyTest 76 mTestFile = testFile; in DecoderLowLatencyTest() 183 AssetFileDescriptor fd = getAssetFileDescriptorFor(mTestFile); in testLowLatencyVideo() 299 log.addValue("video_res", mTestFile, ResultType.NEUTRAL, ResultUnit.NONE); in testLowLatencyVideo()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecPerformanceTestBase.java | 74 final String mTestFile; field in CodecPerformanceTestBase 139 mTestFile = testFile; in CodecPerformanceTestBase() 219 final String input = mInputPrefix + mTestFile; in setUpDecoderInput() 277 fail("No video track found in file: " + mTestFile); in setUpDecoderInput()
|
D | CodecDecoderPerformanceTestBase.java | 81 assertNotNull("Video track not present in " + mTestFile, format); in decode()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | HDRDecoderTestBase.java | 119 Preconditions.assertTestFileExists(mTestFile); in validateHDRInfo() 133 MediaFormat format = setUpSource(mTestFile); in validateHDRInfo()
|
D | CodecEncoderSurfaceTestBase.java | 66 protected final String mTestFile; field in CodecEncoderSurfaceTestBase 110 mTestFile = testFile; in CodecEncoderSurfaceTestBase() 133 mDecoderFormat = setUpSource(mTestFile); in setUpCodecEncoderSurfaceTestBase() 141 || mTestFile.contains("10bit")) { in setUpCodecEncoderSurfaceTestBase() 566 setUpSource(mTestFile); in encodeToMemory()
|
D | CodecDecoderTestBase.java | 54 protected final String mTestFile; field in CodecDecoderTestBase 68 mTestFile = testFile; in CodecDecoderTestBase() 423 Preconditions.assertTestFileExists(mTestFile); in validateColorAspects() 425 MediaFormat format = setUpSource(mTestFile); in validateColorAspects()
|
D | CompareStreams.java | 338 getFormatInStream(mMediaType, mTestFile); in generateErrorStats() 342 if (isHBD || mTestFile.contains("10bit")) { in generateErrorStats() 352 decodeToMemory(mTestFile, mCodecName, 0, MediaExtractor.SEEK_TO_CLOSEST_SYNC, in generateErrorStats()
|