Searched refs:sourceFd (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libmediatranscoding/transcoder/tests/ |
D | VideoTrackTranscoderTests.cpp | 48 const int sourceFd = open(sourcePath, O_RDONLY); in SetUp() local 49 ASSERT_GT(sourceFd, 0); in SetUp() 51 const off_t fileSize = lseek(sourceFd, 0, SEEK_END); in SetUp() 52 lseek(sourceFd, 0, SEEK_SET); in SetUp() 54 mMediaSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0, fileSize); in SetUp() 56 close(sourceFd); in SetUp()
|
D | MediaTrackTranscoderTests.cpp | 68 const int sourceFd = open(sourcePath, O_RDONLY); in initSampleReader() local 69 ASSERT_GT(sourceFd, 0); in initSampleReader() 71 const size_t fileSize = lseek(sourceFd, 0, SEEK_END); in initSampleReader() 72 lseek(sourceFd, 0, SEEK_SET); in initSampleReader() 74 mMediaSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0 /* offset */, fileSize); in initSampleReader() 76 close(sourceFd); in initSampleReader()
|
D | MediaSampleWriterTests.cpp | 135 int sourceFd = open(sourcePath, O_RDONLY); in init() local 136 ASSERT_GT(sourceFd, 0); in init() 138 off_t fileSize = lseek(sourceFd, 0, SEEK_END); in init() 139 lseek(sourceFd, 0, SEEK_SET); in init() 141 media_status_t status = AMediaExtractor_setDataSourceFd(mExtractor, sourceFd, 0, fileSize); in init() 143 close(sourceFd); in init() 556 int sourceFd = open(destinationPath, O_RDONLY); in TEST_F() local 557 ASSERT_GT(sourceFd, 0); in TEST_F() 559 off_t fileSize = lseek(sourceFd, 0, SEEK_END); in TEST_F() 560 lseek(sourceFd, 0, SEEK_SET); in TEST_F() [all …]
|
D | MediaSampleReaderNDKTests.cpp | 87 SampleAccessTester(int sourceFd, size_t fileSize) { in SampleAccessTester() argument 88 mSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0, fileSize); in SampleAccessTester()
|
/frameworks/av/media/libmediatranscoding/include/media/ |
D | TranscodingRequest.h | 48 sourceFd = ndk::ScopedFileDescriptor(dup(parcel.sourceFd.get())); in setTo()
|
/frameworks/av/media/libmediatranscoding/aidl/android/media/ |
D | TranscodingRequestParcel.aidl | 42 @nullable ParcelFileDescriptor sourceFd;
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_ZygoteCommandBuffer.cpp | 56 NativeCommandBuffer(int sourceFd): mEnd(0), mNext(0), mLinesLeft(0), mFd(sourceFd) {} in NativeCommandBuffer() argument
|
/frameworks/av/media/libmediatranscoding/ |
D | TranscoderWrapper.cpp | 378 int srcFdInt = request.sourceFd.get(); in setupTranscoder()
|
/frameworks/base/apex/media/framework/java/android/media/ |
D | MediaTranscodingManager.java | 653 parcel.sourceFd = mSourceFileDescriptor; in writeToParcel()
|