Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DIStreamSource.cpp47 virtual void setListener(const sp<IStreamListener> &listener) { in setListener()
90 interface_cast<IStreamListener>(data.readStrongBinder())); in onTransact()
136 struct BpStreamListener : public BpInterface<IStreamListener> {
138 : BpInterface<IStreamListener>(impl) { in BpStreamListener()
143 data.writeInterfaceToken(IStreamListener::getInterfaceDescriptor()); in queueBuffer()
153 data.writeInterfaceToken(IStreamListener::getInterfaceDescriptor()); in issueCommand()
175 CHECK_INTERFACE(IStreamListener, data, reply); in onTransact()
185 CHECK_INTERFACE(IStreamListener, data, reply); in onTransact()
/frameworks/av/media/libmedia/include/media/
DIStreamSource.h27 struct IStreamListener;
32 virtual void setListener(const sp<IStreamListener> &listener) = 0;
47 struct IStreamListener : public IInterface { struct
69 struct BnStreamListener : public BnInterface<IStreamListener> { argument
/frameworks/av/cmds/stagefright/
Dstream.cpp53 virtual void setListener(const sp<IStreamListener> &listener);
66 sp<IStreamListener> mListener;
87 void MyStreamSource::setListener(const sp<IStreamListener> &listener) { in setListener()
108 extra->setInt32(IStreamListener::kKeyFormatChange, 0); in onBufferAvailable()
111 IStreamListener::DISCONTINUITY, false /* synchronous */, extra); in onBufferAvailable()
121 mListener->issueCommand(IStreamListener::EOS, false /* synchronous */); in onBufferAvailable()
133 virtual void setListener(const sp<IStreamListener> &listener);
145 sp<IStreamListener> mListener;
203 const sp<IStreamListener> &listener) { in setListener()
270 mListener->issueCommand(IStreamListener::EOS, false /* synchronous */); in onBufferAvailable()
/frameworks/wilhelm/src/android/
Dandroid_StreamPlayer.cpp62 void StreamSourceAppProxy::setListener(const sp<IStreamListener> &listener) { in setListener()
99 void StreamSourceAppProxy::receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg) { in receivedCmd_l()
156 receivedCmd_l(IStreamListener::EOS); in pullFromBuffQueue()
160 receivedCmd_l(IStreamListener::DISCONTINUITY); in pullFromBuffQueue()
165 receivedCmd_l(IStreamListener::DISCONTINUITY, msg /*msg*/); in pullFromBuffQueue()
172 receivedCmd_l(IStreamListener::DISCONTINUITY, msg /*msg*/); in pullFromBuffQueue()
179 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;