Home
last modified time | relevance | path

Searched refs:addTrack (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp39 ssize_t addTrack(AMediaFormat* trackFormat) override { in addTrack() function in android::TestMuxer
299 EXPECT_EQ(writer->addTrack(mediaSource.mTrackFormats[0]), nullptr); in TEST_F()
318 EXPECT_EQ(writer->addTrack(nullptr), nullptr); in TEST_F()
329 EXPECT_NE(writer->addTrack(mediaSource.mTrackFormats[0]), nullptr); in TEST_F()
346 EXPECT_NE(writer->addTrack(mediaSource.mTrackFormats[0]), nullptr); in TEST_F()
363 EXPECT_EQ(writer->addTrack(mediaSource.mTrackFormats[0]), nullptr); in TEST_F()
379 auto sampleConsumer = writer->addTrack(videoFormat); in TEST_F()
404 sampleConsumers[trackIdx] = writer->addTrack(trackFormat); in TEST_F()
530 auto consumer = writer->addTrack(mediaSource.mTrackFormats[trackIndex]); in TEST_F()
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DMediaSampleWriter.h47 virtual ssize_t addTrack(AMediaFormat* trackFormat) = 0;
134 MediaSampleConsumerFunction addTrack(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/
DMediaResumeListenerTest.kt286 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
345 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
380 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
429 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
504 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
579 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
596 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
642 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
DResumeMediaBrowserTest.kt141 verify(callback).addTrack(eq(description), eq(component), eq(resumeBrowser)) in capture()
274 verify(callback).addTrack(eq(description), eq(component), eq(resumeBrowser)) in capture()
/frameworks/av/media/libaudiousecasevalidation/include/media/
DUsecaseLookup.h62 void addTrack(STREAMID streamId, PORTID portId);
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaMuxerBase.h59 virtual ssize_t addTrack(const sp<AMessage> &format) = 0;
DMediaMuxer.h67 ssize_t addTrack(const sp<AMessage> &format);
DMediaAppender.h52 ssize_t addTrack(const sp<AMessage> &format);
/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaSampleWriter.cpp32 ssize_t addTrack(AMediaFormat* trackFormat) override { in addTrack() function in android::DefaultMuxer
118 MediaSampleWriter::MediaSampleConsumerFunction MediaSampleWriter::addTrack( in addTrack() function in android::MediaSampleWriter
137 ssize_t trackIndexOrError = mMuxer->addTrack(trackFormatCopy); in addTrack()
/frameworks/av/media/libstagefright/webm/tests/
DWebmFrameThreadUnitTest.cpp96 void addTrack(bool isAudio, int32_t index);
144 void WebmFrameThreadUnitTest::addTrack(bool isAudio, int32_t index) { in addTrack() function in WebmFrameThreadUnitTest
179 ASSERT_NO_FATAL_FAILURE(addTrack(isAudio, index)); in createWebmThreads()
/frameworks/av/media/libaudiousecasevalidation/
DUsecaseLookup.cpp58 void UsecaseLookup::addTrack(STREAMID streamId, PORTID portId) { in addTrack() function in android::media::UsecaseLookup
DUsecaseValidator.cpp73 m_lookup.addTrack(streamId, portId); in startClient()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DMuxer.java44 int trackIndex = mMuxer.addTrack(trackFormat); in setUpMuxer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/resume/
DResumeMediaBrowser.java119 mCallback.addTrack(desc, mMediaBrowser.getServiceComponent(),
389 public void addTrack(MediaDescription track, ComponentName component, in addTrack() method in ResumeMediaBrowser.Callback
DMediaResumeListener.kt108 override fun addTrack( in addTrack() method
291 override fun addTrack( in tryUpdateResumptionList() method
/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp78 ssize_t ret = muxer->mImpl->addTrack(msg); in AMediaMuxer_addTrack()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordingMuxer.java70 int muxId = muxer.addTrack(extractor.getTrackFormat(i)); in mux()
DScreenInternalAudioRecorder.java271 mTrackId = mMuxer.addTrack(mCodec.getOutputFormat()); in writeOutput()
/frameworks/av/media/libstagefright/
DMediaAppender.cpp317 ssize_t muxIndex = mMuxer->addTrack(n.second); in start()
435 ssize_t MediaAppender::addTrack([[maybe_unused]] const sp<AMessage> &format) { in addTrack() function in android::MediaAppender
DMediaMuxer.cpp106 ssize_t MediaMuxer::addTrack(const sp<AMessage> &format) { in addTrack() function in android::MediaMuxer
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp66 jint trackIndex = muxer->addTrack(trackformat); in android_media_MediaMuxer_addTrack()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp148 ssize_t newTrackIndex = muxer->addTrack(format); in muxing()
/frameworks/av/media/libstagefright/tests/fuzzers/
DMediaMuxerFuzzer.cpp177 mMuxer->addTrack(fdp.ConsumeBool() ? format : nullptr); in LLVMFuzzerTestOneInput()
/frameworks/base/media/java/android/media/
DMediaMuxer.java635 public int addTrack(@NonNull MediaFormat format) { in addTrack() method in MediaMuxer
DSubtitleController.java325 public SubtitleTrack addTrack(MediaFormat format) { in addTrack() method in SubtitleController

12