Home
last modified time | relevance | path

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

/aosp12/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraOfflineSessionClient.cpp181 if ((mRemoteCallback.get() != nullptr) && (!skipClientNotification)) { in notifyError()
182 mRemoteCallback->onDeviceError(errorCode, resultExtras); in notifyError()
256 if (mRemoteCallback.get() != NULL) { in onResultAvailable()
257 mRemoteCallback->onResultReceived(result.mMetadata, result.mResultExtras, in onResultAvailable()
269 if (mRemoteCallback.get() != nullptr) { in notifyShutter()
270 mRemoteCallback->onCaptureStarted(resultExtras, timestamp); in notifyShutter()
285 if (mRemoteCallback.get() != nullptr) { in notifyIdle()
286 mRemoteCallback->onDeviceIdle(); in notifyIdle()
322 if (mRemoteCallback.get() != nullptr) { in notifyRequestQueueEmpty()
323 mRemoteCallback->onRequestQueueEmpty(); in notifyRequestQueueEmpty()
H A DCameraOfflineSessionClient.h59 mRemoteCallback(remoteCallback), mOfflineSession(session), in CameraOfflineSessionClient()
105 sp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; variable
H A DCompositeStream.cpp34 mRemoteCallback(cb), in CompositeStream()
199 mRemoteCallback.promote(); in notifyError()
H A DCameraDeviceClient.h45 return mRemoteCallback; in getRemoteCallback()
61 sp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; member
H A DCompositeStream.h122 wp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; variable
H A DCameraDeviceClient.cpp79 mRemoteCallback(remoteCallback) { in CameraDeviceClientBase()
1926 sp<hardware::camera2::ICameraDeviceCallbacks> remoteCb = mRemoteCallback; in onResultAvailable()
/aosp12/frameworks/base/media/java/android/media/
H A DMediaRoute2ProviderService.java146 private IMediaRoute2ProviderServiceCallback mRemoteCallback; field in MediaRoute2ProviderService
261 if (mRemoteCallback == null) { in notifySessionCreated()
318 if (mRemoteCallback == null) { in notifySessionReleased()
322 mRemoteCallback.notifySessionReleased(sessionInfo); in notifySessionReleased()
342 if (mRemoteCallback == null) { in notifyRequestFailed()
353 mRemoteCallback.notifyRequestFailed(requestId, reason); in notifyRequestFailed()
473 mRemoteCallback = callback; in setCallback()
489 if (mRemoteCallback == null) { in publishState()
494 mRemoteCallback.notifyProviderUpdated(mProviderInfo); in publishState()
511 if (mRemoteCallback == null) { in updateSessions()
[all …]
/aosp12/frameworks/base/services/translation/java/com/android/server/translation/
H A DRemoteTranslationService.java48 private final IBinder mRemoteCallback; field in RemoteTranslationService
59 mRemoteCallback = callback; in RemoteTranslationService()
73 service.onConnected(mRemoteCallback); in onServiceConnectionStatusChanged()
/aosp12/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp245 TClientBase::mRemoteCallback = client; in connect()
383 mRemoteCallback(client.mRemoteCallback), in Lock()
398 mRemoteCallback(client) { in SharedCameraCallbacks()
407 mRemoteCallback = client; in operator =()
414 mRemoteCallback.clear(); in clear()
H A DCamera2ClientBase.h106 sp<TCamCallbacks> &mRemoteCallback; variable
114 sp<TCamCallbacks> mRemoteCallback;
/aosp12/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DTestConnectionManager.java43 private final RemoteConnection.Callback mRemoteCallback = new RemoteConnection.Callback() { field in TestConnectionManager.TestManagedConnection
154 mRemote.registerCallback(mRemoteCallback); in TestManagedConnection()
249 private final RemoteConference.Callback mRemoteCallback = new RemoteConference.Callback() { field in TestConnectionManager.TestManagedConference
313 mRemote.unregisterCallback(mRemoteCallback);
334 remote.registerCallback(mRemoteCallback); in TestManagedConference()
H A DTestManagedVideoProvider.java28 private final RemoteConnection.VideoProvider.Callback mRemoteCallback = field in TestManagedVideoProvider
71 mRemoteVideoProvider.registerCallback(mRemoteCallback); in TestManagedVideoProvider()
/aosp12/frameworks/base/core/java/android/service/voice/
H A DHotwordDetectionService.java380 private final IDspHotwordDetectionCallback mRemoteCallback; field in HotwordDetectionService.Callback
383 mRemoteCallback = remoteCallback; in Callback()
403 mRemoteCallback.onDetected(result); in onDetected()
421 mRemoteCallback.onRejected(result); in onRejected()
/aosp12/frameworks/av/services/camera/libcameraservice/api1/client2/
H A 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()
H A DFrameProcessor.cpp417 if (l.mRemoteCallback != NULL) { in callbackFaceDetection()
418 l.mRemoteCallback->dataCallback(CAMERA_MSG_PREVIEW_METADATA, in callbackFaceDetection()
H A DCallbackProcessor.cpp447 if (l.mRemoteCallback != 0) { in processNewCallback()
450 l.mRemoteCallback->dataCallback(CAMERA_MSG_PREVIEW_FRAME, in processNewCallback()
/aosp12/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp485 mRemoteCallback = client; in connect()
527 mRemoteCallback.clear(); in unlock()
1384 if (l.mRemoteCallback != 0) { in autoFocus()
1385 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS, in autoFocus()
1809 if (l.mRemoteCallback != nullptr) { in notifyError()
1810 l.mRemoteCallback->notifyCallback(CAMERA_MSG_ERROR, err, 0); in notifyError()
1931 if (l.mRemoteCallback != 0) { in notifyAutoFocus()
1932 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS_MOVE, in notifyAutoFocus()
1939 if (l.mRemoteCallback != 0) { in notifyAutoFocus()
1940 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS, in notifyAutoFocus()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/
H A DCarUxRestrictionsManagerServiceTest.java114 private IRemoteCallback mRemoteCallback; field in CarUxRestrictionsManagerServiceTest
128 when(mRemoteCallback.asBinder()).thenReturn(mIBinder); in setUp()
421 mService.reportVirtualDisplayToPhysicalDisplay(mRemoteCallback, virtualDisplayId, in testGetCurrentUxRestrictions_ReportedVirtualDisplay_ReturnsRestrictionsForPort()
/aosp12/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h448 return mRemoteCallback; in getRemoteCallback()
467 sp<hardware::ICameraClient> mRemoteCallback;
H A DCameraService.cpp2967 mRemoteCallback = cameraClient; in Client()
3371 if (mRemoteCallback != NULL) { in notifyError()
3376 mRemoteCallback->notifyCallback(CAMERA_MSG_ERROR, api1ErrorCode, 0); in notifyError()