Home
last modified time | relevance | path

Searched refs:testFd (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaExtractorTest.java697 AssetFileDescriptor testFd = mResources.openRawResourceFd(R.raw.sinesweepalac); in testFlacMovExtraction() local
700 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), in testFlacMovExtraction()
701 testFd.getLength()); in testFlacMovExtraction()
702 testFd.close(); in testFlacMovExtraction()
721 AssetFileDescriptor testFd = mResources.openRawResourceFd(res); in doTestAdvance() local
724 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), in doTestAdvance()
725 testFd.getLength()); in doTestAdvance()
726 testFd.close(); in doTestAdvance()
DDecoderConformanceTest.java136 AssetFileDescriptor testFd = mResources.openRawResourceFd(resId); in decodeTestVector() local
138 … mExtractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), testFd.getLength()); in decodeTestVector()
DDecoderTest.java1667 AssetFileDescriptor testFd = mResources.openRawResourceFd(testinput);
1675 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
1676 testFd.getLength());
1677 testFd.close();
1943 AssetFileDescriptor testFd = mResources.openRawResourceFd(res);
1946 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
1947 testFd.getLength());
1948 testFd.close();
2535 AssetFileDescriptor testFd = mResources.openRawResourceFd(video);
2537 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
[all …]
DDecoderTestAacDrc.java405 AssetFileDescriptor testFd = mResources.openRawResourceFd(testinput); in decodeToMemory() local
413 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), in decodeToMemory()
414 testFd.getLength()); in decodeToMemory()
415 testFd.close(); in decodeToMemory()
DMediaMuxerTest.java582 AssetFileDescriptor testFd = mResources.openRawResourceFd(srcMedia); in verifyAttributesMatch() local
585 retrieverSrc.setDataSource(testFd.getFileDescriptor(), in verifyAttributesMatch()
586 testFd.getStartOffset(), testFd.getLength()); in verifyAttributesMatch()
621 testFd.close(); in verifyAttributesMatch()
664 AssetFileDescriptor testFd = mResources.openRawResourceFd(srcMedia); in verifySamplesMatch() local
666 extractorSrc.setDataSource(testFd.getFileDescriptor(), in verifySamplesMatch()
667 testFd.getStartOffset(), testFd.getLength()); in verifySamplesMatch()
719 testFd.close(); in verifySamplesMatch()
DDecoderTestXheAac.java828 AssetFileDescriptor testFd = mResources.openRawResourceFd(testinput);
836 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
837 testFd.getLength());
838 testFd.close();
DVideoDecoderPerfTest.java162 AssetFileDescriptor testFd = mResources.openRawResourceFd(video); in doDecode() local
164 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), in doDecode()
165 testFd.getLength()); in doDecode()
219 testFd.close(); in doDecode()
DAdaptivePlaybackTest.java1349 AssetFileDescriptor testFd = context.getResources().openRawResourceFd(video);
1350 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
1351 testFd.getLength());
1402 testFd.close();