/frameworks/av/camera/ |
H A D | Camera.cpp | 330 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 D | ICameraRecordingProxy.cpp | 43 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 D | stream.cpp | 48 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 D | DrmManagerClientImpl.cpp | 338 sp<DrmManagerClient::OnInfoListener> listener = mOnInfoListener; local 339 listener->onInfo(event);
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaWriter.h | 43 virtual void setListener(const sp<IMediaRecorderClient>& listener) { argument 44 mListener = listener;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 1557 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 D | ICommonClock.cpp | 206 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 D | IMediaRecorder.cpp | 210 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 D | IStreamSource.cpp | 52 virtual void setListener(const sp<IStreamListener> &listener) { argument 55 data.writeStrongBinder(listener->asBinder());
|
H A D | mediaplayer.cpp | 100 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 D | mediarecorder.cpp | 650 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 D | MediaRecorderClient.cpp | 317 status_t MediaRecorderClient::setListener(const sp<IMediaRecorderClient>& listener) argument 325 return mRecorder->setListener(listener);
|
H A D | StagefrightRecorder.cpp | 727 status_t StagefrightRecorder::setListener(const sp<IMediaRecorderClient> &listener) { argument 728 mListener = listener;
|
/frameworks/av/media/libstagefright/ |
H A D | AwesomePlayer.cpp | 246 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 D | SurfaceMediaSource.cpp | 69 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 D | TimedTextDriver.cpp | 43 const wp<MediaPlayerBase> &listener) 45 mListener(listener), 50 mPlayer = new TimedTextPlayer(listener); 42 TimedTextDriver( const wp<MediaPlayerBase> &listener) argument
|
H A D | TimedTextPlayer.cpp | 41 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 D | TunnelRenderer.cpp | 54 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 D | Camera2Client.cpp | 1496 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 D | Camera2Device.cpp | 433 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 D | FrameProcessor.cpp | 40 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 D | FrameProcessor.h | 48 // 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 D | AccountManager.java | 1340 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 D | IAccountAuthenticatorCache.java | 57 * 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 D | Animator.java | 137 * 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...] |