Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/frameworks/av/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp42 const sp<AMessage> &notify, in HTTPLiveSource() argument
46 : Source(notify), in HTTPLiveSource()
111 sp<AMessage> notify = new AMessage(kWhatSessionNotify, this); in prepareAsync() local
114 notify, in prepareAsync()
263 sp<AMessage> notify = dupNotify(); in pollForRawData() local
264 notify->setInt32("what", pushWhat); in pollForRawData()
265 notify->setBuffer("buffer", buffer); in pollForRawData()
273 notify->post(); in pollForRawData()
280 notify->post(); in pollForRawData()
387 sp<AMessage> notify = dupNotify(); in onSessionNotify() local
[all …]
DNuPlayerDecoderPassThrough.cpp44 const sp<AMessage> &notify, in DecoderPassThrough() argument
47 : DecoderBase(notify), in DecoderPassThrough()
368 sp<AMessage> notify = mNotify->dup(); in onResume() local
369 notify->setInt32("what", kWhatResumeCompleted); in onResume()
370 notify->post(); in onResume()
395 sp<AMessage> notify = mNotify->dup(); in onFlush() local
396 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
397 notify->post(); in onFlush()
406 sp<AMessage> notify = mNotify->dup(); in onShutdown() local
407 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
[all …]
DNuPlayerDecoderBase.cpp32 NuPlayer::DecoderBase::DecoderBase(const sp<AMessage> &notify) in DecoderBase() argument
33 : mNotify(notify), in DecoderBase()
207 sp<AMessage> notify = mNotify->dup(); in handleError() local
208 notify->setInt32("what", kWhatError); in handleError()
209 notify->setInt32("err", err); in handleError()
210 notify->post(); in handleError()
DNuPlayerRenderer.cpp114 const sp<AMessage> &notify, in Renderer() argument
118 mNotify(notify), in Renderer()
483 const sp<AMessage> &notify) { in changeAudioFormat() argument
493 msg->setMessage("notify", notify); in changeAudioFormat()
553 sp<AMessage> notify; in onMessageReceived() local
554 CHECK(msg->findMessage("notify", &notify)); in onMessageReceived()
558 notify->setInt32("err", INVALID_OPERATION); in onMessageReceived()
559 notify->post(); in onMessageReceived()
568 onChangeAudioFormat(meta, notify); in onMessageReceived()
573 entry.mNotifyConsumed = notify; in onMessageReceived()
[all …]
DNuPlayer.cpp227 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
[all …]
DGenericSource.cpp56 const sp<AMessage> &notify, in GenericSource() argument
60 : Source(notify), in GenericSource()
596 sp<AMessage> notify = dupNotify(); in sendCacheStats() local
597 notify->setInt32("what", kWhatCacheStats); in sendCacheStats()
598 notify->setInt32("bandwidth", kbps); in sendCacheStats()
599 notify->post(); in sendCacheStats()
781 sp<AMessage> notify = dupNotify(); in sendTextData() local
782 notify->setInt32("what", what); in sendTextData()
783 notify->setBuffer("buffer", buffer); in sendTextData()
784 notify->post(); in sendTextData()
[all …]
DNuPlayerDecoder.cpp60 const sp<AMessage> &notify, in Decoder() argument
67 : DecoderBase(notify), in Decoder()
522 sp<AMessage> notify = mNotify->dup(); in onFlush() local
523 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
524 notify->post(); in onFlush()
557 sp<AMessage> notify = mNotify->dup(); in onShutdown() local
558 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
559 notify->post(); in onShutdown()
601 sp<AMessage> notify = mNotify->dup(); in handleError() local
602 notify->setInt32("what", kWhatError); in handleError()
[all …]
DRTPSource.cpp36 const sp<AMessage> &notify, in RTPSource() argument
38 : Source(notify), in RTPSource()
120 sp<AMessage> notify = new AMessage('accu', this); in prepareAsync() local
123 notify->setSize("trackIndex", i); in prepareAsync()
125 mRTPConn->addStream(sockRtp, sockRtcp, desc, i + 1, notify, false); in prepareAsync()
311 sp<AMessage> notify = dupNotify(); in dequeueAccessUnit() local
312 notify->setInt32("what", kWhatIMSRxNotice); in dequeueAccessUnit()
313 notify->setMessage("message", msg); in dequeueAccessUnit()
314 notify->post(); in dequeueAccessUnit()
406 sp<AMessage> notify = dupNotify(); in onMessageReceived() local
[all …]
DRTSPSource.cpp42 const sp<AMessage> &notify, in RTSPSource() argument
49 : Source(notify), in RTSPSource()
118 sp<AMessage> notify = new AMessage(kWhatNotify, this); in prepareAsync() local
124 mSDPLoader = new SDPLoader(notify, in prepareAsync()
131 mHandler = new MyHandler(mURL.c_str(), notify, mUIDValid, mUID); in prepareAsync()
802 sp<AMessage> notify = new AMessage(kWhatNotify, this); in onSDPLoaded() local
804 mHandler = new MyHandler(rtspUri.c_str(), notify, mUIDValid, mUID); in onSDPLoaded()
878 sp<AMessage> notify = dupNotify(); in startBufferingIfNecessary() local
879 notify->setInt32("what", kWhatPauseOnBufferingStart); in startBufferingIfNecessary()
880 notify->post(); in startBufferingIfNecessary()
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java124 mNM.notify(7001, n);
136 mNM.notify("default", 7004, n);
154 mNM.notify("default", 7004, n);
171 mNM.notify(6000, n);
177 mNM.notify(6001, n);
186 mNM.notify(6002, n);
193 mNM.notify(6003, n);
204 mNM.notify(6100, n);
210 mNM.notify(6101, n);
216 mNM.notify(6102, n);
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPSource.cpp46 const sp<AMessage> &notify) in ARTPSource() argument
74 mNotify(notify) { in ARTPSource()
81 mAssembler = new AAVCAssembler(notify); in ARTPSource()
84 mAssembler = new AHEVCAssembler(notify); in ARTPSource()
87 mAssembler = new AMPEG4AudioAssembler(notify, params); in ARTPSource()
90 mAssembler = new AH263Assembler(notify); in ARTPSource()
93 mAssembler = new AAMRAssembler(notify, false /* isWide */, params); in ARTPSource()
95 mAssembler = new AAMRAssembler(notify, true /* isWide */, params); in ARTPSource()
98 mAssembler = new AMPEG4ElementaryAssembler(notify, desc, params); in ARTPSource()
101 mAssembler = new ARawAudioAssembler(notify, desc.c_str(), params); in ARTPSource()
[all …]
DARTPConnection.cpp93 const sp<AMessage> &notify, in addStream() argument
100 msg->setMessage("notify", notify); in addStream()
471 sp<AMessage> notify = it->mNotifyMsg->dup(); in onPollStreams() local
472 notify->setInt32("rtcp-event", 1); in onPollStreams()
473 notify->setInt32("payload-type", 400); in onPollStreams()
474 notify->setInt32("feedback-type", 1); in onPollStreams()
475 notify->setInt32("sender", it->mSources.valueAt(i)->getSelfID()); in onPollStreams()
476 notify->post(); in onPollStreams()
758 sp<AMessage> notify = s->mNotifyMsg->dup(); in parseRTP() local
759 notify->setInt32("first-rtp", true); in parseRTP()
[all …]
DSDPLoader.cpp38 const sp<AMessage> &notify, in SDPLoader() argument
41 : mNotify(notify), in SDPLoader()
140 sp<AMessage> notify = mNotify->dup(); in onLoad() local
141 notify->setInt32("what", kWhatSDPLoaded); in onLoad()
142 notify->setInt32("result", err); in onLoad()
143 notify->setObject("description", desc); in onLoad()
144 notify->post(); in onLoad()
/frameworks/av/media/libmediaplayerservice/
DDeathNotifier.cpp31 DeathRecipient(Notify const& notify): mNotify{notify} { in DeathRecipient() argument
46 DeathNotifier::DeathNotifier(sp<IBinder> const& service, Notify const& notify) in DeathNotifier() argument
48 mDeathRecipient{new DeathRecipient(notify)} {
52 DeathNotifier::DeathNotifier(sp<HBase> const& service, Notify const& notify) in DeathNotifier() argument
54 mDeathRecipient{new DeathRecipient(notify)} {
DDeathNotifier.h33 DeathNotifier(sp<IBinder> const& service, Notify const& notify);
34 DeathNotifier(sp<HBase> const& service, Notify const& notify);
/frameworks/native/services/inputflinger/tests/
DTestInputListener.cpp138 void TestInputListener::notify(const NotifyArgsType* args) { in notify() function in android::TestInputListener
147 notify<NotifyConfigurationChangedArgs>(args); in notifyConfigurationChanged()
151 notify<NotifyDeviceResetArgs>(args); in notifyDeviceReset()
155 notify<NotifyKeyArgs>(args); in notifyKey()
159 notify<NotifyMotionArgs>(args); in notifyMotion()
163 notify<NotifySwitchArgs>(args); in notifySwitch()
167 notify<NotifyPointerCaptureChangedArgs>(args); in notifyPointerCaptureChanged()
171 notify<NotifySensorArgs>(args); in notifySensor()
175 notify<NotifyVibratorStateArgs>(args); in notifyVibratorState()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp40 void start(const sp<AMessage> &notify, const sp<MetaData> &params);
130 void MPEG2TSWriter::SourceInfo::start(const sp<AMessage> &notify, const sp<MetaData> &params) { in start() argument
133 mNotify = notify; in start()
245 sp<AMessage> notify = mNotify->dup(); in extractCodecSpecificData() local
246 notify->setInt32("what", kNotifyBuffer); in extractCodecSpecificData()
247 notify->setBuffer("buffer", out); in extractCodecSpecificData()
248 notify->setInt32("oob", true); in extractCodecSpecificData()
249 notify->post(); in extractCodecSpecificData()
253 sp<AMessage> notify = mNotify->dup(); in appendAVCFrame() local
254 notify->setInt32("what", kNotifyBuffer); in appendAVCFrame()
[all …]
DMediaCodec.cpp467 explicit BufferCallback(const sp<AMessage> &notify);
478 BufferCallback::BufferCallback(const sp<AMessage> &notify) in BufferCallback() argument
479 : mNotify(notify) {} in BufferCallback()
483 sp<AMessage> notify(mNotify->dup()); in onInputBufferAvailable() local
484 notify->setInt32("what", kWhatFillThisBuffer); in onInputBufferAvailable()
485 notify->setSize("index", index); in onInputBufferAvailable()
486 notify->setObject("buffer", buffer); in onInputBufferAvailable()
487 notify->post(); in onInputBufferAvailable()
492 sp<AMessage> notify(mNotify->dup()); in onOutputBufferAvailable() local
493 notify->setInt32("what", kWhatDrainThisBuffer); in onOutputBufferAvailable()
[all …]
/frameworks/native/services/inputflinger/include/
DInputListener.h43 virtual void notify(const sp<InputListenerInterface>& listener) const = 0;
60 virtual void notify(const sp<InputListenerInterface>& listener) const;
91 virtual void notify(const sp<InputListenerInterface>& listener) const;
145 virtual void notify(const sp<InputListenerInterface>& listener) const;
170 void notify(const sp<InputListenerInterface>& listener) const override;
190 virtual void notify(const sp<InputListenerInterface>& listener) const;
209 virtual void notify(const sp<InputListenerInterface>& listener) const;
226 virtual void notify(const sp<InputListenerInterface>& listener) const;
244 virtual void notify(const sp<InputListenerInterface>& listener) const;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp169 notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL); in onQueueFilled()
176 notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL); in onQueueFilled()
215 notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL); in onQueueFilled()
241 notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL); in onQueueFilled()
250 notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL); in onQueueFilled()
264 notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL); in onQueueFilled()
278 notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL); in onQueueFilled()
373 notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL); in handlePortSettingsChange()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp277 const sp<AMessage> &notify, uint32_t flags, in LiveSession() argument
279 : mNotify(notify), in LiveSession()
908 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
909 notify->setInt32("what", kWhatMetadataDetected); in onMessageReceived()
910 notify->post(); in onMessageReceived()
1172 sp<AMessage> notify = new AMessage(kWhatFetcherNotify, this); in addFetcher() local
1173 notify->setString("uri", uri); in addFetcher()
1174 notify->setInt32("switchGeneration", mSwitchGeneration); in addFetcher()
1178 notify, this, uri, mCurBandwidthIndex, mSubtitleGeneration); in addFetcher()
1764 sp<AMessage> notify = mNotify->dup(); in onChangeConfiguration2() local
[all …]
DPlaylistFetcher.cpp146 const sp<AMessage> &notify, in PlaylistFetcher() argument
151 : mNotify(notify), in PlaylistFetcher()
630 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
631 notify->setInt32("what", kWhatStarted); in onMessageReceived()
632 notify->setInt32("err", err); in onMessageReceived()
633 notify->post(); in onMessageReceived()
641 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
642 notify->setInt32("what", kWhatPaused); in onMessageReceived()
643 notify->setInt32("seekMode", in onMessageReceived()
647 notify->post(); in onMessageReceived()
[all …]
/frameworks/av/drm/common/include/
DIDrmServiceListener.h43 virtual status_t notify(const DrmInfoEvent& event) = 0;
55 virtual status_t notify(const DrmInfoEvent& event);
/frameworks/native/services/inputflinger/
DInputListener.cpp47 void NotifyConfigurationChangedArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyConfigurationChangedArgs
92 void NotifyKeyArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyKeyArgs
191 void NotifyMotionArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyMotionArgs
215 void NotifySwitchArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifySwitchArgs
250 void NotifySensorArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifySensorArgs
268 void NotifyVibratorStateArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyVibratorStateArgs
284 void NotifyDeviceResetArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyDeviceResetArgs
302 void NotifyPointerCaptureChangedArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyPointerCaptureChangedArgs
371 args->notify(mInnerListener); in flush()
/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.cpp32 const sp<AMessage> &notify, in init() argument
34 mNotify = notify; in init()
74 sp<AMessage> notify = mNotify->dup(); in onFrameAvailable() local

12345678910>>...13