Home
last modified time | relevance | path

Searched refs:createFromFd (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaSampleReaderNDKTests.cpp88 mSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0, fileSize); in SampleAccessTester()
388 auto sampleReader = MediaSampleReaderNDK::createFromFd(mSourceFd, 0, mFileSize); in TEST_F()
409 MediaSampleReaderNDK::createFromFd(0, 0, mFileSize); in TEST_F()
412 sampleReader = MediaSampleReaderNDK::createFromFd(-1, 0, mFileSize); in TEST_F()
418 MediaSampleReaderNDK::createFromFd(mSourceFd, 0, 0); in TEST_F()
424 MediaSampleReaderNDK::createFromFd(mSourceFd, mFileSize, mFileSize); in TEST_F()
DVideoTrackTranscoderTests.cpp54 mMediaSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0, fileSize); in SetUp()
DTranscoderTestUtils.h40 auto sampleReader = MediaSampleReaderNDK::createFromFd(fd, 0, fileSize);
DPassthroughTrackTranscoderTests.cpp159 MediaSampleReaderNDK::createFromFd(mSourceFd, 0, mSourceFileSize); in TEST_F()
DMediaTrackTranscoderTests.cpp74 mMediaSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0 /* offset */, fileSize); in initSampleReader()
DMediaTranscoderTests.cpp227 MediaSampleReaderNDK::createFromFd(dstFd, 0, fileSize); in verifyOutputFormat()
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/
DMediaTrackTranscoderBenchmark.cpp101 static std::shared_ptr<MediaSampleReader> createFromFd(int fd, size_t offset, size_t size) { in createFromFd() function in MockSampleReader
268 sampleReader = MockSampleReader::createFromFd(srcFd, 0 /* offset */, fileSize); in GetSampleReader()
270 sampleReader = MediaSampleReaderNDK::createFromFd(srcFd, 0 /* offset */, fileSize); in GetSampleReader()
DMediaSampleReaderBenchmark.cpp61 auto sampleReader = MediaSampleReaderNDK::createFromFd(srcFd, 0, fileSize); in ReadMediaSamples()
/frameworks/av/media/libmediatranscoding/transcoder/include/media/
DMediaSampleReaderNDK.h45 static std::shared_ptr<MediaSampleReader> createFromFd(int fd, size_t offset, size_t size);
/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h143 static Asset* createFromFd(const int fd, const char* fileName, AccessMode mode);
/frameworks/base/libs/androidfw/
DAsset.cpp136 return createFromFd(open(fileName, O_RDONLY | O_BINARY), fileName, mode); in createFromFile()
145 /*static*/ Asset* Asset::createFromFd(const int fd, const char* fileName, AccessMode mode) in createFromFd() function in Asset
/frameworks/av/media/libmediatranscoding/transcoder/
DMediaTranscoder.cpp264 mSampleReader = MediaSampleReaderNDK::createFromFd(fd, 0 /* offset */, fileSize); in configureSource()
DMediaSampleReaderNDK.cpp33 std::shared_ptr<MediaSampleReader> MediaSampleReaderNDK::createFromFd(int fd, size_t offset, in createFromFd() function in android::MediaSampleReaderNDK
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp608 asset(Asset::createFromFd(dup_fd.release(), nullptr, Asset::AccessMode::ACCESS_BUFFER)); in NativeOpenXmlAssetFd()