Lines Matching refs:AMessage
25 #include <media/stagefright/foundation/AMessage.h>
86 const sp<AMessage> ¬ify,
137 const sp<AMessage> ¬ifyConsumed) {
138 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, this);
149 sp<AMessage> msg = new AMessage(kWhatQueueEOS, this);
157 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this);
159 sp<AMessage> response;
192 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this);
193 sp<AMessage> response;
225 sp<AMessage> msg = new AMessage(kWhatConfigSync, this);
227 sp<AMessage> response;
244 sp<AMessage> msg = new AMessage(kWhatGetSyncSettings, this);
245 sp<AMessage> response;
282 sp<AMessage> msg = new AMessage(kWhatFlush, this);
291 (new AMessage(kWhatDisableOffloadAudio, this))->post();
295 (new AMessage(kWhatEnableOffloadAudio, this))->post();
299 (new AMessage(kWhatPause, this))->post();
303 (new AMessage(kWhatResume, this))->post();
307 sp<AMessage> msg = new AMessage(kWhatSetVideoFrameRate, this);
346 const sp<AMessage> &format,
351 sp<AMessage> msg = new AMessage(kWhatOpenAudioSink, this);
357 sp<AMessage> response;
372 sp<AMessage> msg = new AMessage(kWhatCloseAudioSink, this);
374 sp<AMessage> response;
378 void NuPlayer::Renderer::onMessageReceived(const sp<AMessage> &msg) {
382 sp<AMessage> format;
396 sp<AMessage> response = new AMessage;
414 sp<AMessage> response = new AMessage;
508 sp<AMessage> response = new AMessage;
520 sp<AMessage> response = new AMessage;
537 sp<AMessage> response = new AMessage;
552 sp<AMessage> response = new AMessage;
634 sp<AMessage> msg = new AMessage(kWhatDrainAudioQueue, this);
650 sp<AMessage> notify = mNotify->dup();
756 (new AMessage(kWhatStopAudioSink, this))->post();
995 sp<AMessage> msg = new AMessage(kWhatDrainVideoQueue, this);
1142 sp<AMessage> notify = mNotify->dup();
1148 sp<AMessage> notify = mNotify->dup();
1156 (new AMessage(kWhatAudioTearDown, this))->post();
1159 void NuPlayer::Renderer::onQueueBuffer(const sp<AMessage> &msg) {
1183 sp<AMessage> notifyConsumed;
1257 void NuPlayer::Renderer::onQueueEOS(const sp<AMessage> &msg) {
1289 void NuPlayer::Renderer::onFlush(const sp<AMessage> &msg) {
1382 sp<AMessage> notify = mNotify->dup();
1389 bool audio, const sp<AMessage> &msg) {
1397 sp<AMessage> notifyConsumed;
1592 sp<AMessage> notify = mNotify->dup();
1608 sp<AMessage> msg = new AMessage(kWhatAudioOffloadPauseTimeout, this);
1622 const sp<AMessage> &format,