Lines Matching refs:AMessage

141     explicit PostMessageAction(const sp<AMessage> &msg)  in PostMessageAction()
150 sp<AMessage> mMessage;
226 sp<AMessage> notify = new AMessage(kWhatMediaClockNotify, this); in init()
231 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
233 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
262 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
265 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
307 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
309 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
330 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
331 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
348 sp<AMessage> msg = new AMessage(kWhatGetBufferingSettings, this); in getBufferingSettings()
349 sp<AMessage> response; in getBufferingSettings()
361 sp<AMessage> msg = new AMessage(kWhatSetBufferingSettings, this); in setBufferingSettings()
363 sp<AMessage> response; in setBufferingSettings()
374 (new AMessage(kWhatPrepare, this))->post(); in prepareAsync()
379 sp<AMessage> msg = new AMessage(kWhatSetVideoSurface, this); in setVideoSurfaceTextureAsync()
391 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, this); in setAudioSink()
397 (new AMessage(kWhatStart, this))->post(); in start()
409 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); in setPlaybackSettings()
411 sp<AMessage> response; in setPlaybackSettings()
420 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); in getPlaybackSettings()
421 sp<AMessage> response; in getPlaybackSettings()
433 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); in setSyncSettings()
435 sp<AMessage> response; in setSyncSettings()
445 sp<AMessage> msg = new AMessage(kWhatGetSyncSettings, this); in getSyncSettings()
446 sp<AMessage> response; in getSyncSettings()
458 (new AMessage(kWhatPause, this))->post(); in pause()
478 (new AMessage(kWhatReset, this))->post(); in resetAsync()
482 sp<AMessage> notify = new AMessage(kWhatNotifyTime, this); in notifyAt()
489 sp<AMessage> msg = new AMessage(kWhatSeek, this); in seekToAsync()
498 Parcel* reply, const sp<AMessage>& format) const { in writeTrackInfo()
548 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
587 sp<AMessage> response = new AMessage; in onMessageReceived()
610 sp<AMessage> response = new AMessage; in onMessageReceived()
655 sp<AMessage> response = new AMessage; in onMessageReceived()
687 sp<AMessage> response = new AMessage; in onMessageReceived()
724 sp<AMessage> info = mSource->getTrackInfo(trackIndex); in onMessageReceived()
739 sp<AMessage> response = new AMessage; in onMessageReceived()
911 sp<AMessage> params = new AMessage(); in onMessageReceived()
916 sp<AMessage> response = new AMessage; in onMessageReceived()
939 sp<AMessage> response = new AMessage; in onMessageReceived()
965 sp<AMessage> response = new AMessage; in onMessageReceived()
985 sp<AMessage> response = new AMessage; in onMessageReceived()
1072 sp<AMessage> reply; in onMessageReceived()
1123 sp<AMessage> format; in onMessageReceived()
1126 sp<AMessage> inputFormat = in onMessageReceived()
1425 sp<AMessage> response = new AMessage; in onMessageReceived()
1437 sp<AMessage> response = new AMessage; in onMessageReceived()
1582 sp<AMessage> notify = new AMessage(kWhatRendererNotify, this); in onStart()
1777 sp<AMessage> msg = new AMessage(kWhatScanSources, this); in postScanSources()
1785 const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo) { in tryOpenAudioSinkForOffload()
1858 void NuPlayer::determineAudioModeChange(const sp<AMessage> &audioFormat) { in determineAudioModeChange()
1870 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */); in determineAudioModeChange()
1905 sp<AMessage> format = mSource->getFormat(audio); in instantiateDecoder()
1922 sp<AMessage> ccNotify = new AMessage(kWhatClosedCaptionNotify, this); in instantiateDecoder()
1944 sp<AMessage> notify = new AMessage(kWhatAudioNotify, this); in instantiateDecoder()
1966 sp<AMessage> notify = new AMessage(kWhatVideoNotify, this); in instantiateDecoder()
1996 sp<AMessage> params = new AMessage(); in instantiateDecoder()
2019 const sp<AMessage> &inputFormat, in updateVideoSize()
2020 const sp<AMessage> &outputFormat) { in updateVideoSize()
2161 bool audio, bool video, const sp<AMessage> &reply) { in queueDecoderShutdown()
2191 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, this); in getTrackInfo()
2194 sp<AMessage> response; in getTrackInfo()
2200 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, this); in getSelectedTrack()
2204 sp<AMessage> response; in getSelectedTrack()
2213 sp<AMessage> msg = new AMessage(kWhatSelectTrack, this); in selectTrack()
2218 sp<AMessage> response; in selectTrack()
2241 void NuPlayer::getStats(Vector<sp<AMessage> > *trackStats) { in getStats()
2282 sp<AMessage> msg = new AMessage(kWhatPollDuration, this); in schedulePollDuration()
2472 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
2486 sp<AMessage> reply; in onSourceNotify()
2589 sp<AMessage> format; in onSourceNotify()
2705 sp<AMessage> reply; in onSourceNotify()
2723 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
2852 sp<AMessage> msg = new AMessage(kWhatPrepareDrm, this); in prepareDrm()
2860 sp<AMessage> response; in prepareDrm()
2877 sp<AMessage> msg = new AMessage(kWhatReleaseDrm, this); in releaseDrm()
2879 sp<AMessage> response; in releaseDrm()
2892 status_t NuPlayer::onPrepareDrm(const sp<AMessage> &msg) in onPrepareDrm()
2982 sp<AMessage> NuPlayer::Source::getFormat(bool audio) { in getFormat()
2989 sp<AMessage> msg = new AMessage; in getFormat()
2998 sp<AMessage> notify = dupNotify(); in notifyFlagsChanged()
3004 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
3005 sp<AMessage> notify = dupNotify(); in notifyVideoSizeChanged()
3013 sp<AMessage> notify = dupNotify(); in notifyPrepared()
3023 sp<AMessage> notify = dupNotify(); in notifyDrmInfo()
3030 void NuPlayer::Source::notifyInstantiateSecureDecoders(const sp<AMessage> &reply) { in notifyInstantiateSecureDecoders()
3031 sp<AMessage> notify = dupNotify(); in notifyInstantiateSecureDecoders()
3037 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived() argument