Home
last modified time | relevance | path

Searched refs:mRemoteCallback (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp171 if ((mRemoteCallback.get() != nullptr) && (!skipClientNotification)) { in notifyError()
172 mRemoteCallback->onDeviceError(errorCode, resultExtras); in notifyError()
246 if (mRemoteCallback.get() != NULL) { in onResultAvailable()
247 mRemoteCallback->onResultReceived(result.mMetadata, result.mResultExtras, in onResultAvailable()
259 if (mRemoteCallback.get() != nullptr) { in notifyShutter()
260 mRemoteCallback->onCaptureStarted(resultExtras, timestamp); in notifyShutter()
269 if (mRemoteCallback.get() != nullptr) { in notifyIdle()
270 mRemoteCallback->onDeviceIdle(); in notifyIdle()
305 if (mRemoteCallback.get() != nullptr) { in notifyRequestQueueEmpty()
306 mRemoteCallback->onRequestQueueEmpty(); in notifyRequestQueueEmpty()
DCameraOfflineSessionClient.h59 mRemoteCallback(remoteCallback), mOfflineSession(session), in CameraOfflineSessionClient()
100 sp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; variable
DCompositeStream.cpp34 mRemoteCallback(cb), in CompositeStream()
191 mRemoteCallback.promote(); in notifyError()
DCompositeStream.h118 wp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; variable
DCameraDeviceClient.h46 return mRemoteCallback; in getRemoteCallback()
61 sp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; member
DCameraDeviceClient.cpp73 mRemoteCallback(remoteCallback) { in CameraDeviceClientBase()
2250 sp<hardware::camera2::ICameraDeviceCallbacks> remoteCb = mRemoteCallback; in onResultAvailable()
/frameworks/base/media/java/android/media/
DMediaRoute2ProviderService.java145 private IMediaRoute2ProviderServiceCallback mRemoteCallback; field in MediaRoute2ProviderService
260 if (mRemoteCallback == null) { in notifySessionCreated()
264 mRemoteCallback.notifySessionCreated(requestId, sessionInfo); in notifySessionCreated()
291 if (mRemoteCallback == null) { in notifySessionUpdated()
295 mRemoteCallback.notifySessionUpdated(sessionInfo); in notifySessionUpdated()
325 if (mRemoteCallback == null) { in notifySessionReleased()
329 mRemoteCallback.notifySessionReleased(sessionInfo); in notifySessionReleased()
349 if (mRemoteCallback == null) { in notifyRequestFailed()
360 mRemoteCallback.notifyRequestFailed(requestId, reason); in notifyRequestFailed()
480 mRemoteCallback = callback; in setCallback()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp231 TClientBase::mRemoteCallback = client; in connect()
357 mRemoteCallback(client.mRemoteCallback), in Lock()
372 mRemoteCallback(client) { in SharedCameraCallbacks()
381 mRemoteCallback = client; in operator =()
388 mRemoteCallback.clear(); in clear()
DCamera2ClientBase.h100 sp<TCamCallbacks> &mRemoteCallback; variable
108 sp<TCamCallbacks> mRemoteCallback;
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp197 mRemoteCallback.clear(); in unlock()
214 if (mRemoteCallback != 0 && in connect()
215 (IInterface::asBinder(client) == IInterface::asBinder(mRemoteCallback))) { in connect()
222 mRemoteCallback = client; in connect()
905 sp<hardware::ICameraClient> c = client->mRemoteCallback; in handleCallbackTimestampBatch()
951 sp<hardware::ICameraClient> c = mRemoteCallback; in handleShutter()
989 sp<hardware::ICameraClient> c = mRemoteCallback; in handlePreviewData()
1019 sp<hardware::ICameraClient> c = mRemoteCallback; in handlePostview()
1034 sp<hardware::ICameraClient> c = mRemoteCallback; in handleRawPicture()
1045 sp<hardware::ICameraClient> c = mRemoteCallback; in handleCompressedPicture()
[all …]
DCamera2Client.cpp477 mRemoteCallback = client; in connect()
519 mRemoteCallback.clear(); in unlock()
1374 if (l.mRemoteCallback != 0) { in autoFocus()
1375 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS, in autoFocus()
1799 if (l.mRemoteCallback != nullptr) { in notifyError()
1800 l.mRemoteCallback->notifyCallback(CAMERA_MSG_ERROR, err, 0); in notifyError()
1921 if (l.mRemoteCallback != 0) { in notifyAutoFocus()
1922 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS_MOVE, in notifyAutoFocus()
1929 if (l.mRemoteCallback != 0) { in notifyAutoFocus()
1930 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS, in notifyAutoFocus()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp337 if (l.mRemoteCallback != 0) { in manageDone()
338 l.mRemoteCallback->dataCallback(CAMERA_MSG_COMPRESSED_IMAGE, in manageDone()
762 if (l.mRemoteCallback != 0) { in shutterNotifyLocked()
764 l.mRemoteCallback->notifyCallback(CAMERA_MSG_SHUTTER, in shutterNotifyLocked()
768 l.mRemoteCallback->notifyCallback(CAMERA_MSG_RAW_IMAGE_NOTIFY, in shutterNotifyLocked()
DFrameProcessor.cpp417 if (l.mRemoteCallback != NULL) { in callbackFaceDetection()
418 l.mRemoteCallback->dataCallback(CAMERA_MSG_PREVIEW_METADATA, in callbackFaceDetection()
DCallbackProcessor.cpp436 if (l.mRemoteCallback != 0) { in processNewCallback()
439 l.mRemoteCallback->dataCallback(CAMERA_MSG_PREVIEW_FRAME, in processNewCallback()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h404 return mRemoteCallback; in getRemoteCallback()
421 sp<hardware::ICameraClient> mRemoteCallback;
DCameraService.cpp2733 mRemoteCallback = cameraClient; in Client()
3044 if (mRemoteCallback != NULL) { in notifyError()
3049 mRemoteCallback->notifyCallback(CAMERA_MSG_ERROR, api1ErrorCode, 0); in notifyError()