Lines Matching refs:AMessage
112 const sp<AMessage> ¬ify, in Renderer()
182 const sp<AMessage> ¬ifyConsumed) { in queueBuffer()
183 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, this); in queueBuffer()
194 sp<AMessage> msg = new AMessage(kWhatQueueEOS, this); in queueEOS()
202 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); in setPlaybackSettings()
204 sp<AMessage> response; in setPlaybackSettings()
231 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); in getPlaybackSettings()
232 sp<AMessage> response; in getPlaybackSettings()
262 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); in setSyncSettings()
264 sp<AMessage> response; in setSyncSettings()
281 sp<AMessage> msg = new AMessage(kWhatGetSyncSettings, this); in getSyncSettings()
282 sp<AMessage> response; in getSyncSettings()
320 sp<AMessage> msg = new AMessage(kWhatFlush, this); in flush()
329 (new AMessage(kWhatDisableOffloadAudio, this))->post(); in signalDisableOffloadAudio()
333 (new AMessage(kWhatEnableOffloadAudio, this))->post(); in signalEnableOffloadAudio()
337 (new AMessage(kWhatPause, this))->post(); in pause()
341 (new AMessage(kWhatResume, this))->post(); in resume()
345 sp<AMessage> msg = new AMessage(kWhatSetVideoFrameRate, this); in setVideoFrameRate()
410 const sp<AMessage> &format, in openAudioSink()
416 sp<AMessage> msg = new AMessage(kWhatOpenAudioSink, this); in openAudioSink()
423 sp<AMessage> response; in openAudioSink()
438 sp<AMessage> msg = new AMessage(kWhatCloseAudioSink, this); in closeAudioSink()
440 sp<AMessage> response; in closeAudioSink()
445 const sp<AMessage> &format, in changeAudioFormat()
450 const sp<AMessage> ¬ify) { in changeAudioFormat()
451 sp<AMessage> meta = new AMessage; in changeAudioFormat()
458 sp<AMessage> msg = new AMessage(kWhatChangeAudioFormat, this); in changeAudioFormat()
465 void NuPlayer2::Renderer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
469 sp<AMessage> format; in onMessageReceived()
486 sp<AMessage> response = new AMessage; in onMessageReceived()
504 sp<AMessage> response = new AMessage; in onMessageReceived()
520 sp<AMessage> notify; in onMessageReceived()
530 sp<AMessage> meta; in onMessageReceived()
654 sp<AMessage> response = new AMessage; in onMessageReceived()
666 sp<AMessage> response = new AMessage; in onMessageReceived()
683 sp<AMessage> response = new AMessage; in onMessageReceived()
698 sp<AMessage> response = new AMessage; in onMessageReceived()
791 sp<AMessage> msg = new AMessage(kWhatDrainAudioQueue, this); in postDrainAudioQueue_l()
812 sp<AMessage> notify = mNotify->dup(); in notifyIfMediaRenderingStarted_l()
928 (new AMessage(kWhatStopAudioSink, this))->post(); in fillAudioBuffer()
1253 sp<AMessage> msg = new AMessage(kWhatDrainVideoQueue, this); in postDrainVideoQueue()
1399 sp<AMessage> notify = mNotify->dup(); in notifyVideoRenderingStart()
1411 sp<AMessage> msg = new AMessage(kWhatEOS, this); in notifyEOS_l()
1417 sp<AMessage> notify = mNotify->dup(); in notifyEOS_l()
1445 sp<AMessage> msg = new AMessage(kWhatAudioTearDown, this); in notifyAudioTearDown()
1450 void NuPlayer2::Renderer::onQueueBuffer(const sp<AMessage> &msg) { in onQueueBuffer()
1475 sp<AMessage> notifyConsumed; in onQueueBuffer()
1549 void NuPlayer2::Renderer::onQueueEOS(const sp<AMessage> &msg) { in onQueueEOS()
1581 void NuPlayer2::Renderer::onFlush(const sp<AMessage> &msg) { in onFlush()
1697 sp<AMessage> notify = mNotify->dup(); in notifyFlushComplete()
1704 bool audio, const sp<AMessage> &msg) { in dropBufferIfStale()
1712 sp<AMessage> notifyConsumed; in dropBufferIfStale()
1844 sp<AMessage> notify = mNotify->dup(); in onAudioTearDown()
1860 sp<AMessage> msg = new AMessage(kWhatAudioOffloadPauseTimeout, this); in startAudioOffloadPauseTimeout()
1880 const sp<AMessage> &format, in onOpenAudioSink()
2072 const sp<AMessage> &meta, const sp<AMessage> ¬ify) { in onChangeAudioFormat()
2073 sp<AMessage> format; in onChangeAudioFormat()