Home
last modified time | relevance | path

Searched refs:inpFile (Results 1 – 24 of 24) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DDecodeStreamToYuv.java56 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()
DCodecEncoderTestBase.java178 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/
DMediaPlayerSurfaceStubActivity.java56 File inpFile = new File(FILE_PATH); in onCreate() local
58 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in onCreate()
DMediaPlayerRandomTest.java102 File inpFile = new File(mInpPrefix + res); in loadSource() local
104 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in loadSource()
DMediaPlayerTest.java168 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/
DMediaDrmExtractorTest.java63 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local
66 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
DMediaDrmCodecBlockModelTest.java53 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/
DExtractorUnitTest.java784 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()
DExtractorTest.java598 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/
DNativeDecoderTest.java93 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local
95 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
DMediaScannerTest.java95 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local
97 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
DMediaMetadataRetrieverTest.java132 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/
DDecoderConformanceTest.java168 File inpFile = new File(mInpPrefix + res + "." + tag); in getAssetFileDescriptorFor() local
170 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
DDecoderTestAacFormat.java160 File inpFile = new File(mInpPrefix + testInput); in decodeUpdateFormat() local
162 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in decodeUpdateFormat()
DNativeDecoderTest.java121 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local
123 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
DDecodeAccuracyTestBase.java1688 File inpFile = new File(WorkDir.getMediaDirString() + "assets/decode_accuracy/" + filename); in getAssetFileDescriptor() local
1690 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptor()
DDecoderTest.java142 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/
DNativeMuxerTest.java90 File inpFile = new File(MEDIA_DIR + res); in getAssetFileDescriptorFor() local
92 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
DMediaMuxerTest.java90 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/
DMediaCodecBlockModelTest.java85 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local
88 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
DExtractDecodeEditEncodeMuxTest.java645 File inpFile = new File(mInpPrefix + res); in getAssetFileDescriptorFor() local
647 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in getAssetFileDescriptorFor()
DMediaCodecTest.java1999 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/
DMediaExtractorTest.java105 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/
DMediaUtils.java837 File inpFile = new File(resource); in createMediaExtractorForMimeType() local
839 ParcelFileDescriptor.open(inpFile, ParcelFileDescriptor.MODE_READ_ONLY); in createMediaExtractorForMimeType()