Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java384 AssetFileDescriptor testFd = mResources.openRawResourceFd(srcMedia); in verifyAttributesMatch() local
387 retrieverSrc.setDataSource(testFd.getFileDescriptor(), in verifyAttributesMatch()
388 testFd.getStartOffset(), testFd.getLength()); in verifyAttributesMatch()
431 AssetFileDescriptor testFd = mResources.openRawResourceFd(srcMedia); in verifySamplesMatch() local
433 extractorSrc.setDataSource(testFd.getFileDescriptor(), in verifySamplesMatch()
434 testFd.getStartOffset(), testFd.getLength()); in verifySamplesMatch()
DDecoderConformanceTest.java134 AssetFileDescriptor testFd = mResources.openRawResourceFd(resId); in decodeTestVector() local
136 … mExtractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), testFd.getLength()); in decodeTestVector()
DDecoderTestAacDrc.java300 AssetFileDescriptor testFd = mResources.openRawResourceFd(testinput); in decodeToMemory() local
308 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), in decodeToMemory()
309 testFd.getLength()); in decodeToMemory()
310 testFd.close(); in decodeToMemory()
DDecoderTest.java1321 AssetFileDescriptor testFd = mResources.openRawResourceFd(testinput);
1329 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
1330 testFd.getLength());
1331 testFd.close();
1591 AssetFileDescriptor testFd = mResources.openRawResourceFd(res);
1594 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
1595 testFd.getLength());
1596 testFd.close();
2075 AssetFileDescriptor testFd = mResources.openRawResourceFd(video);
2077 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
[all …]
DVideoDecoderPerfTest.java114 AssetFileDescriptor testFd = mResources.openRawResourceFd(video); in doDecode() local
116 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), in doDecode()
117 testFd.getLength()); in doDecode()
171 testFd.close(); in doDecode()
DAdaptivePlaybackTest.java1307 AssetFileDescriptor testFd = context.getResources().openRawResourceFd(video);
1308 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(),
1309 testFd.getLength());
1354 testFd.close();