Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp222 sp<AMessage> notify = mNotify->dup(); in signalError() local
223 notify->setInt32("what", CodecBase::kWhatError); in signalError()
224 notify->setInt32("err", error); in signalError()
225 notify->post(); in signalError()
264 sp<AMessage> notify = mNotify->dup(); in allocateBuffersOnPort() local
265 notify->setInt32("what", CodecBase::kWhatBuffersAllocated); in allocateBuffersOnPort()
267 notify->setInt32("portIndex", portIndex); in allocateBuffersOnPort()
277 notify->setObject("portDesc", desc); in allocateBuffersOnPort()
278 notify->post(); in allocateBuffersOnPort()
312 sp<AMessage> notify = mNotify->dup(); in postFillThisBuffer() local
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp37 const sp<AMessage> &notify, in HTTPLiveSource() argument
41 : Source(notify), in HTTPLiveSource()
87 sp<AMessage> notify = new AMessage(kWhatSessionNotify, this); in prepareAsync() local
90 notify, in prepareAsync()
217 sp<AMessage> notify = dupNotify(); in pollForRawData() local
218 notify->setInt32("what", pushWhat); in pollForRawData()
219 notify->setBuffer("buffer", buffer); in pollForRawData()
227 notify->post(); in pollForRawData()
234 notify->post(); in pollForRawData()
340 sp<AMessage> notify = dupNotify(); in onSessionNotify() local
[all …]
DNuPlayerDecoderPassThrough.cpp43 const sp<AMessage> &notify, in DecoderPassThrough() argument
46 : DecoderBase(notify), in DecoderPassThrough()
363 sp<AMessage> notify = mNotify->dup(); in onResume() local
364 notify->setInt32("what", kWhatResumeCompleted); in onResume()
365 notify->post(); in onResume()
390 sp<AMessage> notify = mNotify->dup(); in onFlush() local
391 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
392 notify->post(); in onFlush()
401 sp<AMessage> notify = mNotify->dup(); in onShutdown() local
402 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
[all …]
DNuPlayerDecoderBase.cpp31 NuPlayer::DecoderBase::DecoderBase(const sp<AMessage> &notify) in DecoderBase() argument
32 : mNotify(notify), in DecoderBase()
205 sp<AMessage> notify = mNotify->dup(); in handleError() local
206 notify->setInt32("what", kWhatError); in handleError()
207 notify->setInt32("err", err); in handleError()
208 notify->post(); in handleError()
DNuPlayerDecoder.cpp49 const sp<AMessage> &notify, in Decoder() argument
55 : DecoderBase(notify), in Decoder()
401 sp<AMessage> notify = mNotify->dup(); in onFlush() local
402 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
403 notify->post(); in onFlush()
437 sp<AMessage> notify = mNotify->dup(); in onShutdown() local
438 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
439 notify->post(); in onShutdown()
483 sp<AMessage> notify = mNotify->dup(); in handleError() local
484 notify->setInt32("what", kWhatError); in handleError()
[all …]
DRTSPSource.cpp36 const sp<AMessage> &notify, in RTSPSource() argument
43 : Source(notify), in RTSPSource()
90 sp<AMessage> notify = new AMessage(kWhatNotify, this); in prepareAsync() local
96 mSDPLoader = new SDPLoader(notify, in prepareAsync()
103 mHandler = new MyHandler(mURL.c_str(), notify, mUIDValid, mUID); in prepareAsync()
644 sp<AMessage> notify = new AMessage(kWhatNotify, this); in onSDPLoaded() local
646 mHandler = new MyHandler(rtspUri.c_str(), notify, mUIDValid, mUID); in onSDPLoaded()
720 sp<AMessage> notify = dupNotify(); in startBufferingIfNecessary() local
721 notify->setInt32("what", kWhatBufferingStart); in startBufferingIfNecessary()
722 notify->post(); in startBufferingIfNecessary()
[all …]
DNuPlayer.cpp213 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
215 msg->setObject("source", new StreamingSource(notify, source)); in setDataSourceAsync()
244 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
248 source = new HTTPLiveSource(notify, httpService, url, headers); in setDataSourceAsync()
251 notify, httpService, url, headers, mUIDValid, mUID); in setDataSourceAsync()
257 notify, httpService, url, headers, mUIDValid, mUID, true); in setDataSourceAsync()
260 new GenericSource(notify, mUIDValid, mUID); in setDataSourceAsync()
280 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
283 new GenericSource(notify, mUIDValid, mUID); in setDataSourceAsync()
298 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
[all …]
DNuPlayerRenderer.cpp86 const sp<AMessage> &notify, in Renderer() argument
89 mNotify(notify), in Renderer()
650 sp<AMessage> notify = mNotify->dup(); in notifyIfMediaRenderingStarted_l() local
651 notify->setInt32("what", kWhatMediaRenderingStart); in notifyIfMediaRenderingStarted_l()
652 notify->post(); in notifyIfMediaRenderingStarted_l()
1142 sp<AMessage> notify = mNotify->dup(); in notifyVideoRenderingStart() local
1143 notify->setInt32("what", kWhatVideoRenderingStart); in notifyVideoRenderingStart()
1144 notify->post(); in notifyVideoRenderingStart()
1148 sp<AMessage> notify = mNotify->dup(); in notifyEOS() local
1149 notify->setInt32("what", kWhatEOS); in notifyEOS()
[all …]
/frameworks/av/media/libstagefright/wifi-display/
DMediaSender.cpp40 const sp<AMessage> &notify) in MediaSender() argument
42 mNotify(notify), in MediaSender()
124 sp<AMessage> notify = new AMessage(kWhatSenderNotify, this); in initAsync() local
125 notify->setInt32("generation", mGeneration); in initAsync()
126 mTSSender = new RTPSender(mNetSession, notify); in initAsync()
173 sp<AMessage> notify = new AMessage(kWhatSenderNotify, this); in initAsync() local
174 notify->setInt32("generation", mGeneration); in initAsync()
175 notify->setSize("trackIndex", trackIndex); in initAsync()
177 info->mSender = new RTPSender(mNetSession, notify); in initAsync()
354 sp<AMessage> notify = mNotify->dup(); in onSenderNotify() local
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java104 mNM.notify(1, n);
130 mNM.notify(1, n);
144 mNM.notify(1, n);
159 mNM.notify(1, n);
171 mNM.notify(1, n.setContentTitle("(453) 123-2328")
175 mNM.notify(1, n.setContentTitle("Mark Willem, Me (2)")
179 mNM.notify(1, n.setContentTitle("Sophia Winterlanden")
194 mNM.notify(1, n);
207 mNM.notify(1, n);
220 mNM.notify(1, n);
[all …]
/frameworks/av/media/libstagefright/wifi-display/source/
DMediaPuller.cpp33 const sp<MediaSource> &source, const sp<AMessage> &notify) in MediaPuller() argument
35 mNotify(notify), in MediaPuller()
69 void MediaPuller::stopAsync(const sp<AMessage> &notify) { in stopAsync() argument
71 msg->setMessage("notify", notify); in stopAsync()
126 sp<AMessage> notify; in onMessageReceived() local
127 CHECK(msg->findMessage("notify", &notify)); in onMessageReceived()
128 notify->post(); in onMessageReceived()
161 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
162 notify->setInt32("what", kWhatEOS); in onMessageReceived()
163 notify->post(); in onMessageReceived()
[all …]
DConverter.cpp44 const sp<AMessage> &notify, in Converter() argument
48 : mNotify(notify), in Converter()
272 sp<AMessage> notify = mNotify->dup(); in notifyError() local
273 notify->setInt32("what", kWhatError); in notifyError()
274 notify->setInt32("err", err); in notifyError()
275 notify->post(); in notifyError()
428 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
429 notify->setInt32("what", kWhatShutdownCompleted); in onMessageReceived()
430 notify->post(); in onMessageReceived()
489 sp<AMessage> notify = new AMessage(kWhatEncoderActivity, this); in scheduleDoMoreWork() local
[all …]
DPlaybackSession.cpp57 Track(const sp<AMessage> &notify,
63 Track(const sp<AMessage> &notify, const sp<AMessage> &format);
128 const sp<AMessage> &notify, in Track() argument
133 : mNotify(notify), in Track()
144 const sp<AMessage> &notify, const sp<AMessage> &format) in Track() argument
145 : mNotify(notify), in Track()
249 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
250 notify->setInt32("what", kWhatStopped); in onMessageReceived()
251 notify->post(); in onMessageReceived()
350 const sp<AMessage> &notify, in PlaybackSession() argument
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPSource.cpp43 const sp<AMessage> &notify) in ARTPSource() argument
52 mNotify(notify) { in ARTPSource()
59 mAssembler = new AAVCAssembler(notify); in ARTPSource()
62 mAssembler = new AMPEG4AudioAssembler(notify, params); in ARTPSource()
65 mAssembler = new AH263Assembler(notify); in ARTPSource()
68 mAssembler = new AAMRAssembler(notify, false /* isWide */, params); in ARTPSource()
70 mAssembler = new AAMRAssembler(notify, true /* isWide */, params); in ARTPSource()
73 mAssembler = new AMPEG4ElementaryAssembler(notify, desc, params); in ARTPSource()
76 mAssembler = new ARawAudioAssembler(notify, desc.c_str(), params); in ARTPSource()
78 mAssembler = new AMPEG2TSAssembler(notify, desc.c_str(), params); in ARTPSource()
[all …]
DSDPLoader.cpp37 const sp<AMessage> &notify, in SDPLoader() argument
40 : mNotify(notify), in SDPLoader()
139 sp<AMessage> notify = mNotify->dup(); in onLoad() local
140 notify->setInt32("what", kWhatSDPLoaded); in onLoad()
141 notify->setInt32("result", err); in onLoad()
142 notify->setObject("description", desc); in onLoad()
143 notify->post(); in onLoad()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp87 const sp<AMessage> &notify);
137 void notify(NotificationReason reason);
164 const sp<AMessage> &notify) in Session() argument
169 mNotify(notify), in Session()
297 sp<AMessage> notify = mNotify->dup(); in readMore() local
298 notify->setInt32("sessionID", mSessionID); in readMore()
299 notify->setInt32("reason", kWhatDatagram); in readMore()
302 notify->setString( in readMore()
311 notify->setInt32("fromPort", ntohs(remoteAddr.sin_port)); in readMore()
313 notify->setBuffer("data", buf); in readMore()
[all …]
/frameworks/av/include/media/stagefright/foundation/
DANetworkSession.h41 const char *host, unsigned port, const sp<AMessage> &notify,
46 const sp<AMessage> &notify, int32_t *sessionID);
49 unsigned localPort, const sp<AMessage> &notify, int32_t *sessionID);
55 const sp<AMessage> &notify,
64 const sp<AMessage> &notify, int32_t *sessionID);
71 const sp<AMessage> &notify,
122 const sp<AMessage> &notify,
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp40 void start(const sp<AMessage> &notify);
132 void MPEG2TSWriter::SourceInfo::start(const sp<AMessage> &notify) { in start() argument
136 mNotify = notify; in start()
246 sp<AMessage> notify = mNotify->dup(); in extractCodecSpecificData() local
247 notify->setInt32("what", kNotifyBuffer); in extractCodecSpecificData()
248 notify->setBuffer("buffer", out); in extractCodecSpecificData()
249 notify->setInt32("oob", true); in extractCodecSpecificData()
250 notify->post(); in extractCodecSpecificData()
254 sp<AMessage> notify = mNotify->dup(); in postAVCFrame() local
255 notify->setInt32("what", kNotifyBuffer); in postAVCFrame()
[all …]
DACodec.cpp135 sp<AMessage> notify = mNotify->dup(); in onMessages() local
142 notify->setInt32("node", omx_msg.node); in onMessages()
200 notify->setObject("messages", msgList); in onMessages()
201 notify->post(); in onMessages()
267 DeathNotifier(const sp<AMessage> &notify) in DeathNotifier()
268 : mNotify(notify) { in DeathNotifier()
863 sp<AMessage> notify = mNotify->dup(); in allocateBuffersOnPort() local
864 notify->setInt32("what", CodecBase::kWhatBuffersAllocated); in allocateBuffersOnPort()
866 notify->setInt32("portIndex", portIndex); in allocateBuffersOnPort()
876 notify->setObject("portDesc", desc); in allocateBuffersOnPort()
[all …]
/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp37 const sp<AMessage> &notify) in RTPSender() argument
39 mNotify(notify), in RTPSender()
770 sp<AMessage> notify = mNotify->dup(); in parseAPP() local
771 notify->setInt32("what", kWhatInformSender); in parseAPP()
772 notify->setInt64("avgLatencyUs", avgLatencyUs); in parseAPP()
773 notify->setInt64("maxLatencyUs", maxLatencyUs); in parseAPP()
774 notify->post(); in parseAPP()
781 sp<AMessage> notify = mNotify->dup(); in notifyInitDone() local
782 notify->setInt32("what", kWhatInitDone); in notifyInitDone()
783 notify->setInt32("err", err); in notifyInitDone()
[all …]
/frameworks/native/services/inputflinger/
DInputListener.h33 virtual void notify(const sp<InputListenerInterface>& listener) const = 0;
49 virtual void notify(const sp<InputListenerInterface>& listener) const;
76 virtual void notify(const sp<InputListenerInterface>& listener) const;
113 virtual void notify(const sp<InputListenerInterface>& listener) const;
133 virtual void notify(const sp<InputListenerInterface>& listener) const;
151 virtual void notify(const sp<InputListenerInterface>& listener) const;
DInputListener.cpp38 void NotifyConfigurationChangedArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyConfigurationChangedArgs
62 void NotifyKeyArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyKeyArgs
99 void NotifyMotionArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyMotionArgs
117 void NotifySwitchArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifySwitchArgs
132 void NotifyDeviceResetArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() function in android::NotifyDeviceResetArgs
175 args->notify(mInnerListener); in flush()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompatSideChannelService.java61 public abstract void notify(String packageName, int id, String tag, Notification notification); in notify() method in NotificationCompatSideChannelService
75 public void notify(String packageName, int id, String tag, Notification notification) in notify() method in NotificationCompatSideChannelService.NotificationSideChannelStub
80 … NotificationCompatSideChannelService.this.notify(packageName, id, tag, notification); in notify()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp277 const sp<AMessage> &notify, uint32_t flags, in LiveSession() argument
279 : mNotify(notify), in LiveSession()
891 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
892 notify->setInt32("what", kWhatMetadataDetected); in onMessageReceived()
893 notify->post(); in onMessageReceived()
1154 sp<AMessage> notify = new AMessage(kWhatFetcherNotify, this); in addFetcher() local
1155 notify->setString("uri", uri); in addFetcher()
1156 notify->setInt32("switchGeneration", mSwitchGeneration); in addFetcher()
1160 notify, this, uri, mCurBandwidthIndex, mSubtitleGeneration); in addFetcher()
1743 sp<AMessage> notify = mNotify->dup(); in onChangeConfiguration2() local
[all …]
DPlaylistFetcher.cpp140 const sp<AMessage> &notify, in PlaylistFetcher() argument
145 : mNotify(notify), in PlaylistFetcher()
554 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
555 notify->setInt32("what", kWhatStarted); in onMessageReceived()
556 notify->setInt32("err", err); in onMessageReceived()
557 notify->post(); in onMessageReceived()
565 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
566 notify->setInt32("what", kWhatPaused); in onMessageReceived()
567 notify->setInt32("seekMode", in onMessageReceived()
571 notify->post(); in onMessageReceived()
[all …]

12345678910>>...13