Home
last modified time | relevance | path

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

12345678910>>...12

/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.cpp113 const sp<AMessage> &notify, in Renderer() argument
117 mNotify(notify), in Renderer()
463 const sp<AMessage> &notify) { in changeAudioFormat() argument
473 msg->setMessage("notify", notify); in changeAudioFormat()
533 sp<AMessage> notify; in onMessageReceived() local
534 CHECK(msg->findMessage("notify", &notify)); in onMessageReceived()
538 notify->setInt32("err", INVALID_OPERATION); in onMessageReceived()
539 notify->post(); in onMessageReceived()
548 onChangeAudioFormat(meta, notify); in onMessageReceived()
553 entry.mNotifyConsumed = notify; in onMessageReceived()
[all …]
DNuPlayer.cpp226 sp<AMessage> notify = new AMessage(kWhatMediaClockNotify, this); in init() local
227 mMediaClock->setNotificationMessage(notify); in init()
233 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
235 msg->setObject("source", new StreamingSource(notify, source)); in setDataSourceAsync()
265 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
269 source = new HTTPLiveSource(notify, httpService, url, headers); in setDataSourceAsync()
274 notify, httpService, url, headers, mUIDValid, mUID); in setDataSourceAsync()
282 notify, httpService, url, headers, mUIDValid, mUID, true); in setDataSourceAsync()
289 new GenericSource(notify, mUIDValid, mUID, mMediaClock); in setDataSourceAsync()
309 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() local
[all …]
DGenericSource.cpp55 const sp<AMessage> &notify, in GenericSource() argument
59 : Source(notify), in GenericSource()
608 sp<AMessage> notify = dupNotify(); in sendCacheStats() local
609 notify->setInt32("what", kWhatCacheStats); in sendCacheStats()
610 notify->setInt32("bandwidth", kbps); in sendCacheStats()
611 notify->post(); in sendCacheStats()
793 sp<AMessage> notify = dupNotify(); in sendTextData() local
794 notify->setInt32("what", what); in sendTextData()
795 notify->setBuffer("buffer", buffer); in sendTextData()
796 notify->post(); in sendTextData()
[all …]
DNuPlayerDecoder.cpp60 const sp<AMessage> &notify, in Decoder() argument
67 : DecoderBase(notify), in Decoder()
517 sp<AMessage> notify = mNotify->dup(); in onFlush() local
518 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
519 notify->post(); in onFlush()
552 sp<AMessage> notify = mNotify->dup(); in onShutdown() local
553 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
554 notify->post(); in onShutdown()
596 sp<AMessage> notify = mNotify->dup(); in handleError() local
597 notify->setInt32("what", kWhatError); in handleError()
[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()
794 sp<AMessage> notify = new AMessage(kWhatNotify, this); in onSDPLoaded() local
796 mHandler = new MyHandler(rtspUri.c_str(), notify, mUIDValid, mUID); in onSDPLoaded()
870 sp<AMessage> notify = dupNotify(); in startBufferingIfNecessary() local
871 notify->setInt32("what", kWhatPauseOnBufferingStart); in startBufferingIfNecessary()
872 notify->post(); in startBufferingIfNecessary()
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java129 mNM.notify(7001, n);
141 mNM.notify("default", 7004, n);
159 mNM.notify("default", 7004, n);
176 mNM.notify(6000, n);
182 mNM.notify(6001, n);
190 mNM.notify(6002, n);
197 mNM.notify(6003, n);
208 mNM.notify(6100, n);
214 mNM.notify(6101, n);
220 mNM.notify(6102, n);
[all …]
/frameworks/ml/nn/driver/sample/
DSampleDriverUtils.h28 void notify(const sp<hal::V1_0::IPreparedModelCallback>& callback, const hal::ErrorStatus& status,
31 void notify(const sp<hal::V1_2::IPreparedModelCallback>& callback, const hal::ErrorStatus& status,
34 void notify(const sp<hal::V1_3::IPreparedModelCallback>& callback, const hal::ErrorStatus& status,
37 void notify(const sp<hal::V1_0::IExecutionCallback>& callback, const hal::ErrorStatus& status,
40 void notify(const sp<hal::V1_2::IExecutionCallback>& callback, const hal::ErrorStatus& status,
43 void notify(const sp<hal::V1_3::IExecutionCallback>& callback, const hal::ErrorStatus& status,
63 notify(callback, hal::ErrorStatus::INVALID_ARGUMENT, nullptr);
67 notify(callback, hal::ErrorStatus::INVALID_ARGUMENT, nullptr);
72 notify(callback, hal::ErrorStatus::MISSED_DEADLINE_PERSISTENT, nullptr);
81 notify(callback, hal::ErrorStatus::INVALID_ARGUMENT, nullptr);
[all …]
DSampleDriverUtils.cpp28 void notify(const sp<V1_0::IPreparedModelCallback>& callback, const ErrorStatus& status, in notify() function
30 const auto ret = callback->notify(convertToV1_0(status), preparedModel); in notify()
36 void notify(const sp<V1_2::IPreparedModelCallback>& callback, const ErrorStatus& status, in notify() function
45 void notify(const sp<V1_3::IPreparedModelCallback>& callback, const ErrorStatus& status, in notify() function
54 void notify(const sp<V1_0::IExecutionCallback>& callback, const ErrorStatus& status, in notify() function
56 const auto ret = callback->notify(convertToV1_0(status)); in notify()
62 void notify(const sp<V1_2::IExecutionCallback>& callback, const ErrorStatus& status, in notify() function
70 void notify(const sp<V1_3::IExecutionCallback>& callback, const ErrorStatus& status, in notify() function
/frameworks/av/media/libstagefright/rtsp/
DARTPSource.cpp43 const sp<AMessage> &notify) in ARTPSource() argument
55 mNotify(notify) { in ARTPSource()
62 mAssembler = new AAVCAssembler(notify); in ARTPSource()
65 mAssembler = new AMPEG4AudioAssembler(notify, params); in ARTPSource()
68 mAssembler = new AH263Assembler(notify); in ARTPSource()
71 mAssembler = new AAMRAssembler(notify, false /* isWide */, params); in ARTPSource()
73 mAssembler = new AAMRAssembler(notify, true /* isWide */, params); in ARTPSource()
76 mAssembler = new AMPEG4ElementaryAssembler(notify, desc, params); in ARTPSource()
79 mAssembler = new ARawAudioAssembler(notify, desc.c_str(), params); in ARTPSource()
81 mAssembler = new AMPEG2TSAssembler(notify, desc.c_str(), params); in ARTPSource()
[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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkNotifierTest.java169 verify(mNotificationManager).notify(anyInt(), any()); in handleScanResults_hasCarrierNetworks_notificationDisplayed()
179 verify(mNotificationManager, never()).notify(anyInt(), any()); in handleScanResults_emptyList_notificationNotDisplayed()
192 verify(mNotificationManager, never()).notify(anyInt(), any()); in handleScanResults_featureDisabled_notificationNotDisplayed()
207 verify(mNotificationManager).notify(anyInt(), any()); in handleScanResults_notificationShown_emptyList_notificationCleared()
226 verify(mNotificationManager).notify(anyInt(), any()); in handleScanResults_notificationShown_noRecommendation_notificationCleared()
246 verify(mNotificationManager).notify(anyInt(), any()); in handleScanResults_notificationShown_screenOff_emptyList_notificationCleared()
266 verify(mNotificationManager).notify(anyInt(), any()); in clearPendingNotification_clearsNotificationIfOneIsShowing()
293 verify(mNotificationManager, never()).notify(anyInt(), any()); in screenOff_notificationNotShowing_handleScanResults_notificationNotDisplayed()
308 verify(mNotificationManager).notify(anyInt(), any()); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
323 verify(mNotificationManager, times(2)).notify(anyInt(), any()); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
[all …]
DOpenNetworkNotifierTest.java168 verify(mNotificationManager).notify(anyInt(), any()); in handleScanResults_hasOpenNetworks_notificationDisplayed()
178 verify(mNotificationManager, never()).notify(anyInt(), any()); in handleScanResults_emptyList_notificationNotDisplayed()
191 verify(mNotificationManager, never()).notify(anyInt(), any()); in handleScanResults_featureDisabled_notificationNotDisplayed()
206 verify(mNotificationManager).notify(anyInt(), any()); in handleScanResults_notificationShown_emptyList_notificationCleared()
225 verify(mNotificationManager).notify(anyInt(), any()); in handleScanResults_notificationShown_noRecommendation_notificationCleared()
245 verify(mNotificationManager).notify(anyInt(), any()); in handleScanResults_notificationShown_screenOff_emptyList_notificationCleared()
265 verify(mNotificationManager).notify(anyInt(), any()); in clearPendingNotification_clearsNotificationIfOneIsShowing()
292 verify(mNotificationManager, never()).notify(anyInt(), any()); in screenOff_notificationNotShowing_handleScanResults_notificationNotDisplayed()
307 verify(mNotificationManager).notify(anyInt(), any()); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
322 verify(mNotificationManager, times(2)).notify(anyInt(), any()); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
[all …]
DWakeupOnboardingTest.java93 verify(mNotificationManager).notify(eq(WakeupNotificationFactory.ONBOARD_ID), any()); in showsNotificationIfNotOnboarded()
105 .notify(eq(WakeupNotificationFactory.ONBOARD_ID), any()); in doesNotShowNotificationIfAlreadyOnboarded()
119 .notify(eq(WakeupNotificationFactory.ONBOARD_ID), any()); in doesNotShowNotificationIfAlreadyShowing()
241 .notify(eq(WakeupNotificationFactory.ONBOARD_ID), any()); in doesNotShowMultipleNotificationsWithin24Hours()
261 .notify(eq(WakeupNotificationFactory.ONBOARD_ID), any()); in showsNotificationsOutsideOf24Hours()
/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/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.cpp266 explicit BufferCallback(const sp<AMessage> &notify);
277 BufferCallback::BufferCallback(const sp<AMessage> &notify) in BufferCallback() argument
278 : mNotify(notify) {} in BufferCallback()
282 sp<AMessage> notify(mNotify->dup()); in onInputBufferAvailable() local
283 notify->setInt32("what", kWhatFillThisBuffer); in onInputBufferAvailable()
284 notify->setSize("index", index); in onInputBufferAvailable()
285 notify->setObject("buffer", buffer); in onInputBufferAvailable()
286 notify->post(); in onInputBufferAvailable()
291 sp<AMessage> notify(mNotify->dup()); in onOutputBufferAvailable() local
292 notify->setInt32("what", kWhatDrainThisBuffer); in onOutputBufferAvailable()
[all …]
/frameworks/native/services/inputflinger/include/
DInputListener.h44 virtual void notify(const sp<InputListenerInterface>& listener) const = 0;
61 virtual void notify(const sp<InputListenerInterface>& listener) const;
90 virtual void notify(const sp<InputListenerInterface>& listener) const;
142 virtual void notify(const sp<InputListenerInterface>& listener) const;
163 virtual void notify(const sp<InputListenerInterface>& listener) const;
182 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()
629 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
630 notify->setInt32("what", kWhatStarted); in onMessageReceived()
631 notify->setInt32("err", err); in onMessageReceived()
632 notify->post(); in onMessageReceived()
640 sp<AMessage> notify = mNotify->dup(); in onMessageReceived() local
641 notify->setInt32("what", kWhatPaused); in onMessageReceived()
642 notify->setInt32("seekMode", in onMessageReceived()
646 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);

12345678910>>...12