Lines Matching refs:sp
34 const sp<CallbackProtector> &callbackProtector,
35 // sp<StreamPlayer> would cause StreamPlayer's destructor to run during it's own
36 // construction. If you pass in a sp<> to 'this' inside a constructor, then first the
39 StreamPlayer * /* const sp<StreamPlayer> & */ player) :
61 void StreamSourceAppProxy::setListener(const sp<IStreamListener> &listener) {
68 void StreamSourceAppProxy::setBuffers(const Vector<sp<IMemory> > &buffers) {
84 sp<IMemory> mem = mBuffers.itemAt(index);
95 void StreamSourceAppProxy::receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg) {
110 // Force binder to push the decremented reference count for sp<IStreamListener>.
111 // mediaserver and client both have sp<> to the other. When you decrement an sp<>
158 sp<AMessage> msg = new AMessage();
164 sp<AMessage> msg = new AMessage();
171 sp<AMessage> msg = new AMessage();
183 const sp<StreamPlayer> player(mPlayer.promote());
198 sp<IMemory> mem = mBuffers.itemAt(bufferId);
262 const sp<StreamPlayer> player(mPlayer.promote());
296 IAndroidBufferQueue *androidBufferQueue, const sp<CallbackProtector> &callbackProtector) :
313 void StreamPlayer::onMessageReceived(const sp<AMessage> &msg) {
386 sp<IMediaPlayerService> mediaPlayerService(getMediaPlayerService());