Lines Matching refs:AMessage
27 #include <media/stagefright/foundation/AMessage.h>
31 NuPlayer::DecoderBase::DecoderBase(const sp<AMessage> ¬ify)
35 mStats(new AMessage),
51 const sp<AMessage> &msg, sp<AMessage> *response) {
65 void NuPlayer::DecoderBase::configure(const sp<AMessage> &format) {
66 sp<AMessage> msg = new AMessage(kWhatConfigure, this);
75 void NuPlayer::DecoderBase::setParameters(const sp<AMessage> ¶ms) {
76 sp<AMessage> msg = new AMessage(kWhatSetParameters, this);
82 sp<AMessage> msg = new AMessage(kWhatSetRenderer, this);
88 sp<AMessage> msg = new AMessage(kWhatPause, this);
90 sp<AMessage> response;
95 sp<AMessage> msg = new AMessage(kWhatGetInputBuffers, this);
98 sp<AMessage> response;
103 (new AMessage(kWhatFlush, this))->post();
107 sp<AMessage> msg = new AMessage(kWhatResume, this);
113 (new AMessage(kWhatShutdown, this))->post();
125 sp<AMessage> msg = new AMessage(kWhatRequestInputBuffers, this);
130 void NuPlayer::DecoderBase::onMessageReceived(const sp<AMessage> &msg) {
135 sp<AMessage> format;
143 sp<AMessage> params;
164 (new AMessage)->postReply(replyID);
178 (new AMessage)->postReply(replyID);
224 sp<AMessage> notify = mNotify->dup();