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()
561 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
600 sp<AMessage> response = new AMessage; in onMessageReceived()
623 sp<AMessage> response = new AMessage; in onMessageReceived()
668 sp<AMessage> response = new AMessage; in onMessageReceived()
700 sp<AMessage> response = new AMessage; in onMessageReceived()
737 sp<AMessage> info = mSource->getTrackInfo(trackIndex); in onMessageReceived()
752 sp<AMessage> response = new AMessage; in onMessageReceived()
926 sp<AMessage> params = new AMessage(); in onMessageReceived()
931 sp<AMessage> response = new AMessage; in onMessageReceived()
954 sp<AMessage> response = new AMessage; in onMessageReceived()
980 sp<AMessage> response = new AMessage; in onMessageReceived()
1000 sp<AMessage> response = new AMessage; in onMessageReceived()
1087 sp<AMessage> reply; in onMessageReceived()
1138 sp<AMessage> format; in onMessageReceived()
1141 sp<AMessage> inputFormat = in onMessageReceived()
1440 sp<AMessage> response = new AMessage; in onMessageReceived()
1452 sp<AMessage> response = new AMessage; in onMessageReceived()
1597 sp<AMessage> notify = new AMessage(kWhatRendererNotify, this); in onStart()
1798 sp<AMessage> msg = new AMessage(kWhatScanSources, this); in postScanSources()
1806 const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo) { in tryOpenAudioSinkForOffload()
1879 void NuPlayer::determineAudioModeChange(const sp<AMessage> &audioFormat) { in determineAudioModeChange()
1891 sp<AMessage> videoFormat = mSource->getFormat(false /* audio */); in determineAudioModeChange()
1926 sp<AMessage> format = mSource->getFormat(audio); in instantiateDecoder()
1948 sp<AMessage> ccNotify = new AMessage(kWhatClosedCaptionNotify, this); in instantiateDecoder()
1970 sp<AMessage> notify = new AMessage(kWhatAudioNotify, this); in instantiateDecoder()
1992 sp<AMessage> notify = new AMessage(kWhatVideoNotify, this); in instantiateDecoder()
2022 sp<AMessage> params = new AMessage(); in instantiateDecoder()
2045 const sp<AMessage> &inputFormat, in updateVideoSize()
2046 const sp<AMessage> &outputFormat) { in updateVideoSize()
2187 bool audio, bool video, const sp<AMessage> &reply) { in queueDecoderShutdown()
2217 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, this); in getTrackInfo()
2220 sp<AMessage> response; in getTrackInfo()
2226 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, this); in getSelectedTrack()
2230 sp<AMessage> response; in getSelectedTrack()
2239 sp<AMessage> msg = new AMessage(kWhatSelectTrack, this); in selectTrack()
2244 sp<AMessage> response; in selectTrack()
2267 void NuPlayer::getStats(Vector<sp<AMessage> > *trackStats) { in getStats()
2308 sp<AMessage> msg = new AMessage(kWhatPollDuration, this); in schedulePollDuration()
2498 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
2512 sp<AMessage> reply; in onSourceNotify()
2615 sp<AMessage> format; in onSourceNotify()
2731 sp<AMessage> reply; in onSourceNotify()
2746 sp<AMessage> IMSRxNotice; in onSourceNotify()
2757 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
2854 void NuPlayer::sendIMSRxNotice(const sp<AMessage> &msg) { in sendIMSRxNotice()
2994 sp<AMessage> msg = new AMessage(kWhatPrepareDrm, this); in prepareDrm()
3002 sp<AMessage> response; in prepareDrm()
3019 sp<AMessage> msg = new AMessage(kWhatReleaseDrm, this); in releaseDrm()
3021 sp<AMessage> response; in releaseDrm()
3034 status_t NuPlayer::onPrepareDrm(const sp<AMessage> &msg) in onPrepareDrm()
3124 sp<AMessage> NuPlayer::Source::getFormat(bool audio) { in getFormat()
3131 sp<AMessage> msg = new AMessage; in getFormat()
3140 sp<AMessage> notify = dupNotify(); in notifyFlagsChanged()
3146 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
3147 sp<AMessage> notify = dupNotify(); in notifyVideoSizeChanged()
3155 sp<AMessage> notify = dupNotify(); in notifyPrepared()
3165 sp<AMessage> notify = dupNotify(); in notifyDrmInfo()
3172 void NuPlayer::Source::notifyInstantiateSecureDecoders(const sp<AMessage> &reply) { in notifyInstantiateSecureDecoders()
3173 sp<AMessage> notify = dupNotify(); in notifyInstantiateSecureDecoders()
3179 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived() argument