Home
last modified time | relevance | path

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

1234567891011

/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/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()
123 sp<AMessage> notify; in onMessageReceived() local
124 CHECK(msg->findMessage("notify", &notify)); in onMessageReceived()
125 notify->post(); in onMessageReceived()
158 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
159 notify->setInt32("what", kWhatEOS); in onMessageReceived()
160 notify->post(); in onMessageReceived()
[all …]
DPlaybackSession.cpp56 Track(const sp<AMessage> &notify,
62 Track(const sp<AMessage> &notify, const sp<AMessage> &format);
127 const sp<AMessage> &notify, in Track() argument
132 : mNotify(notify), in Track()
143 const sp<AMessage> &notify, const sp<AMessage> &format) in Track() argument
144 : mNotify(notify), in Track()
248 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
249 notify->setInt32("what", kWhatStopped); in onMessageReceived()
250 notify->post(); in onMessageReceived()
348 const sp<AMessage> &notify, in PlaybackSession() argument
[all …]
DConverter.cpp41 const sp<AMessage> &notify, in Converter() argument
46 mNotify(notify), in Converter()
281 sp<AMessage> notify = mNotify->dup(); in notifyError() local
282 notify->setInt32("what", kWhatError); in notifyError()
283 notify->setInt32("err", err); in notifyError()
284 notify->post(); in notifyError()
464 sp<AMessage> notify = new AMessage(kWhatEncoderActivity, id()); in scheduleDoMoreWork() local
465 notify->setInt64("whenUs", ALooper::GetNowUs()); in scheduleDoMoreWork()
466 mEncoder->requestActivityNotification(notify); in scheduleDoMoreWork()
515 sp<AMessage> notify = mNotify->dup(); in feedRawAudioInputBuffers() local
[all …]
DMediaPuller.h33 MediaPuller(const sp<MediaSource> &source, const sp<AMessage> &notify);
36 void stopAsync(const sp<AMessage> &notify);
DWifiDisplaySource.cpp160 sp<AMessage> notify = new AMessage(kWhatRTSPNotify, id()); in onMessageReceived() local
163 mInterfaceAddr, port, notify, &mSessionID); in onMessageReceived()
1222 sp<AMessage> notify = new AMessage(kWhatPlaybackSessionNotify, id()); in onSetupRequest() local
1223 notify->setInt32("playbackSessionID", playbackSessionID); in onSetupRequest()
1224 notify->setInt32("sessionID", sessionID); in onSetupRequest()
1228 mNetSession, notify, mInterfaceAddr, mHDCP, mMediaPath.c_str()); in onSetupRequest()
1646 HDCPObserver(const sp<AMessage> &notify);
1648 virtual void notify(
1658 const sp<AMessage> &notify) in HDCPObserver() argument
1659 : mNotify(notify) { in HDCPObserver()
[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.cpp33 SDPLoader::SDPLoader(const sp<AMessage> &notify, uint32_t flags, bool uidValid, uid_t uid) in SDPLoader() argument
34 : mNotify(notify), in SDPLoader()
147 sp<AMessage> notify = mNotify->dup(); in onLoad() local
148 notify->setInt32("what", kWhatSDPLoaded); in onLoad()
149 notify->setInt32("result", err); in onLoad()
150 notify->setObject("description", desc); in onLoad()
151 notify->post(); in onLoad()
/frameworks/av/media/libstagefright/wifi-display/
DMediaSender.cpp38 const sp<AMessage> &notify) in MediaSender() argument
40 mNotify(notify), in MediaSender()
122 sp<AMessage> notify = new AMessage(kWhatSenderNotify, id()); in initAsync() local
123 notify->setInt32("generation", mGeneration); in initAsync()
124 mTSSender = new RTPSender(mNetSession, notify); in initAsync()
171 sp<AMessage> notify = new AMessage(kWhatSenderNotify, id()); in initAsync() local
172 notify->setInt32("generation", mGeneration); in initAsync()
173 notify->setSize("trackIndex", trackIndex); in initAsync()
175 info->mSender = new RTPSender(mNetSession, notify); in initAsync()
350 sp<AMessage> notify = mNotify->dup(); in notifyInitDone() local
[all …]
DANetworkSession.cpp70 const sp<AMessage> &notify);
118 void notify(NotificationReason reason);
145 const sp<AMessage> &notify) in Session() argument
150 mNotify(notify), in Session()
266 sp<AMessage> notify = mNotify->dup(); in readMore() local
267 notify->setInt32("sessionID", mSessionID); in readMore()
268 notify->setInt32("reason", kWhatDatagram); in readMore()
271 notify->setString( in readMore()
280 notify->setInt32("fromPort", ntohs(remoteAddr.sin_port)); in readMore()
282 notify->setBuffer("data", buf); in readMore()
[all …]
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,
119 const sp<AMessage> &notify,
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp32 const sp<AMessage> &notify, in Decoder() argument
34 : mNotify(notify), in Decoder()
94 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
95 notify->setMessage("codec-request", msg); in onMessageReceived()
96 notify->post(); in onMessageReceived()
127 sp<AMessage> notify = mNotify->dup(); in onFillThisBuffer() local
128 notify->setMessage("codec-request", msg); in onFillThisBuffer()
129 notify->post(); in onFillThisBuffer()
DNuPlayerRenderer.cpp34 const sp<AMessage> &notify, in Renderer() argument
37 mNotify(notify), in Renderer()
412 sp<AMessage> notify = mNotify->dup(); in notifyVideoRenderingStart() local
413 notify->setInt32("what", kWhatVideoRenderingStart); in notifyVideoRenderingStart()
414 notify->post(); in notifyVideoRenderingStart()
418 sp<AMessage> notify = mNotify->dup(); in notifyEOS() local
419 notify->setInt32("what", kWhatEOS); in notifyEOS()
420 notify->setInt32("audio", static_cast<int32_t>(audio)); in notifyEOS()
421 notify->setInt32("finalResult", finalResult); in notifyEOS()
422 notify->post(); in notifyEOS()
[all …]
DNuPlayer.cpp149 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync() local
154 msg->setObject("source", new MP4Source(notify, source)); in setDataSourceAsync()
156 msg->setObject("source", new StreamingSource(notify, source)); in setDataSourceAsync()
184 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync() local
188 source = new HTTPLiveSource(notify, url, headers, mUIDValid, mUID); in setDataSourceAsync()
190 source = new RTSPSource(notify, url, headers, mUIDValid, mUID); in setDataSourceAsync()
195 source = new RTSPSource(notify, url, headers, mUIDValid, mUID, true); in setDataSourceAsync()
197 source = new GenericSource(notify, url, headers, mUIDValid, mUID); in setDataSourceAsync()
207 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync() local
209 sp<Source> source = new GenericSource(notify, fd, offset, length); in setDataSourceAsync()
[all …]
DRTSPSource.cpp35 const sp<AMessage> &notify, in RTSPSource() argument
41 : Source(notify), in RTSPSource()
87 sp<AMessage> notify = new AMessage(kWhatNotify, mReflector->id()); in prepareAsync() local
93 mSDPLoader = new SDPLoader(notify, in prepareAsync()
100 mHandler = new MyHandler(mURL.c_str(), notify, mUIDValid, mUID); in prepareAsync()
202 sp<AMessage> notify = dupNotify(); in dequeueAccessUnit() local
203 notify->setInt32("what", kWhatBufferingEnd); in dequeueAccessUnit()
204 notify->post(); in dequeueAccessUnit()
248 sp<AMessage> notify = dupNotify(); in dequeueAccessUnit() local
249 notify->setInt32("what", kWhatBufferingStart); in dequeueAccessUnit()
[all …]
DHTTPLiveSource.cpp37 const sp<AMessage> &notify, in HTTPLiveSource() argument
41 : Source(notify), in HTTPLiveSource()
74 sp<AMessage> notify = new AMessage(kWhatSessionNotify, id()); in prepareAsync() local
77 notify, in prepareAsync()
/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.cpp170 DeathNotifier(const sp<AMessage> &notify) in DeathNotifier()
171 : mNotify(notify) { in DeathNotifier()
515 sp<AMessage> notify = mNotify->dup(); in allocateBuffersOnPort() local
516 notify->setInt32("what", ACodec::kWhatBuffersAllocated); in allocateBuffersOnPort()
518 notify->setInt32("portIndex", portIndex); in allocateBuffersOnPort()
528 notify->setObject("portDesc", desc); in allocateBuffersOnPort()
529 notify->post(); in allocateBuffersOnPort()
2233 sp<AMessage> notify = mNotify->dup(); in sendFormatChange() local
2234 notify->setInt32("what", kWhatOutputFormatChanged); in sendFormatChange()
2253 notify->setString("mime", MEDIA_MIMETYPE_VIDEO_RAW); in sendFormatChange()
[all …]
/frameworks/base/services/input/
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/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp38 const sp<AMessage> &notify) in RTPSender() argument
40 mNotify(notify), in RTPSender()
774 sp<AMessage> notify = mNotify->dup(); in notifyInitDone() local
775 notify->setInt32("what", kWhatInitDone); in notifyInitDone()
776 notify->setInt32("err", err); in notifyInitDone()
777 notify->post(); in notifyInitDone()
781 sp<AMessage> notify = mNotify->dup(); in notifyError() local
782 notify->setInt32("what", kWhatError); in notifyError()
783 notify->setInt32("err", err); in notifyError()
784 notify->post(); in notifyError()
[all …]
/frameworks/av/drm/libdrmframework/include/
DIDrmServiceListener.h43 virtual status_t notify(const DrmInfoEvent& event) = 0;
55 virtual status_t notify(const DrmInfoEvent& event);
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.h35 virtual void notify(DrmPlugin::EventType eventType, int extra,
47 void notify(DrmPlugin::EventType, int extra, const Parcel *obj);
/frameworks/av/drm/common/
DIDrmServiceListener.cpp27 status_t BpDrmServiceListener::notify(const DrmInfoEvent& event) { in notify() function in BpDrmServiceListener
52 status_t status = notify(DrmInfoEvent(uniqueId, type, message)); in onTransact()
/frameworks/av/media/libmedia/
DIMediaRecorderClient.cpp38 virtual void notify(int msg, int ext1, int ext2) in notify() function in android::BpMediaRecorderClient
62 notify(msg, ext1, ext2); in onTransact()

1234567891011