Searched refs:testFd (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaExtractorTest.java | 697 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()
|
D | DecoderConformanceTest.java | 136 AssetFileDescriptor testFd = mResources.openRawResourceFd(resId); in decodeTestVector() local 138 … mExtractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), testFd.getLength()); in decodeTestVector()
|
D | DecoderTest.java | 1667 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 …]
|
D | DecoderTestAacDrc.java | 405 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()
|
D | MediaMuxerTest.java | 582 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()
|
D | DecoderTestXheAac.java | 828 AssetFileDescriptor testFd = mResources.openRawResourceFd(testinput); 836 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), 837 testFd.getLength()); 838 testFd.close();
|
D | VideoDecoderPerfTest.java | 162 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()
|
D | AdaptivePlaybackTest.java | 1349 AssetFileDescriptor testFd = context.getResources().openRawResourceFd(video); 1350 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), 1351 testFd.getLength()); 1402 testFd.close();
|