Lines Matching refs:AMessage
114 const sp<AMessage> ¬ify, in Renderer()
185 const sp<AMessage> ¬ifyConsumed) { in queueBuffer()
186 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, this); in queueBuffer()
197 sp<AMessage> msg = new AMessage(kWhatQueueEOS, this); in queueEOS()
205 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); in setPlaybackSettings()
207 sp<AMessage> response; in setPlaybackSettings()
240 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); in getPlaybackSettings()
241 sp<AMessage> response; in getPlaybackSettings()
273 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); in setSyncSettings()
275 sp<AMessage> response; in setSyncSettings()
292 sp<AMessage> msg = new AMessage(kWhatGetSyncSettings, this); in getSyncSettings()
293 sp<AMessage> response; in getSyncSettings()
339 sp<AMessage> msg = new AMessage(kWhatFlush, this); in flush()
358 (new AMessage(kWhatDisableOffloadAudio, this))->post(); in signalDisableOffloadAudio()
362 (new AMessage(kWhatEnableOffloadAudio, this))->post(); in signalEnableOffloadAudio()
366 (new AMessage(kWhatPause, this))->post(); in pause()
370 (new AMessage(kWhatResume, this))->post(); in resume()
374 sp<AMessage> msg = new AMessage(kWhatSetVideoFrameRate, this); in setVideoFrameRate()
443 const sp<AMessage> &format, in openAudioSink()
449 sp<AMessage> msg = new AMessage(kWhatOpenAudioSink, this); in openAudioSink()
456 sp<AMessage> response; in openAudioSink()
471 sp<AMessage> msg = new AMessage(kWhatCloseAudioSink, this); in closeAudioSink()
473 sp<AMessage> response; in closeAudioSink()
478 const sp<AMessage> &format, in changeAudioFormat()
483 const sp<AMessage> ¬ify) { in changeAudioFormat()
484 sp<AMessage> meta = new AMessage; in changeAudioFormat()
491 sp<AMessage> msg = new AMessage(kWhatChangeAudioFormat, this); in changeAudioFormat()
498 void NuPlayer::Renderer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
502 sp<AMessage> format; in onMessageReceived()
519 sp<AMessage> response = new AMessage; in onMessageReceived()
537 sp<AMessage> response = new AMessage; in onMessageReceived()
553 sp<AMessage> notify; in onMessageReceived()
563 sp<AMessage> meta; in onMessageReceived()
687 sp<AMessage> response = new AMessage; in onMessageReceived()
699 sp<AMessage> response = new AMessage; in onMessageReceived()
716 sp<AMessage> response = new AMessage; in onMessageReceived()
731 sp<AMessage> response = new AMessage; in onMessageReceived()
829 sp<AMessage> msg = new AMessage(kWhatDrainAudioQueue, this); in postDrainAudioQueue_l()
850 sp<AMessage> notify = mNotify->dup(); in notifyIfMediaRenderingStarted_l()
971 (new AMessage(kWhatStopAudioSink, this))->post(); in fillAudioBuffer()
1297 sp<AMessage> msg = new AMessage(kWhatDrainVideoQueue, this); in postDrainVideoQueue()
1443 sp<AMessage> notify = mNotify->dup(); in notifyVideoRenderingStart()
1455 sp<AMessage> msg = new AMessage(kWhatEOS, this); in notifyEOS_l()
1461 sp<AMessage> notify = mNotify->dup(); in notifyEOS_l()
1489 sp<AMessage> msg = new AMessage(kWhatAudioTearDown, this); in notifyAudioTearDown()
1494 void NuPlayer::Renderer::onQueueBuffer(const sp<AMessage> &msg) { in onQueueBuffer()
1519 sp<AMessage> notifyConsumed; in onQueueBuffer()
1593 void NuPlayer::Renderer::onQueueEOS(const sp<AMessage> &msg) { in onQueueEOS()
1625 void NuPlayer::Renderer::onFlush(const sp<AMessage> &msg) { in onFlush()
1733 sp<AMessage> notify = mNotify->dup(); in notifyFlushComplete()
1740 bool audio, const sp<AMessage> &msg) { in dropBufferIfStale()
1748 sp<AMessage> notifyConsumed; in dropBufferIfStale()
1888 sp<AMessage> notify = mNotify->dup(); in onAudioTearDown()
1904 sp<AMessage> msg = new AMessage(kWhatAudioOffloadPauseTimeout, this); in startAudioOffloadPauseTimeout()
1924 const sp<AMessage> &format, in onOpenAudioSink()
2126 const sp<AMessage> &meta, const sp<AMessage> ¬ify) { in onChangeAudioFormat()
2127 sp<AMessage> format; in onChangeAudioFormat()