/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | DecodeStreamToYuv.java | 56 public DecodeStreamToYuv(String mediaType, String inpFile, int frameLimit, String outYuvPrefix) in DecodeStreamToYuv() argument 58 super(findDecoderForStream(mediaType, inpFile), mediaType, inpFile, LOG_TAG); in DecodeStreamToYuv() local 66 public DecodeStreamToYuv(String mediaType, String inpFile, int frameLimit) throws IOException { in DecodeStreamToYuv() argument 67 this(mediaType, inpFile, frameLimit, "test" + LOG_TAG); in DecodeStreamToYuv() 70 public DecodeStreamToYuv(String mediaType, String inpFile) throws IOException { in DecodeStreamToYuv() argument 71 this(mediaType, inpFile, Integer.MAX_VALUE); in DecodeStreamToYuv()
|
D | CodecEncoderTestBase.java | 178 public static void validateEncodedPSNR(String inpMediaType, String inpFile, in validateEncodedPSNR() argument 181 CompareStreams cs = new CompareStreams(inpMediaType, inpFile, outMediaType, outFile, in validateEncodedPSNR()
|
/cts/tests/tests/media/player/src/android/media/player/cts/ |
D | MediaPlayerSurfaceStubActivity.java | 56 File inpFile = new File(FILE_PATH); in onCreate() local 58 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in onCreate()
|
D | MediaPlayerRandomTest.java | 102 File inpFile = new File(mInpPrefix + res); in loadSource() local 104 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in loadSource()
|
D | MediaPlayerTest.java | 168 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 170 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmExtractorTest.java | 63 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 66 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
D | MediaDrmCodecBlockModelTest.java | 53 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 56 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorUnitTest.java | 784 File inpFile = File.createTempFile("ExtractorTestApisetDSAFD", ".in"); in testIfWriteOnlyAssetFDIsRejectedBySetDataSource() local 787 .open(inpFile, ParcelFileDescriptor.MODE_WRITE_ONLY); in testIfWriteOnlyAssetFDIsRejectedBySetDataSource() 797 inpFile.delete(); in testIfWriteOnlyAssetFDIsRejectedBySetDataSource() 804 File inpFile = File.createTempFile("ExtractorTestApisetDSFD", ".in"); in testIfWriteOnlyFDIsRejectedBySetDataSource() local 805 try (FileOutputStream fOut = new FileOutputStream(inpFile)) { in testIfWriteOnlyFDIsRejectedBySetDataSource() 813 inpFile.delete(); in testIfWriteOnlyFDIsRejectedBySetDataSource()
|
D | ExtractorTest.java | 598 File inpFile = new File(MEDIA_DIR + INPUT_MEDIA); in testAssetFD() local 601 .open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in testAssetFD() 618 File inpFile = new File(MEDIA_DIR + INPUT_MEDIA); 620 try (FileInputStream fInp = new FileInputStream(inpFile)) { 639 File inpFile = new File(MEDIA_DIR + INPUT_MEDIA); 642 try (FileInputStream fInp = new FileInputStream(inpFile); 645 byte[] data = new byte[(int) new File(inpFile.toString()).length()]; 655 inpFile.length());
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | NativeDecoderTest.java | 93 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 95 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
D | MediaScannerTest.java | 95 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 97 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
D | MediaMetadataRetrieverTest.java | 132 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 135 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderConformanceTest.java | 168 File inpFile = new File(mInpPrefix + res + "." + tag); in getAssetFileDescriptorFor() local 170 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
D | DecoderTestAacFormat.java | 160 File inpFile = new File(mInpPrefix + testInput); in decodeUpdateFormat() local 162 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in decodeUpdateFormat()
|
D | NativeDecoderTest.java | 121 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 123 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
D | DecodeAccuracyTestBase.java | 1688 File inpFile = new File(WorkDir.getMediaDirString() + "assets/decode_accuracy/" + filename); in getAssetFileDescriptor() local 1690 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptor()
|
D | DecoderTest.java | 142 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 145 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/ |
D | NativeMuxerTest.java | 90 File inpFile = new File(MEDIA_DIR + res); in getAssetFileDescriptorFor() local 92 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
D | MediaMuxerTest.java | 90 File inpFile = new File(MEDIA_DIR + res); in getAssetFileDescriptorFor() local 92 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecBlockModelTest.java | 85 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 88 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
D | ExtractDecodeEditEncodeMuxTest.java | 645 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 647 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
D | MediaCodecTest.java | 1999 File inpFile = new File(mInpPrefix + resource); in getMediaExtractorForMimeType() local 2001 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getMediaExtractorForMimeType()
|
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/ |
D | MediaExtractorTest.java | 105 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local 108 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 837 File inpFile = new File(resource); in createMediaExtractorForMimeType() local 839 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in createMediaExtractorForMimeType()
|