Home
last modified time | relevance | path

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

12345678910>>...15

/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()
222 sp<AMessage> notify = dupNotify(); in pollForRawData() local
223 notify->setInt32("what", pushWhat); in pollForRawData()
224 notify->setBuffer("buffer", buffer); in pollForRawData()
232 notify->post(); in pollForRawData()
239 notify->post(); in pollForRawData()
345 sp<AMessage> notify = dupNotify(); in onSessionNotify() local
[all …]
DNuPlayerDecoderPassThrough.cpp43 const sp<AMessage> &notify, in DecoderPassThrough() argument
46 : DecoderBase(notify), in DecoderPassThrough()
367 sp<AMessage> notify = mNotify->dup(); in onResume() local
368 notify->setInt32("what", kWhatResumeCompleted); in onResume()
369 notify->post(); in onResume()
394 sp<AMessage> notify = mNotify->dup(); in onFlush() local
395 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
396 notify->post(); in onFlush()
405 sp<AMessage> notify = mNotify->dup(); in onShutdown() local
406 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
[all …]
DNuPlayerDecoderBase.cpp31 NuPlayer::DecoderBase::DecoderBase(const sp<AMessage> &notify) in DecoderBase() argument
32 : mNotify(notify), in DecoderBase()
224 sp<AMessage> notify = mNotify->dup(); in handleError() local
225 notify->setInt32("what", kWhatError); in handleError()
226 notify->setInt32("err", err); in handleError()
227 notify->post(); in handleError()
DNuPlayerDecoder.cpp49 const sp<AMessage> &notify, in Decoder() argument
55 : DecoderBase(notify), in Decoder()
400 sp<AMessage> notify = mNotify->dup(); in onFlush() local
401 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
402 notify->post(); in onFlush()
436 sp<AMessage> notify = mNotify->dup(); in onShutdown() local
437 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
438 notify->post(); in onShutdown()
482 sp<AMessage> notify = mNotify->dup(); in handleError() local
483 notify->setInt32("what", kWhatError); in handleError()
[all …]
DNuPlayer.cpp215 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
217 msg->setObject("source", new StreamingSource(notify, source)); in setDataSourceAsync()
246 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
250 source = new HTTPLiveSource(notify, httpService, url, headers); in setDataSourceAsync()
253 notify, httpService, url, headers, mUIDValid, mUID); in setDataSourceAsync()
259 notify, httpService, url, headers, mUIDValid, mUID, true); in setDataSourceAsync()
262 new GenericSource(notify, mUIDValid, mUID); in setDataSourceAsync()
282 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
285 new GenericSource(notify, mUIDValid, mUID); in setDataSourceAsync()
300 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
[all …]
DRTSPSource.cpp42 const sp<AMessage> &notify, in RTSPSource() argument
49 : Source(notify), in RTSPSource()
102 sp<AMessage> notify = new AMessage(kWhatNotify, this); in prepareAsync() local
108 mSDPLoader = new SDPLoader(notify, in prepareAsync()
115 mHandler = new MyHandler(mURL.c_str(), notify, mUIDValid, mUID); in prepareAsync()
704 sp<AMessage> notify = new AMessage(kWhatNotify, this); in onSDPLoaded() local
706 mHandler = new MyHandler(rtspUri.c_str(), notify, mUIDValid, mUID); in onSDPLoaded()
780 sp<AMessage> notify = dupNotify(); in startBufferingIfNecessary() local
781 notify->setInt32("what", kWhatPauseOnBufferingStart); in startBufferingIfNecessary()
782 notify->post(); in startBufferingIfNecessary()
[all …]
DGenericSource.cpp50 const sp<AMessage> &notify, in GenericSource() argument
53 : Source(notify), in GenericSource()
71 mBufferingMonitor = new BufferingMonitor(notify); in GenericSource()
798 sp<AMessage> notify = dupNotify(); in sendTextData() local
799 notify->setInt32("what", what); in sendTextData()
800 notify->setBuffer("buffer", buffer); in sendTextData()
801 notify->post(); in sendTextData()
831 sp<AMessage> notify = dupNotify(); in sendGlobalTextData() local
832 notify->setInt32("what", what); in sendGlobalTextData()
833 notify->setBuffer("buffer", mGlobalTimedText); in sendGlobalTextData()
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java109 mNM.notify(7001, n);
122 mNM.notify(6000, n);
130 mNM.notify(6001, n);
138 mNM.notify(6002, n);
147 mNM.notify(6003, n);
160 mNM.notify(6100, n);
168 mNM.notify(6101, n);
176 mNM.notify(6102, n);
190 mNM.notify(6103, n);
204 mNM.notify("public", 7009, n);
[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/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.cpp138 sp<AMessage> notify = mNotify->dup(); in onMessages() local
145 notify->setInt32("node", omx_msg.node); in onMessages()
203 notify->setObject("messages", msgList); in onMessages()
204 notify->post(); in onMessages()
270 DeathNotifier(const sp<AMessage> &notify) in DeathNotifier()
271 : mNotify(notify) { in DeathNotifier()
935 sp<AMessage> notify = mNotify->dup(); in allocateBuffersOnPort() local
936 notify->setInt32("what", CodecBase::kWhatBuffersAllocated); in allocateBuffersOnPort()
938 notify->setInt32("portIndex", portIndex); in allocateBuffersOnPort()
947 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/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()
562 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
563 notify->setInt32("what", kWhatStarted); in onMessageReceived()
564 notify->setInt32("err", err); in onMessageReceived()
565 notify->post(); in onMessageReceived()
573 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
574 notify->setInt32("what", kWhatPaused); in onMessageReceived()
575 notify->setInt32("seekMode", in onMessageReceived()
579 notify->post(); in onMessageReceived()
[all …]
/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()

12345678910>>...15