Home | History | Annotate | Download | only in nuplayer

Lines Matching refs:AMessage

46 #include <media/stagefright/foundation/AMessage.h>
134 PostMessageAction(const sp<AMessage> &msg)
143 sp<AMessage> mMessage;
211 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this);
213 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
241 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this);
244 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
278 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this);
280 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
297 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this);
298 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
313 (new AMessage(kWhatPrepare, this))->post();
318 sp<AMessage> msg = new AMessage(kWhatSetVideoSurface, this);
330 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, this);
336 (new AMessage(kWhatStart, this))->post();
348 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this);
350 sp<AMessage> response;
359 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this);
360 sp<AMessage> response;
372 sp<AMessage> msg = new AMessage(kWhatConfigSync, this);
374 sp<AMessage> response;
384 sp<AMessage> msg = new AMessage(kWhatGetSyncSettings, this);
385 sp<AMessage> response;
397 (new AMessage(kWhatPause, this))->post();
411 (new AMessage(kWhatReset, this))->post();
415 sp<AMessage> msg = new AMessage(kWhatSeek, this);
423 Parcel* reply, const sp<AMessage> format) const {
462 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) {
524 sp<AMessage> response = new AMessage;
545 sp<AMessage> response = new AMessage;
582 sp<AMessage> info = mSource->getTrackInfo(trackIndex);
597 sp<AMessage> response = new AMessage;
736 sp<AMessage> params = new AMessage();
742 sp<AMessage> response = new AMessage;
765 sp<AMessage> response = new AMessage;
791 sp<AMessage> response = new AMessage;
811 sp<AMessage> response = new AMessage;
894 sp<AMessage> reply;
945 sp<AMessage> format;
948 sp<AMessage> inputFormat =
1303 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */);
1311 sp<AMessage> notify = new AMessage(kWhatRendererNotify, this);
1431 sp<AMessage> msg = new AMessage(kWhatScanSources, this);
1438 void NuPlayer::tryOpenAudioSinkForOffload(const sp<AMessage> &format, bool hasVideo) {
1470 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */);
1480 sp<AMessage> format = mSource->getFormat(true /*audio*/);
1497 sp<AMessage> format = mSource->getFormat(audio);
1509 sp<AMessage> ccNotify = new AMessage(kWhatClosedCaptionNotify, this);
1529 sp<AMessage> notify = new AMessage(kWhatAudioNotify, this);
1542 sp<AMessage> notify = new AMessage(kWhatVideoNotify, this);
1589 const sp<AMessage> &inputFormat,
1590 const sp<AMessage> &outputFormat) {
1704 bool audio, bool video, const sp<AMessage> &reply) {
1734 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, this);
1737 sp<AMessage> response;
1743 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, this);
1747 sp<AMessage> response;
1756 sp<AMessage> msg = new AMessage(kWhatSelectTrack, this);
1761 sp<AMessage> response;
1784 void NuPlayer::getStats(Vector<sp<AMessage> > *mTrackStats) {
1823 sp<AMessage> msg = new AMessage(kWhatPollDuration, this);
1998 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) {
2012 sp<AMessage> reply;
2083 sp<AMessage> format;
2207 sp<AMessage> reply;
2225 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) {
2318 sp<AMessage> NuPlayer::Source::getFormat(bool audio) {
2325 sp<AMessage> msg = new AMessage;
2334 sp<AMessage> notify = dupNotify();
2340 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) {
2341 sp<AMessage> notify = dupNotify();
2348 sp<AMessage> notify = dupNotify();
2354 void NuPlayer::Source::notifyInstantiateSecureDecoders(const sp<AMessage> &reply) {
2355 sp<AMessage> notify = dupNotify();
2361 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) {