Lines Matching refs:AMessage
37 const sp<AMessage> ¬ify, in Decoder()
64 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse()
78 void NuPlayer::Decoder::rememberCodecSpecificData(const sp<AMessage> &format) { in rememberCodecSpecificData()
91 void NuPlayer::Decoder::onConfigure(const sp<AMessage> &format) { in onConfigure()
198 sp<AMessage> reply = new AMessage(kWhatCodecNotify, id()); in requestCodecNotification()
204 bool NuPlayer::Decoder::isStaleReply(const sp<AMessage> &msg) { in isStaleReply()
214 void NuPlayer::Decoder::configure(const sp<AMessage> &format) { in configure()
215 sp<AMessage> msg = new AMessage(kWhatConfigure, id()); in configure()
220 void NuPlayer::Decoder::signalUpdateFormat(const sp<AMessage> &format) { in signalUpdateFormat()
221 sp<AMessage> msg = new AMessage(kWhatUpdateFormat, id()); in signalUpdateFormat()
227 sp<AMessage> msg = new AMessage(kWhatGetInputBuffers, id()); in getInputBuffers()
230 sp<AMessage> response; in getInputBuffers()
242 sp<AMessage> notify = mNotify->dup(); in handleError()
270 sp<AMessage> reply = new AMessage(kWhatInputBufferFilled, id()); in handleAnInputBuffer()
284 sp<AMessage> msg = *mPendingInputMessages.begin(); in handleAnInputBuffer()
295 sp<AMessage> notify = mNotify->dup(); in handleAnInputBuffer()
303 bool android::NuPlayer::Decoder::onInputBufferFilled(const sp<AMessage> &msg) { in onInputBufferFilled()
448 sp<AMessage> format = new AMessage(); in handleAnOutputBuffer()
457 sp<AMessage> notify = mNotify->dup(); in handleAnOutputBuffer()
484 sp<AMessage> reply = new AMessage(kWhatRenderBuffer, id()); in handleAnOutputBuffer()
488 sp<AMessage> notify = mNotify->dup(); in handleAnOutputBuffer()
498 sp<AMessage> notify = mNotify->dup(); in handleAnOutputBuffer()
506 void NuPlayer::Decoder::onRenderBuffer(const sp<AMessage> &msg) { in onRenderBuffer()
541 sp<AMessage> notify = mNotify->dup(); in onFlush()
579 sp<AMessage> notify = mNotify->dup(); in onShutdown()
585 void NuPlayer::Decoder::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
591 sp<AMessage> format; in onMessageReceived()
599 sp<AMessage> format; in onMessageReceived()
618 (new AMessage)->postReply(replyID); in onMessageReceived()
668 sp<AMessage> format; in onMessageReceived()
694 void NuPlayer::Decoder::signalFlush(const sp<AMessage> &format) { in signalFlush()
695 sp<AMessage> msg = new AMessage(kWhatFlush, id()); in signalFlush()
703 (new AMessage(kWhatResume, id()))->post(); in signalResume()
707 (new AMessage(kWhatShutdown, id()))->post(); in initiateShutdown()
710 bool NuPlayer::Decoder::supportsSeamlessAudioFormatChange(const sp<AMessage> &targetFormat) const { in supportsSeamlessAudioFormatChange()
744 bool NuPlayer::Decoder::supportsSeamlessFormatChange(const sp<AMessage> &targetFormat) const { in supportsSeamlessFormatChange()
858 NuPlayer::CCDecoder::CCDecoder(const sp<AMessage> ¬ify) in CCDecoder()
871 sp<AMessage> NuPlayer::CCDecoder::getTrackInfo(size_t index) const { in getTrackInfo()
876 sp<AMessage> format = new AMessage(); in getTrackInfo()
1059 sp<AMessage> msg = mNotify->dup(); in decode()
1089 sp<AMessage> msg = mNotify->dup(); in display()