Lines Matching refs:notify
227 sp<AMessage> notify = new AMessage(kWhatMediaClockNotify, this); in init() local
228 mMediaClock->setNotificationMessage(notify); in init()
234 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
236 msg->setObject("source", new StreamingSource(notify, source)); in setDataSourceAsync()
266 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
270 source = new HTTPLiveSource(notify, httpService, url, headers); in setDataSourceAsync()
275 notify, httpService, url, headers, mUIDValid, mUID); in setDataSourceAsync()
283 notify, httpService, url, headers, mUIDValid, mUID, true); in setDataSourceAsync()
290 new GenericSource(notify, mUIDValid, mUID, mMediaClock); in setDataSourceAsync()
310 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
313 new GenericSource(notify, mUIDValid, mUID, mMediaClock); in setDataSourceAsync()
332 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
334 sp<GenericSource> source = new GenericSource(notify, mUIDValid, mUID, mMediaClock); in setDataSourceAsync()
376 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
377 sp<Source> source = new RTPSource(notify, rtpParams); in setDataSourceAsync()
495 sp<AMessage> notify = new AMessage(kWhatNotifyTime, this); in notifyAt() local
496 notify->setInt64("timerUs", mediaTimeUs); in notifyAt()
497 mMediaClock->addTimer(notify, mediaTimeUs); in notifyAt()
1597 sp<AMessage> notify = new AMessage(kWhatRendererNotify, this); in onStart() local
1599 notify->setInt32("generation", mRendererGeneration); in onStart()
1600 mRenderer = new Renderer(mAudioSink, mMediaClock, notify, flags); in onStart()
1970 sp<AMessage> notify = new AMessage(kWhatAudioNotify, this); in instantiateDecoder() local
1972 notify->setInt32("generation", mAudioDecoderGeneration); in instantiateDecoder()
1982 *decoder = new DecoderPassThrough(notify, mSource, mRenderer); in instantiateDecoder()
1987 *decoder = new Decoder(notify, mSource, mPID, mUID, mRenderer); in instantiateDecoder()
1992 sp<AMessage> notify = new AMessage(kWhatVideoNotify, this); in instantiateDecoder() local
1994 notify->setInt32("generation", mVideoDecoderGeneration); in instantiateDecoder()
1997 notify, mSource, mPID, mUID, mRenderer, mSurface, mCCDecoder); in instantiateDecoder()
3140 sp<AMessage> notify = dupNotify(); in notifyFlagsChanged() local
3141 notify->setInt32("what", kWhatFlagsChanged); in notifyFlagsChanged()
3142 notify->setInt32("flags", flags); in notifyFlagsChanged()
3143 notify->post(); in notifyFlagsChanged()
3147 sp<AMessage> notify = dupNotify(); in notifyVideoSizeChanged() local
3148 notify->setInt32("what", kWhatVideoSizeChanged); in notifyVideoSizeChanged()
3149 notify->setMessage("format", format); in notifyVideoSizeChanged()
3150 notify->post(); in notifyVideoSizeChanged()
3155 sp<AMessage> notify = dupNotify(); in notifyPrepared() local
3156 notify->setInt32("what", kWhatPrepared); in notifyPrepared()
3157 notify->setInt32("err", err); in notifyPrepared()
3158 notify->post(); in notifyPrepared()
3165 sp<AMessage> notify = dupNotify(); in notifyDrmInfo() local
3166 notify->setInt32("what", kWhatDrmInfo); in notifyDrmInfo()
3167 notify->setBuffer("drmInfo", drmInfoBuffer); in notifyDrmInfo()
3169 notify->post(); in notifyDrmInfo()
3173 sp<AMessage> notify = dupNotify(); in notifyInstantiateSecureDecoders() local
3174 notify->setInt32("what", kWhatInstantiateSecureDecoders); in notifyInstantiateSecureDecoders()
3175 notify->setMessage("reply", reply); in notifyInstantiateSecureDecoders()
3176 notify->post(); in notifyInstantiateSecureDecoders()