Searched defs:listener (Results 1 - 25 of 246) sorted by path

12345678910

/frameworks/av/camera/
H A DCamera.cpp330 void Camera::setListener(const sp<CameraListener>& listener) argument
333 mListener = listener;
336 void Camera::setRecordingProxyListener(const sp<ICameraRecordingProxyListener>& listener) argument
339 mRecordingProxyListener = listener;
353 sp<CameraListener> listener; local
356 listener = mListener;
358 if (listener != NULL) {
359 listener->notify(msgType, ext1, ext2);
367 sp<CameraListener> listener; local
370 listener
393 sp<CameraListener> listener; local
423 startRecording(const sp<ICameraRecordingProxyListener>& listener) argument
[all...]
H A DICameraRecordingProxy.cpp43 status_t startRecording(const sp<ICameraRecordingProxyListener>& listener) argument
48 data.writeStrongBinder(listener->asBinder());
82 sp<ICameraRecordingProxyListener> listener = local
84 reply->writeInt32(startRecording(listener));
/frameworks/av/cmds/stagefright/
H A Dstream.cpp48 virtual void setListener(const sp<IStreamListener> &listener);
82 void MyStreamSource::setListener(const sp<IStreamListener> &listener) { argument
83 mListener = listener;
128 virtual void setListener(const sp<IStreamListener> &listener);
190 const sp<IStreamListener> &listener) {
191 mListener = listener;
189 setListener( const sp<IStreamListener> &listener) argument
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp338 sp<DrmManagerClient::OnInfoListener> listener = mOnInfoListener; local
339 listener->onInfo(event);
/frameworks/av/include/media/stagefright/
H A DMediaWriter.h43 virtual void setListener(const sp<IMediaRecorderClient>& listener) { argument
44 mListener = listener;
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp1557 void PreviewPlayer::setListener(const wp<MediaPlayerBase> &listener) { argument
1559 mListener = listener;
1638 sp<MediaPlayerBase> listener = mListener.promote(); local
1640 if (listener != NULL) {
1641 listener->sendEvent(msg, ext1, ext2);
/frameworks/av/media/common_time/
H A DICommonClock.cpp206 const sp<ICommonClockListener>& listener) {
209 data.writeStrongBinder(listener->asBinder());
221 const sp<ICommonClockListener>& listener) {
224 data.writeStrongBinder(listener->asBinder());
376 sp<ICommonClockListener> listener = local
378 status_t status = registerListener(listener);
385 sp<ICommonClockListener> listener = local
387 status_t status = unregisterListener(listener);
205 registerListener( const sp<ICommonClockListener>& listener) argument
220 unregisterListener( const sp<ICommonClockListener>& listener) argument
/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp210 status_t setListener(const sp<IMediaRecorderClient>& listener) argument
212 ALOGV("setListener(%p)", listener.get());
215 data.writeStrongBinder(listener->asBinder());
421 sp<IMediaRecorderClient> listener = local
423 reply->writeInt32(setListener(listener));
H A DIStreamSource.cpp52 virtual void setListener(const sp<IStreamListener> &listener) { argument
55 data.writeStrongBinder(listener->asBinder());
H A Dmediaplayer.cpp100 status_t MediaPlayer::setListener(const sp<MediaPlayerListener>& listener) argument
104 mListener = listener;
745 sp<MediaPlayerListener> listener = mListener; local
749 if ((listener != 0) && send) {
752 listener->notify(msg, ext1, ext2, obj);
H A Dmediarecorder.cpp650 status_t MediaRecorder::setListener(const sp<MediaRecorderListener>& listener) argument
654 mListener = listener;
663 sp<MediaRecorderListener> listener; local
665 listener = mListener;
668 if (listener != NULL) {
671 listener->notify(msg, ext1, ext2);
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp317 status_t MediaRecorderClient::setListener(const sp<IMediaRecorderClient>& listener) argument
325 return mRecorder->setListener(listener);
H A DStagefrightRecorder.cpp727 status_t StagefrightRecorder::setListener(const sp<IMediaRecorderClient> &listener) { argument
728 mListener = listener;
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp246 void AwesomePlayer::setListener(const wp<MediaPlayerBase> &listener) { argument
248 mListener = listener;
590 sp<MediaPlayerBase> listener = mListener.promote(); local
592 if (listener != NULL) {
593 listener->sendEvent(msg, ext1, ext2);
782 sp<MediaPlayerBase> listener = mListener.promote(); local
783 if (listener != NULL) {
792 listener->sendEvent(
H A DSurfaceMediaSource.cpp69 wp<BufferQueue::ConsumerListener> listener; local
71 listener = static_cast<BufferQueue::ConsumerListener*>(this);
72 proxy = new BufferQueue::ProxyConsumerListener(listener);
93 const sp<FrameAvailableListener>& listener) {
96 mFrameAvailableListener = listener;
444 sp<FrameAvailableListener> listener; local
448 listener = mFrameAvailableListener;
451 if (listener != NULL) {
453 listener->onFrameAvailable();
92 setFrameAvailableListener( const sp<FrameAvailableListener>& listener) argument
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextDriver.cpp43 const wp<MediaPlayerBase> &listener)
45 mListener(listener),
50 mPlayer = new TimedTextPlayer(listener);
42 TimedTextDriver( const wp<MediaPlayerBase> &listener) argument
H A DTimedTextPlayer.cpp41 TimedTextPlayer::TimedTextPlayer(const wp<MediaPlayerBase> &listener) argument
42 : mListener(listener),
98 sp<MediaPlayerBase> listener = mListener.promote(); local
99 if (listener == NULL) {
106 listener->getCurrentPosition(&positionMs);
141 sp<MediaPlayerBase> listener = mListener.promote(); local
142 if (listener != NULL) {
144 listener->getCurrentPosition(&positionMs);
271 sp<MediaPlayerBase> listener = mListener.promote(); local
272 if (listener
294 sp<MediaPlayerBase> listener = mListener.promote(); local
303 sp<MediaPlayerBase> listener = mListener.promote(); local
[all...]
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DTunnelRenderer.cpp54 virtual void setListener(const sp<IStreamListener> &listener);
92 const sp<IStreamListener> &listener) {
93 mListener = listener;
91 setListener( const sp<IStreamListener> &listener) argument
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp1496 wp<camera2::FrameProcessor::FilteredListener> listener) {
1497 return mFrameProcessor->registerListener(minId, maxId, listener);
1501 wp<camera2::FrameProcessor::FilteredListener> listener) {
1502 return mFrameProcessor->removeListener(minId, maxId, listener);
1495 registerFrameListener(int32_t minId, int32_t maxId, wp<camera2::FrameProcessor::FilteredListener> listener) argument
1500 removeFrameListener(int32_t minId, int32_t maxId, wp<camera2::FrameProcessor::FilteredListener> listener) argument
H A DCamera2Device.cpp433 status_t Camera2Device::setNotifyCallback(NotificationListener *listener) { argument
437 reinterpret_cast<void*>(listener) );
450 NotificationListener *listener = reinterpret_cast<NotificationListener*>(user); local
453 if (listener != NULL) {
456 listener->notifyError(ext1, ext2, ext3);
460 listener->notifyShutter(ext1, timestamp);
464 listener->notifyAutoFocus(ext1, ext2);
467 listener->notifyAutoExposure(ext1, ext2);
470 listener->notifyAutoWhitebalance(ext1, ext2);
536 buffer_handle_t *buffer, wp<BufferReleasedListener> listener) {
535 pushReprocessBuffer(int reprocessStreamId, buffer_handle_t *buffer, wp<BufferReleasedListener> listener) argument
1398 sp<BufferReleasedListener> listener = s->releaseListener.promote(); local
1402 sp<BufferReleasedListener> listener = s->releaseListener.promote(); local
1502 sp<BufferReleasedListener> listener = s->releaseListener.promote(); local
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DFrameProcessor.cpp40 int32_t maxId, wp<FilteredListener> listener) {
42 ALOGV("%s: Registering listener for frame id range %d - %d",
44 RangeListener rListener = { minId, maxId, listener };
50 int32_t maxId, wp<FilteredListener> listener) {
56 item->listener == listener) {
151 sp<FilteredListener> listener = item->listener.promote(); local
152 if (listener == 0) {
156 listeners.push_back(listener);
39 registerListener(int32_t minId, int32_t maxId, wp<FilteredListener> listener) argument
49 removeListener(int32_t minId, int32_t maxId, wp<FilteredListener> listener) argument
[all...]
H A DFrameProcessor.h48 // Register a listener for a range of IDs [minId, maxId). Multiple listeners
50 status_t registerListener(int32_t minId, int32_t maxId, wp<FilteredListener> listener);
51 status_t removeListener(int32_t minId, int32_t maxId, wp<FilteredListener> listener);
65 wp<FilteredListener> listener; member in struct:android::camera2::FrameProcessor::RangeListener
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java1340 private void postToHandler(Handler handler, final OnAccountsUpdateListener listener, argument
1350 listener.onAccountsUpdated(accountsCopy);
1911 * so that it can read the updated list of accounts and send them to the listener
1929 * {@link AccountManager}. This listener will be notified whenever the
1932 * <p>As long as this listener is present, the AccountManager instance
1935 * memory leaks, you must remove this listener before then. Normally
1944 * @param listener The listener to send notifications to
1947 * @param updateImmediately If true, the listener will be invoked
1949 * @throws IllegalArgumentException if listener i
1952 addOnAccountsUpdatedListener(final OnAccountsUpdateListener listener, Handler handler, boolean updateImmediately) argument
1993 removeOnAccountsUpdatedListener(OnAccountsUpdateListener listener) argument
[all...]
H A DIAccountAuthenticatorCache.java57 * Sets a listener that will be notified whenever the authenticator set changes
58 * @param listener the listener to notify, or null
62 void setListener(RegisteredServicesCacheListener<AuthenticatorDescription> listener, argument
/frameworks/base/core/java/android/animation/
H A DAnimator.java137 * Adds a listener to the set of listeners that are sent events through the life of an
140 * @param listener the listener to be added to the current set of listeners for this animation.
142 public void addListener(AnimatorListener listener) { argument
146 mListeners.add(listener);
150 * Removes a listener from the set listening to this animation.
152 * @param listener the listener to be removed from the current set of listeners for this
155 public void removeListener(AnimatorListener listener) { argument
159 mListeners.remove(listener);
[all...]

Completed in 975 milliseconds

12345678910