Home
last modified time | relevance | path

Searched refs:IStreamListener (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libmedia/
DIStreamSource.cpp30 const char *const IStreamListener::kKeyResumeAtPTS = "resume-at-PTS";
33 const char *const IStreamListener::kKeyDiscontinuityMask = "discontinuity-mask";
36 const char *const IStreamListener::kKeyMediaTimeUs = "media-time-us";
39 const char *const IStreamListener::kKeyRecentMediaTimeUs = "recent-media-time-us";
58 virtual void setListener(const sp<IStreamListener> &listener) { in setListener()
101 interface_cast<IStreamListener>(data.readStrongBinder())); in onTransact()
147 struct BpStreamListener : public BpInterface<IStreamListener> {
149 : BpInterface<IStreamListener>(impl) { in BpStreamListener()
154 data.writeInterfaceToken(IStreamListener::getInterfaceDescriptor()); in queueBuffer()
164 data.writeInterfaceToken(IStreamListener::getInterfaceDescriptor()); in issueCommand()
[all …]
/frameworks/av/cmds/stagefright/
Dstream.cpp50 virtual void setListener(const sp<IStreamListener> &listener);
63 sp<IStreamListener> mListener;
84 void MyStreamSource::setListener(const sp<IStreamListener> &listener) { in setListener()
105 extra->setInt32(IStreamListener::kKeyFormatChange, 0); in onBufferAvailable()
108 IStreamListener::DISCONTINUITY, false /* synchronous */, extra); in onBufferAvailable()
118 mListener->issueCommand(IStreamListener::EOS, false /* synchronous */); in onBufferAvailable()
130 virtual void setListener(const sp<IStreamListener> &listener);
142 sp<IStreamListener> mListener;
194 const sp<IStreamListener> &listener) { in setListener()
261 mListener->issueCommand(IStreamListener::EOS, false /* synchronous */); in onBufferAvailable()
/frameworks/wilhelm/src/android/
Dandroid_StreamPlayer.cpp61 void StreamSourceAppProxy::setListener(const sp<IStreamListener> &listener) { in setListener()
98 void StreamSourceAppProxy::receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg) { in receivedCmd_l()
155 receivedCmd_l(IStreamListener::EOS); in pullFromBuffQueue()
159 receivedCmd_l(IStreamListener::DISCONTINUITY); in pullFromBuffQueue()
162 msg->setInt64(IStreamListener::kKeyResumeAtPTS, in pullFromBuffQueue()
164 receivedCmd_l(IStreamListener::DISCONTINUITY, msg /*msg*/); in pullFromBuffQueue()
169 IStreamListener::kKeyDiscontinuityMask, in pullFromBuffQueue()
171 receivedCmd_l(IStreamListener::DISCONTINUITY, msg /*msg*/); in pullFromBuffQueue()
176 IStreamListener::kKeyDiscontinuityMask, in pullFromBuffQueue()
178 receivedCmd_l(IStreamListener::DISCONTINUITY, msg /*msg*/); in pullFromBuffQueue()
Dandroid_StreamPlayer.h43 virtual void setListener(const sp<IStreamListener> &listener); // mediaserver calls exactly once
51 void receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg = NULL);
63 sp<IStreamListener> mListener;
/frameworks/av/include/media/
DIStreamSource.h27 struct IStreamListener;
32 virtual void setListener(const sp<IStreamListener> &listener) = 0;
47 struct IStreamListener : public IInterface { struct
103 struct BnStreamListener : public BnInterface<IStreamListener> { argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
DStreamingSource.cpp106 IStreamListener::kKeyDiscontinuityMask, &mask)) { in onReadBuffer()
134 extra->setInt64(IStreamListener::kKeyMediaTimeUs, mediaTimeUs); in onReadBuffer()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp271 IStreamListener::kKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity()
800 IStreamListener::kKeyResumeAtPTS, in signalDiscontinuity()
1186 if (extra->findInt64(IStreamListener::kKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity()
1191 IStreamListener::kKeyRecentMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity()
DMPEG2TSExtractor.cpp396 extra->setInt64(IStreamListener::kKeyMediaTimeUs, actualSeekTimeUs); in queueDiscontinuityForSeek()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1616 extra->setInt64(IStreamListener::kKeyMediaTimeUs, 0); in extractAndQueueAccessUnitsFromTs()
1621 extra->setInt64(IStreamListener::kKeyRecentMediaTimeUs, mStartTimeUs); in extractAndQueueAccessUnitsFromTs()