Lines Matching refs:AMessage

113         const sp<AMessage> &notify,  in Renderer()
183 const sp<AMessage> &notifyConsumed) { in queueBuffer()
184 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, this); in queueBuffer()
195 sp<AMessage> msg = new AMessage(kWhatQueueEOS, this); in queueEOS()
203 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); in setPlaybackSettings()
205 sp<AMessage> response; in setPlaybackSettings()
238 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); in getPlaybackSettings()
239 sp<AMessage> response; in getPlaybackSettings()
271 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); in setSyncSettings()
273 sp<AMessage> response; in setSyncSettings()
290 sp<AMessage> msg = new AMessage(kWhatGetSyncSettings, this); in getSyncSettings()
291 sp<AMessage> response; in getSyncSettings()
329 sp<AMessage> msg = new AMessage(kWhatFlush, this); in flush()
338 (new AMessage(kWhatDisableOffloadAudio, this))->post(); in signalDisableOffloadAudio()
342 (new AMessage(kWhatEnableOffloadAudio, this))->post(); in signalEnableOffloadAudio()
346 (new AMessage(kWhatPause, this))->post(); in pause()
350 (new AMessage(kWhatResume, this))->post(); in resume()
354 sp<AMessage> msg = new AMessage(kWhatSetVideoFrameRate, this); in setVideoFrameRate()
423 const sp<AMessage> &format, in openAudioSink()
429 sp<AMessage> msg = new AMessage(kWhatOpenAudioSink, this); in openAudioSink()
436 sp<AMessage> response; in openAudioSink()
451 sp<AMessage> msg = new AMessage(kWhatCloseAudioSink, this); in closeAudioSink()
453 sp<AMessage> response; in closeAudioSink()
458 const sp<AMessage> &format, in changeAudioFormat()
463 const sp<AMessage> &notify) { in changeAudioFormat()
464 sp<AMessage> meta = new AMessage; in changeAudioFormat()
471 sp<AMessage> msg = new AMessage(kWhatChangeAudioFormat, this); in changeAudioFormat()
478 void NuPlayer::Renderer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
482 sp<AMessage> format; in onMessageReceived()
499 sp<AMessage> response = new AMessage; in onMessageReceived()
517 sp<AMessage> response = new AMessage; in onMessageReceived()
533 sp<AMessage> notify; in onMessageReceived()
543 sp<AMessage> meta; in onMessageReceived()
667 sp<AMessage> response = new AMessage; in onMessageReceived()
679 sp<AMessage> response = new AMessage; in onMessageReceived()
696 sp<AMessage> response = new AMessage; in onMessageReceived()
711 sp<AMessage> response = new AMessage; in onMessageReceived()
804 sp<AMessage> msg = new AMessage(kWhatDrainAudioQueue, this); in postDrainAudioQueue_l()
825 sp<AMessage> notify = mNotify->dup(); in notifyIfMediaRenderingStarted_l()
941 (new AMessage(kWhatStopAudioSink, this))->post(); in fillAudioBuffer()
1267 sp<AMessage> msg = new AMessage(kWhatDrainVideoQueue, this); in postDrainVideoQueue()
1413 sp<AMessage> notify = mNotify->dup(); in notifyVideoRenderingStart()
1425 sp<AMessage> msg = new AMessage(kWhatEOS, this); in notifyEOS_l()
1431 sp<AMessage> notify = mNotify->dup(); in notifyEOS_l()
1459 sp<AMessage> msg = new AMessage(kWhatAudioTearDown, this); in notifyAudioTearDown()
1464 void NuPlayer::Renderer::onQueueBuffer(const sp<AMessage> &msg) { in onQueueBuffer()
1489 sp<AMessage> notifyConsumed; in onQueueBuffer()
1563 void NuPlayer::Renderer::onQueueEOS(const sp<AMessage> &msg) { in onQueueEOS()
1595 void NuPlayer::Renderer::onFlush(const sp<AMessage> &msg) { in onFlush()
1703 sp<AMessage> notify = mNotify->dup(); in notifyFlushComplete()
1710 bool audio, const sp<AMessage> &msg) { in dropBufferIfStale()
1718 sp<AMessage> notifyConsumed; in dropBufferIfStale()
1858 sp<AMessage> notify = mNotify->dup(); in onAudioTearDown()
1874 sp<AMessage> msg = new AMessage(kWhatAudioOffloadPauseTimeout, this); in startAudioOffloadPauseTimeout()
1894 const sp<AMessage> &format, in onOpenAudioSink()
2095 const sp<AMessage> &meta, const sp<AMessage> &notify) { in onChangeAudioFormat()
2096 sp<AMessage> format; in onChangeAudioFormat()