Lines Matching full:amessage
50 #include <media/stagefright/foundation/AMessage.h>
140 explicit PostMessageAction(const sp<AMessage> &msg)
149 sp<AMessage> mMessage;
223 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this);
225 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
254 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this);
257 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
299 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this);
301 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
322 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this);
323 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
340 sp<AMessage> msg = new AMessage(kWhatGetDefaultBufferingSettings, this);
341 sp<AMessage> response;
353 sp<AMessage> msg = new AMessage(kWhatSetBufferingSettings, this);
355 sp<AMessage> response;
366 (new AMessage(kWhatPrepare, this))->post();
371 sp<AMessage> msg = new AMessage(kWhatSetVideoSurface, this);
383 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, this);
389 (new AMessage(kWhatStart, this))->post();
401 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this);
403 sp<AMessage> response;
412 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this);
413 sp<AMessage> response;
425 sp<AMessage> msg = new AMessage(kWhatConfigSync, this);
427 sp<AMessage> response;
437 sp<AMessage> msg = new AMessage(kWhatGetSyncSettings, this);
438 sp<AMessage> response;
450 (new AMessage(kWhatPause, this))->post();
470 (new AMessage(kWhatReset, this))->post();
474 sp<AMessage> msg = new AMessage(kWhatSeek, this);
483 Parcel* reply, const sp<AMessage>& format) const {
533 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) {
572 sp<AMessage> response = new AMessage;
595 sp<AMessage> response = new AMessage;
640 sp<AMessage> response = new AMessage;
661 sp<AMessage> response = new AMessage;
698 sp<AMessage> info = mSource->getTrackInfo(trackIndex);
713 sp<AMessage> response = new AMessage;
884 sp<AMessage> params = new AMessage();
889 sp<AMessage> response = new AMessage;
912 sp<AMessage> response = new AMessage;
938 sp<AMessage> response = new AMessage;
958 sp<AMessage> response = new AMessage;
1045 sp<AMessage> reply;
1096 sp<AMessage> format;
1099 sp<AMessage> inputFormat =
1383 sp<AMessage> response = new AMessage;
1395 sp<AMessage> response = new AMessage;
1522 sp<AMessage> notify = new AMessage(kWhatRendererNotify, this);
1645 sp<AMessage> msg = new AMessage(kWhatScanSources, this);
1653 const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo) {
1711 void NuPlayer::determineAudioModeChange(const sp<AMessage> &audioFormat) {
1723 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */);
1758 sp<AMessage> format = mSource->getFormat(audio);
1775 sp<AMessage> ccNotify = new AMessage(kWhatClosedCaptionNotify, this);
1795 sp<AMessage> notify = new AMessage(kWhatAudioNotify, this);
1817 sp<AMessage> notify = new AMessage(kWhatVideoNotify, this);
1847 sp<AMessage> params = new AMessage();
1870 const sp<AMessage> &inputFormat,
1871 const sp<AMessage> &outputFormat) {
2012 bool audio, bool video, const sp<AMessage> &reply) {
2042 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, this);
2045 sp<AMessage> response;
2051 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, this);
2055 sp<AMessage> response;
2064 sp<AMessage> msg = new AMessage(kWhatSelectTrack, this);
2069 sp<AMessage> response;
2092 void NuPlayer::getStats(Vector<sp<AMessage> > *mTrackStats) {
2131 sp<AMessage> msg = new AMessage(kWhatPollDuration, this);
2318 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) {
2332 sp<AMessage> reply;
2435 sp<AMessage> format;
2549 sp<AMessage> reply;
2567 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) {
2696 sp<AMessage> msg = new AMessage(kWhatPrepareDrm, this);
2704 sp<AMessage> response;
2721 sp<AMessage> msg = new AMessage(kWhatReleaseDrm, this);
2723 sp<AMessage> response;
2736 status_t NuPlayer::onPrepareDrm(const sp<AMessage> &msg)
2826 sp<AMessage> NuPlayer::Source::getFormat(bool audio) {
2833 sp<AMessage> msg = new AMessage;
2842 sp<AMessage> notify = dupNotify();
2848 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) {
2849 sp<AMessage> notify = dupNotify();
2857 sp<AMessage> notify = dupNotify();
2867 sp<AMessage> notify = dupNotify();
2874 void NuPlayer::Source::notifyInstantiateSecureDecoders(const sp<AMessage> &reply) {
2875 sp<AMessage> notify = dupNotify();
2881 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) {