• Home
  • Raw
  • Download

Lines Matching refs:AMessage

116     PostMessageAction(const sp<AMessage> &msg)  in PostMessageAction()
125 sp<AMessage> mMessage;
190 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSourceAsync()
192 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync()
220 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSourceAsync()
223 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync()
257 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSourceAsync()
259 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync()
276 (new AMessage(kWhatPrepare, id()))->post(); in prepareAsync()
281 sp<AMessage> msg = new AMessage(kWhatSetVideoNativeWindow, id()); in setVideoSurfaceTextureAsync()
296 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, id()); in setAudioSink()
302 (new AMessage(kWhatStart, id()))->post(); in start()
306 (new AMessage(kWhatPause, id()))->post(); in pause()
310 (new AMessage(kWhatResume, id()))->post(); in resume()
324 (new AMessage(kWhatReset, id()))->post(); in resetAsync()
328 sp<AMessage> msg = new AMessage(kWhatSeek, id()); in seekToAsync()
336 Parcel* reply, const sp<AMessage> format) const { in writeTrackInfo()
363 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
425 sp<AMessage> response = new AMessage; in onMessageReceived()
446 sp<AMessage> response = new AMessage; in onMessageReceived()
481 sp<AMessage> info = mSource->getTrackInfo(trackIndex); in onMessageReceived()
496 sp<AMessage> response = new AMessage; in onMessageReceived()
613 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */); in onMessageReceived()
622 sp<AMessage> notify = new AMessage(kWhatRendererNotify, id()); in onMessageReceived()
669 sp<AMessage> format = mSource->getFormat(true /*audio*/); in onMessageReceived()
721 sp<AMessage> reply; in onMessageReceived()
762 sp<AMessage> format; in onMessageReceived()
769 sp<AMessage> inputFormat = in onMessageReceived()
1106 sp<AMessage> msg = new AMessage(kWhatScanSources, id()); in postScanSources()
1113 void NuPlayer::openAudioSink(const sp<AMessage> &format, bool offloadOnly) { in openAudioSink()
1150 sp<AMessage> format = mSource->getFormat(audio); in instantiateDecoder()
1161 sp<AMessage> ccNotify = new AMessage(kWhatClosedCaptionNotify, id()); in instantiateDecoder()
1170 sp<AMessage> notify = new AMessage(kWhatAudioNotify, id()); in instantiateDecoder()
1180 sp<AMessage> notify = new AMessage(kWhatVideoNotify, id()); in instantiateDecoder()
1214 status_t NuPlayer::feedDecoderInputData(bool audio, const sp<AMessage> &msg) { in feedDecoderInputData()
1215 sp<AMessage> reply; in feedDecoderInputData()
1280 sp<AMessage> extra; in feedDecoderInputData()
1304 sp<AMessage> newFormat = mSource->getFormat(audio); in feedDecoderInputData()
1437 void NuPlayer::renderBuffer(bool audio, const sp<AMessage> &msg) { in renderBuffer()
1440 sp<AMessage> reply; in renderBuffer()
1490 const sp<AMessage> &inputFormat, in updateVideoSize()
1491 const sp<AMessage> &outputFormat) { in updateVideoSize()
1570 bool audio, bool needShutdown, const sp<AMessage> &newFormat) { in flushDecoder()
1609 bool audio, const sp<AMessage> &format) { in updateDecoderFormatWithoutFlush()
1623 bool audio, bool video, const sp<AMessage> &reply) { in queueDecoderShutdown()
1652 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, id()); in getTrackInfo()
1655 sp<AMessage> response; in getTrackInfo()
1661 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, id()); in getSelectedTrack()
1665 sp<AMessage> response; in getSelectedTrack()
1674 sp<AMessage> msg = new AMessage(kWhatSelectTrack, id()); in selectTrack()
1678 sp<AMessage> response; in selectTrack()
1711 sp<AMessage> msg = new AMessage(kWhatPollDuration, id()); in schedulePollDuration()
1874 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
1930 sp<AMessage> format; in onSourceNotify()
2006 sp<AMessage> reply; in onSourceNotify()
2024 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
2104 sp<AMessage> NuPlayer::Source::getFormat(bool audio) { in getFormat()
2111 sp<AMessage> msg = new AMessage; in getFormat()
2120 sp<AMessage> notify = dupNotify(); in notifyFlagsChanged()
2126 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
2127 sp<AMessage> notify = dupNotify(); in notifyVideoSizeChanged()
2134 sp<AMessage> notify = dupNotify(); in notifyPrepared()
2140 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived() argument