Lines Matching refs:AMessage
131 PostMessageAction(const sp<AMessage> &msg) in PostMessageAction()
140 sp<AMessage> mMessage;
202 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSourceAsync()
204 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync()
232 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSourceAsync()
235 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync()
269 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSourceAsync()
271 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync()
288 (new AMessage(kWhatPrepare, id()))->post(); in prepareAsync()
293 sp<AMessage> msg = new AMessage(kWhatSetVideoNativeWindow, id()); in setVideoSurfaceTextureAsync()
308 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, id()); in setAudioSink()
314 (new AMessage(kWhatStart, id()))->post(); in start()
318 (new AMessage(kWhatPause, id()))->post(); in pause()
332 (new AMessage(kWhatReset, id()))->post(); in resetAsync()
336 sp<AMessage> msg = new AMessage(kWhatSeek, id()); in seekToAsync()
344 Parcel* reply, const sp<AMessage> format) const { in writeTrackInfo()
371 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
433 sp<AMessage> response = new AMessage; in onMessageReceived()
454 sp<AMessage> response = new AMessage; in onMessageReceived()
491 sp<AMessage> info = mSource->getTrackInfo(trackIndex); in onMessageReceived()
506 sp<AMessage> response = new AMessage; in onMessageReceived()
633 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */); in onMessageReceived()
643 sp<AMessage> format = mSource->getFormat(true /*audio*/); in onMessageReceived()
695 sp<AMessage> reply; in onMessageReceived()
746 sp<AMessage> format; in onMessageReceived()
749 sp<AMessage> inputFormat = in onMessageReceived()
1038 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */); in onStart()
1047 sp<AMessage> notify = new AMessage(kWhatRendererNotify, id()); in onStart()
1161 sp<AMessage> msg = new AMessage(kWhatScanSources, id()); in postScanSources()
1168 void NuPlayer::tryOpenAudioSinkForOffload(const sp<AMessage> &format, bool hasVideo) { in tryOpenAudioSinkForOffload()
1193 sp<AMessage> format = mSource->getFormat(audio); in instantiateDecoder()
1203 sp<AMessage> ccNotify = new AMessage(kWhatClosedCaptionNotify, id()); in instantiateDecoder()
1218 sp<AMessage> notify = new AMessage(kWhatAudioNotify, id()); in instantiateDecoder()
1228 sp<AMessage> notify = new AMessage(kWhatVideoNotify, id()); in instantiateDecoder()
1275 const sp<AMessage> &inputFormat, in updateVideoSize()
1276 const sp<AMessage> &outputFormat) { in updateVideoSize()
1388 bool audio, bool video, const sp<AMessage> &reply) { in queueDecoderShutdown()
1419 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, id()); in getTrackInfo()
1422 sp<AMessage> response; in getTrackInfo()
1428 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, id()); in getSelectedTrack()
1432 sp<AMessage> response; in getSelectedTrack()
1441 sp<AMessage> msg = new AMessage(kWhatSelectTrack, id()); in selectTrack()
1446 sp<AMessage> response; in selectTrack()
1484 sp<AMessage> msg = new AMessage(kWhatPollDuration, id()); in schedulePollDuration()
1654 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
1714 sp<AMessage> format; in onSourceNotify()
1821 sp<AMessage> reply; in onSourceNotify()
1839 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
1919 sp<AMessage> NuPlayer::Source::getFormat(bool audio) { in getFormat()
1926 sp<AMessage> msg = new AMessage; in getFormat()
1935 sp<AMessage> notify = dupNotify(); in notifyFlagsChanged()
1941 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
1942 sp<AMessage> notify = dupNotify(); in notifyVideoSizeChanged()
1949 sp<AMessage> notify = dupNotify(); in notifyPrepared()
1955 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived() argument