Lines Matching refs:AMessage
142 explicit PostMessageAction(const sp<AMessage> &msg) in PostMessageAction()
151 sp<AMessage> mMessage;
227 sp<AMessage> notify = new AMessage(kWhatMediaClockNotify, this); in init()
232 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
234 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
263 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
266 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
308 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
310 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
331 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
332 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
349 sp<AMessage> msg = new AMessage(kWhatGetBufferingSettings, this); in getBufferingSettings()
350 sp<AMessage> response; in getBufferingSettings()
362 sp<AMessage> msg = new AMessage(kWhatSetBufferingSettings, this); in setBufferingSettings()
364 sp<AMessage> response; in setBufferingSettings()
374 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
376 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
387 (new AMessage(kWhatPrepare, this))->post(); in prepareAsync()
392 sp<AMessage> msg = new AMessage(kWhatSetVideoSurface, this); in setVideoSurfaceTextureAsync()
404 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, this); in setAudioSink()
410 (new AMessage(kWhatStart, this))->post(); in start()
422 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); in setPlaybackSettings()
424 sp<AMessage> response; in setPlaybackSettings()
433 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); in getPlaybackSettings()
434 sp<AMessage> response; in getPlaybackSettings()
446 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); in setSyncSettings()
448 sp<AMessage> response; in setSyncSettings()
458 sp<AMessage> msg = new AMessage(kWhatGetSyncSettings, this); in getSyncSettings()
459 sp<AMessage> response; in getSyncSettings()
471 (new AMessage(kWhatPause, this))->post(); in pause()
491 (new AMessage(kWhatReset, this))->post(); in resetAsync()
495 sp<AMessage> notify = new AMessage(kWhatNotifyTime, this); in notifyAt()
502 sp<AMessage> msg = new AMessage(kWhatSeek, this); in seekToAsync()
511 Parcel* reply, const sp<AMessage>& format) const { in writeTrackInfo()
568 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
607 sp<AMessage> response = new AMessage; in onMessageReceived()
630 sp<AMessage> response = new AMessage; in onMessageReceived()
675 sp<AMessage> response = new AMessage; in onMessageReceived()
707 sp<AMessage> response = new AMessage; in onMessageReceived()
744 sp<AMessage> info = mSource->getTrackInfo(trackIndex); in onMessageReceived()
759 sp<AMessage> response = new AMessage; in onMessageReceived()
933 sp<AMessage> params = new AMessage(); in onMessageReceived()
938 sp<AMessage> response = new AMessage; in onMessageReceived()
961 sp<AMessage> response = new AMessage; in onMessageReceived()
987 sp<AMessage> response = new AMessage; in onMessageReceived()
1007 sp<AMessage> response = new AMessage; in onMessageReceived()
1094 sp<AMessage> reply; in onMessageReceived()
1145 sp<AMessage> format; in onMessageReceived()
1148 sp<AMessage> inputFormat = in onMessageReceived()
1455 sp<AMessage> response = new AMessage; in onMessageReceived()
1467 sp<AMessage> response = new AMessage; in onMessageReceived()
1612 sp<AMessage> notify = new AMessage(kWhatRendererNotify, this); in onStart()
1813 sp<AMessage> msg = new AMessage(kWhatScanSources, this); in postScanSources()
1821 const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo) { in tryOpenAudioSinkForOffload()
1894 void NuPlayer::determineAudioModeChange(const sp<AMessage> &audioFormat) { in determineAudioModeChange()
1906 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */); in determineAudioModeChange()
1941 sp<AMessage> format = mSource->getFormat(audio); in instantiateDecoder()
1963 sp<AMessage> ccNotify = new AMessage(kWhatClosedCaptionNotify, this); in instantiateDecoder()
1987 sp<AMessage> notify = new AMessage(kWhatAudioNotify, this); in instantiateDecoder()
2009 sp<AMessage> notify = new AMessage(kWhatVideoNotify, this); in instantiateDecoder()
2039 sp<AMessage> params = new AMessage(); in instantiateDecoder()
2062 const sp<AMessage> &inputFormat, in updateVideoSize()
2063 const sp<AMessage> &outputFormat) { in updateVideoSize()
2207 bool audio, bool video, const sp<AMessage> &reply) { in queueDecoderShutdown()
2233 sp<AMessage> params = new AMessage(); in setVideoScalingMode()
2242 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, this); in getTrackInfo()
2245 sp<AMessage> response; in getTrackInfo()
2251 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, this); in getSelectedTrack()
2255 sp<AMessage> response; in getSelectedTrack()
2264 sp<AMessage> msg = new AMessage(kWhatSelectTrack, this); in selectTrack()
2269 sp<AMessage> response; in selectTrack()
2292 void NuPlayer::getStats(Vector<sp<AMessage> > *trackStats) { in getStats()
2333 sp<AMessage> msg = new AMessage(kWhatPollDuration, this); in schedulePollDuration()
2523 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
2537 sp<AMessage> reply; in onSourceNotify()
2640 sp<AMessage> format; in onSourceNotify()
2756 sp<AMessage> reply; in onSourceNotify()
2771 sp<AMessage> IMSRxNotice; in onSourceNotify()
2782 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
2879 void NuPlayer::sendIMSRxNotice(const sp<AMessage> &msg) { in sendIMSRxNotice()
3061 sp<AMessage> msg = new AMessage(kWhatPrepareDrm, this); in prepareDrm()
3069 sp<AMessage> response; in prepareDrm()
3086 sp<AMessage> msg = new AMessage(kWhatReleaseDrm, this); in releaseDrm()
3088 sp<AMessage> response; in releaseDrm()
3101 status_t NuPlayer::onPrepareDrm(const sp<AMessage> &msg) in onPrepareDrm()
3191 sp<AMessage> NuPlayer::Source::getFormat(bool audio) { in getFormat()
3198 sp<AMessage> msg = new AMessage; in getFormat()
3207 sp<AMessage> notify = dupNotify(); in notifyFlagsChanged()
3213 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
3214 sp<AMessage> notify = dupNotify(); in notifyVideoSizeChanged()
3222 sp<AMessage> notify = dupNotify(); in notifyPrepared()
3232 sp<AMessage> notify = dupNotify(); in notifyDrmInfo()
3239 void NuPlayer::Source::notifyInstantiateSecureDecoders(const sp<AMessage> &reply) { in notifyInstantiateSecureDecoders()
3240 sp<AMessage> notify = dupNotify(); in notifyInstantiateSecureDecoders()
3246 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived() argument