Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java102 mNM.notify(1, n);
126 mNM.notify(1, n);
138 mNM.notify(1, n);
148 mNM.notify(1, n);
156 mNM.notify(1, n);
166 mNM.notify(1, n);
182 mNM.notify(1, n);
184 mNM.notify(2, new Notification(NotificationTestList.this,
190 mNM.notify(3, new Notification(NotificationTestList.this,
204 mNM.notify(1, 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, id()); 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, id()); 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, id()); 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()
349 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/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp37 const sp<AMessage> &notify, in HTTPLiveSource() argument
41 : Source(notify), in HTTPLiveSource()
84 sp<AMessage> notify = new AMessage(kWhatSessionNotify, id()); in prepareAsync() local
87 notify, in prepareAsync()
193 sp<AMessage> notify = dupNotify(); in onMessageReceived() local
194 notify->setInt32("what", kWhatSubtitleData); in onMessageReceived()
195 notify->setBuffer("buffer", buffer); in onMessageReceived()
196 notify->post(); in onMessageReceived()
275 sp<AMessage> notify = dupNotify(); in onSessionNotify() local
276 notify->setInt32("what", kWhatQueueDecoderShutdown); in onSessionNotify()
[all …]
DNuPlayerDecoderPassThrough.cpp43 const sp<AMessage> &notify, in DecoderPassThrough() argument
46 : DecoderBase(notify), in DecoderPassThrough()
361 sp<AMessage> notify = mNotify->dup(); in onResume() local
362 notify->setInt32("what", kWhatResumeCompleted); in onResume()
363 notify->post(); in onResume()
381 sp<AMessage> notify = mNotify->dup(); in onFlush() local
382 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
383 notify->post(); in onFlush()
396 sp<AMessage> notify = mNotify->dup(); in onShutdown() local
397 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
[all …]
DNuPlayerDecoderBase.cpp31 NuPlayer::DecoderBase::DecoderBase(const sp<AMessage> &notify) in DecoderBase() argument
32 : mNotify(notify), in DecoderBase()
193 sp<AMessage> notify = mNotify->dup(); in handleError() local
194 notify->setInt32("what", kWhatError); in handleError()
195 notify->setInt32("err", err); in handleError()
196 notify->post(); in handleError()
DNuPlayer.cpp204 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync() local
206 msg->setObject("source", new StreamingSource(notify, source)); in setDataSourceAsync()
235 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync() local
239 source = new HTTPLiveSource(notify, httpService, url, headers); in setDataSourceAsync()
242 notify, httpService, url, headers, mUIDValid, mUID); in setDataSourceAsync()
248 notify, httpService, url, headers, mUIDValid, mUID, true); in setDataSourceAsync()
251 new GenericSource(notify, mUIDValid, mUID); in setDataSourceAsync()
271 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync() local
274 new GenericSource(notify, mUIDValid, mUID); in setDataSourceAsync()
1065 sp<AMessage> notify = new AMessage(kWhatRendererNotify, id()); in onStart() local
[all …]
DRTSPSource.cpp36 const sp<AMessage> &notify, in RTSPSource() argument
43 : Source(notify), in RTSPSource()
90 sp<AMessage> notify = new AMessage(kWhatNotify, id()); in prepareAsync() local
96 mSDPLoader = new SDPLoader(notify, in prepareAsync()
103 mHandler = new MyHandler(mURL.c_str(), notify, mUIDValid, mUID); in prepareAsync()
603 sp<AMessage> notify = new AMessage(kWhatNotify, id()); in onSDPLoaded() local
605 mHandler = new MyHandler(rtspUri.c_str(), notify, mUIDValid, mUID); in onSDPLoaded()
679 sp<AMessage> notify = dupNotify(); in startBufferingIfNecessary() local
680 notify->setInt32("what", kWhatBufferingStart); in startBufferingIfNecessary()
681 notify->post(); in startBufferingIfNecessary()
[all …]
DNuPlayerDecoder.cpp42 const sp<AMessage> &notify, in Decoder() argument
47 : DecoderBase(notify), in Decoder()
264 sp<AMessage> notify = mNotify->dup(); in onFlush() local
265 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
266 notify->post(); in onFlush()
304 sp<AMessage> notify = mNotify->dup(); in onShutdown() local
305 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
306 notify->post(); in onShutdown()
433 sp<AMessage> notify = mNotify->dup(); in handleAnOutputBuffer() local
434 notify->setInt32("what", kWhatVideoSizeChanged); in handleAnOutputBuffer()
[all …]
DNuPlayerRenderer.cpp56 const sp<AMessage> &notify, in Renderer() argument
59 mNotify(notify), in Renderer()
557 sp<AMessage> notify = mNotify->dup(); in notifyIfMediaRenderingStarted() local
558 notify->setInt32("what", kWhatMediaRenderingStart); in notifyIfMediaRenderingStarted()
559 notify->post(); in notifyIfMediaRenderingStarted()
949 sp<AMessage> notify = mNotify->dup(); in notifyVideoRenderingStart() local
950 notify->setInt32("what", kWhatVideoRenderingStart); in notifyVideoRenderingStart()
951 notify->post(); in notifyVideoRenderingStart()
955 sp<AMessage> notify = mNotify->dup(); in notifyEOS() local
956 notify->setInt32("what", kWhatEOS); in notifyEOS()
[all …]
/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.cpp215 DeathNotifier(const sp<AMessage> &notify) in DeathNotifier()
216 : mNotify(notify) { in DeathNotifier()
601 sp<AMessage> notify = mNotify->dup(); in allocateBuffersOnPort() local
602 notify->setInt32("what", CodecBase::kWhatBuffersAllocated); in allocateBuffersOnPort()
604 notify->setInt32("portIndex", portIndex); in allocateBuffersOnPort()
614 notify->setObject("portDesc", desc); in allocateBuffersOnPort()
615 notify->post(); in allocateBuffersOnPort()
3452 status_t ACodec::getPortFormat(OMX_U32 portIndex, sp<AMessage> &notify) { in getPortFormat() argument
3473 notify->setString("mime", MEDIA_MIMETYPE_VIDEO_RAW); in getPortFormat()
3475 notify->setInt32("stride", videoDef->nStride); in getPortFormat()
[all …]
DMediaCodecSource.cpp43 status_t start(const sp<MetaData> &meta, const sp<AMessage> &notify);
115 const sp<AMessage> &notify) { in start() argument
122 mNotify = notify; in start()
161 sp<AMessage> notify = mNotify->dup(); in handleEOS() local
162 notify->setPointer("accessUnit", NULL); in handleEOS()
163 notify->post(); in handleEOS()
229 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
231 notify->setPointer("accessUnit", mbuf); in onMessageReceived()
232 notify->post(); in onMessageReceived()
623 sp<AMessage> notify = new AMessage( in onStart() local
[all …]
/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp37 const sp<AMessage> &notify) in RTPSender() argument
39 mNotify(notify), in RTPSender()
772 sp<AMessage> notify = mNotify->dup(); in parseAPP() local
773 notify->setInt32("what", kWhatInformSender); in parseAPP()
774 notify->setInt64("avgLatencyUs", avgLatencyUs); in parseAPP()
775 notify->setInt64("maxLatencyUs", maxLatencyUs); in parseAPP()
776 notify->post(); in parseAPP()
783 sp<AMessage> notify = mNotify->dup(); in notifyInitDone() local
784 notify->setInt32("what", kWhatInitDone); in notifyInitDone()
785 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;
111 virtual void notify(const sp<InputListenerInterface>& listener) const;
131 virtual void notify(const sp<InputListenerInterface>& listener) const;
149 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/base/core/jni/
Dandroid_server_FingerprintManager.cpp51 jmethodID notify; member
101 gFingerprintServiceClassInfo.notify, msg.type, arg1, arg2); in hal_notify_callback()
107 GET_METHOD_ID(gFingerprintServiceClassInfo.notify, gFingerprintServiceClassInfo.clazz, in nativeInit()
170 if (gContext.device->notify != hal_notify_callback) { in nativeOpenHal()
171 ALOGE("NOTIFY not set properly: %p != %p", gContext.device->notify, hal_notify_callback); in nativeOpenHal()
196 GET_METHOD_ID(gFingerprintServiceClassInfo.notify, gFingerprintServiceClassInfo.clazz, "notify", in register_android_server_fingerprint_FingerprintService()
/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/drm/libdrmframework/include/
DIDrmServiceListener.h43 virtual status_t notify(const DrmInfoEvent& event) = 0;
55 virtual status_t notify(const DrmInfoEvent& event);

12345678910>>...12