Home
last modified time | relevance | path

Searched refs:mDataSourceFd (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/ndk/fuzzer/
Dndk_extractor_fuzzer.cpp36 mDataSourceFd = mkstemp(mTestPath); in NdkExtractorFuzzer()
40 write(mDataSourceFd, dataBuffer.data(), dataBuffer.size()); in NdkExtractorFuzzer()
44 close(mDataSourceFd); in ~NdkExtractorFuzzer()
52 int32_t mDataSourceFd = 0; member in NdkExtractorFuzzer
64 AMediaExtractor_setDataSourceFd(mMediaExtractor, mDataSourceFd, 0, mDataSize); in process()
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmetadataretriever_fuzzer.cpp101 int32_t mDataSourceFd; member in MetadataRetrieverFuzzer
145 mDataSourceFd = fileno(fp.get()); in setDataSource()
146 if (mDataSourceFd < 0) { in setDataSource()
169 write(mDataSourceFd, data, size); in setDataSource()
171 status = mMdRetriever->setDataSource(mDataSourceFd, 0, size); in setDataSource()
175 write(mDataSourceFd, data, size); in setDataSource()
177 sp<DataSource> dataSource = new FileSource(dup(mDataSourceFd), 0, size); in setDataSource()
Dmediaplayer_fuzzer.cpp232 : mFdp(data, size), mDataSourceFd(memfd_create("InputFile", MFD_ALLOW_SEALING)){}; in MediaPlayerServiceFuzzer()
233 ~MediaPlayerServiceFuzzer() { close(mDataSourceFd); }; in ~MediaPlayerServiceFuzzer()
238 const int32_t mDataSourceFd; member in MediaPlayerServiceFuzzer
284 write(mDataSourceFd, data, size); in setDataSource()
285 status = mMediaPlayer->setDataSource(mDataSourceFd, 0, size); in setDataSource()
294 write(mDataSourceFd, data, size); in setDataSource()
296 sp<DataSource> dataSource = new FileSource(dup(mDataSourceFd), 0, size); in setDataSource()
/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtp_writer_fuzzer.cpp106 : mDataSourceFd(memfd_create("InputFile", MFD_ALLOW_SEALING)), mFdp(data, size) {} in ARTPWriterFuzzer()
107 ~ARTPWriterFuzzer() { close(mDataSourceFd); } in ~ARTPWriterFuzzer()
112 const int32_t mDataSourceFd; member in ARTPWriterFuzzer
121 mDataSourceFd, localIp, mFdp.ConsumeIntegral<uint16_t>() /* localPort */, remoteIp, in createARTPWriter()
128 mArtpWriter = sp<ARTPWriter>::make(mDataSourceFd); in process()