Home | History | Annotate | Download | only in nuplayer

Lines Matching defs:notify

226     sp<AMessage> notify = new AMessage(kWhatMediaClockNotify, this);
227 mMediaClock->setNotificationMessage(notify);
233 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
235 msg->setObject("source", new StreamingSource(notify, source));
265 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
269 source = new HTTPLiveSource(notify, httpService, url, headers);
274 notify, httpService, url, headers, mUIDValid, mUID);
282 notify, httpService, url, headers, mUIDValid, mUID, true);
289 new GenericSource(notify, mUIDValid, mUID, mMediaClock);
309 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
312 new GenericSource(notify, mUIDValid, mUID, mMediaClock);
331 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this);
333 sp<GenericSource> source = new GenericSource(notify, mUIDValid, mUID, mMediaClock);
482 sp<AMessage> notify = new AMessage(kWhatNotifyTime, this);
483 notify->setInt64("timerUs", mediaTimeUs);
484 mMediaClock->addTimer(notify, mediaTimeUs);
1191 // which has error, notify client of error.
1202 // which has error, notify client of error.
1592 sp<AMessage> notify = new AMessage(kWhatRendererNotify, this);
1594 notify->setInt32("generation", mRendererGeneration);
1595 mRenderer = new Renderer(mAudioSink, mMediaClock, notify, flags);
1939 sp<AMessage> notify = new AMessage(kWhatAudioNotify, this);
1941 notify->setInt32("generation", mAudioDecoderGeneration);
1951 *decoder = new DecoderPassThrough(notify, mSource, mRenderer);
1956 *decoder = new Decoder(notify, mSource, mPID, mUID, mRenderer);
1961 sp<AMessage> notify = new AMessage(kWhatVideoNotify, this);
1963 notify->setInt32("generation", mVideoDecoderGeneration);
1966 notify, mSource, mPID, mUID, mRenderer, mSurface, mCCDecoder);
2429 // if audio-only, we can notify seek complete now,
2512 // notify duration first, so that it's definitely set when
2991 sp<AMessage> notify = dupNotify();
2992 notify->setInt32("what", kWhatFlagsChanged);
2993 notify->setInt32("flags", flags);
2994 notify->post();
2998 sp<AMessage> notify = dupNotify();
2999 notify->setInt32("what", kWhatVideoSizeChanged);
3000 notify->setMessage("format", format);
3001 notify->post();
3006 sp<AMessage> notify = dupNotify();
3007 notify->setInt32("what", kWhatPrepared);
3008 notify->setInt32("err", err);
3009 notify->post();
3016 sp<AMessage> notify = dupNotify();
3017 notify->setInt32("what", kWhatDrmInfo);
3018 notify->setBuffer("drmInfo", drmInfoBuffer);
3020 notify->post();
3024 sp<AMessage> notify = dupNotify();
3025 notify->setInt32("what", kWhatInstantiateSecureDecoders);
3026 notify->setMessage("reply", reply);
3027 notify->post();