Home
last modified time | relevance | path

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

12

/frameworks/av/media/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/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/resume/
DMediaResumeListenerTest.kt284 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
342 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
377 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
425 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
500 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
575 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
592 callbackCaptor.value.addTrack(description, component, resumeBrowser) in capture()
DResumeMediaBrowserTest.kt140 verify(callback).addTrack(eq(description), eq(component), eq(resumeBrowser)) in capture()
273 verify(callback).addTrack(eq(description), eq(component), eq(resumeBrowser)) in capture()
/frameworks/av/media/libmediatranscoding/transcoder/include/media/
DMediaSampleWriter.h47 virtual ssize_t addTrack(AMediaFormat* trackFormat) = 0;
134 MediaSampleConsumerFunction addTrack(
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaMuxerBase.h59 virtual ssize_t addTrack(const sp<AMessage> &format) = 0;
DMediaMuxer.h63 ssize_t addTrack(const sp<AMessage> &format);
DMediaAppender.h52 ssize_t addTrack(const sp<AMessage> &format);
/frameworks/av/media/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()
DMediaTranscoder.cpp157 auto consumer = mSampleWriter->addTrack(transcoder->getOutputFormat()); in onTrackFormatAvailable()
/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/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DMuxer.java44 int trackIndex = mMuxer.addTrack(trackFormat); in setUpMuxer()
/frameworks/av/media/libstagefright/tests/fuzzers/
DMediaMuxerFuzzer.cpp66 mMuxer->addTrack(a_format); in LLVMFuzzerTestOneInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/resume/
DResumeMediaBrowser.java114 mCallback.addTrack(desc, mMediaBrowser.getServiceComponent(),
376 public void addTrack(MediaDescription track, ComponentName component, in addTrack() method in ResumeMediaBrowser.Callback
DMediaResumeListener.kt108 override fun addTrack( in addTrack() method
277 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.java71 int muxId = muxer.addTrack(extractor.getTrackFormat(i)); in mux()
DScreenInternalAudioRecorder.java271 mTrackId = mMuxer.addTrack(mCodec.getOutputFormat()); in writeOutput()
/frameworks/av/media/libstagefright/
DMediaAppender.cpp313 ssize_t muxIndex = mMuxer->addTrack(n.second); in start()
431 ssize_t MediaAppender::addTrack([[maybe_unused]] const sp<AMessage> &format) { in addTrack() function in android::MediaAppender
DMediaMuxer.cpp82 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.cpp144 ssize_t newTrackIndex = muxer->addTrack(format); in muxing()
/frameworks/base/media/java/android/media/
DMediaMuxer.java632 public int addTrack(@NonNull MediaFormat format) { in addTrack() method in MediaMuxer
DSubtitleController.java325 public SubtitleTrack addTrack(MediaFormat format) { in addTrack() method in SubtitleController
DMediaPlayer.java2849 private int addTrack() { in addSubtitleSource()
2854 SubtitleTrack track = mSubtitleController.addTrack(fFormat); in addSubtitleSource()
2884 int res = addTrack(); in addSubtitleSource()
2920 SubtitleTrack track = mSubtitleController.addTrack( in populateInbandTracks()
3073 final SubtitleTrack track = mSubtitleController.addTrack(fFormat); in addTimedTextSource()
3088 private int addTrack() { in addTimedTextSource()
3128 int res = addTrack(); in addTimedTextSource()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMediaCodecSurfaceEncoder.java366 mTrackID = mMuxer.addTrack(mEncoder.getOutputFormat()); in dequeueEncoderOutput()

12