Home
last modified time | relevance | path

Searched refs:IStreamListener (Results 1 – 8 of 8) 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";
55 virtual void setListener(const sp<IStreamListener> &listener) { in setListener()
98 interface_cast<IStreamListener>(data.readStrongBinder())); in onTransact()
140 struct BpStreamListener : public BpInterface<IStreamListener> {
142 : BpInterface<IStreamListener>(impl) { in BpStreamListener()
147 data.writeInterfaceToken(IStreamListener::getInterfaceDescriptor()); in queueBuffer()
157 data.writeInterfaceToken(IStreamListener::getInterfaceDescriptor()); in issueCommand()
179 CHECK_INTERFACE(IStreamListener, data, reply); in onTransact()
[all …]
/frameworks/av/include/media/
DIStreamSource.h27 struct IStreamListener;
32 virtual void setListener(const sp<IStreamListener> &listener) = 0;
47 struct IStreamListener : public IInterface { struct
96 struct BnStreamListener : public BnInterface<IStreamListener> { argument
/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/media/libmediaplayerservice/nuplayer/
DStreamingSource.cpp88 IStreamListener::kKeyDiscontinuityMask, &mask)) { in feedMoreTSData()
116 extra->setInt64(IStreamListener::kKeyMediaTimeUs, mediaTimeUs); in feedMoreTSData()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp224 IStreamListener::kKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity()
658 IStreamListener::kKeyResumeAtPTS, in signalDiscontinuity()
972 IStreamListener::kKeyMediaTimeUs, &mediaTimeUs)) { in signalDiscontinuity()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1155 extra->setInt64(IStreamListener::kKeyMediaTimeUs, 0); in extractAndQueueAccessUnitsFromTs()