Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/voice/
DVisualQueryDetectionService.java89 private IDetectorSessionVisualQueryDetectionCallback mRemoteCallback = null; field in VisualQueryDetectionService
104 mRemoteCallback = callback;
274 mRemoteCallback.onAttentionGained(null); in gainedAttention()
299 mRemoteCallback.onAttentionGained(attentionResult); in gainedAttention()
310 mRemoteCallback.onAttentionLost(0); // placeholder in lostAttention()
328 mRemoteCallback.onAttentionLost(interactionIntention); in lostAttention()
350 mRemoteCallback.onQueryDetected(partialQuery); in streamQuery()
371 mRemoteCallback.onResultDetected(partialResult); in streamQuery()
388 mRemoteCallback.onQueryRejected(); in rejectQuery()
405 mRemoteCallback.onQueryFinished(); in finishQuery()
DHotwordDetectionService.java413 private final IDspHotwordDetectionCallback mRemoteCallback; field in HotwordDetectionService.Callback
416 mRemoteCallback = remoteCallback; in Callback()
436 mRemoteCallback.onDetected(result); in onDetected()
454 mRemoteCallback.onRejected(result); in onRejected()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp225 if ((mRemoteCallback.get() != nullptr) && (!skipClientNotification)) { in notifyError()
226 mRemoteCallback->onDeviceError(errorCode, resultExtras); in notifyError()
300 if (mRemoteCallback.get() != NULL) { in onResultAvailable()
301 mRemoteCallback->onResultReceived(result.mMetadata, result.mResultExtras, in onResultAvailable()
313 if (mRemoteCallback.get() != nullptr) { in notifyShutter()
314 mRemoteCallback->onCaptureStarted(resultExtras, timestamp); in notifyShutter()
330 if (mRemoteCallback.get() != nullptr) { in notifyIdle()
331 mRemoteCallback->onDeviceIdle(); in notifyIdle()
361 if (mRemoteCallback.get() != nullptr) { in notifyRequestQueueEmpty()
362 mRemoteCallback->onRequestQueueEmpty(); in notifyRequestQueueEmpty()
DCameraOfflineSessionClient.h64 mRemoteCallback(remoteCallback), mOfflineSession(session), in CameraOfflineSessionClient()
133 sp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; variable
DCompositeStream.cpp34 mRemoteCallback(cb), in CompositeStream()
209 mRemoteCallback.promote(); in notifyError()
DCompositeStream.h127 wp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; variable
DCameraDeviceClient.h47 return mRemoteCallback; in getRemoteCallback()
66 sp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; member
DCameraDeviceClient.cpp88 mRemoteCallback(remoteCallback) { in CameraDeviceClientBase()
2185 sp<hardware::camera2::ICameraDeviceCallbacks> remoteCb = mRemoteCallback; in onResultAvailable()
/frameworks/base/media/java/android/media/
DMediaRoute2ProviderService.java158 private IMediaRoute2ProviderServiceCallback mRemoteCallback; field in MediaRoute2ProviderService
273 if (mRemoteCallback == null) { in notifySessionCreated()
277 mRemoteCallback.notifySessionCreated(requestId, sessionInfo); in notifySessionCreated()
330 if (mRemoteCallback == null) { in notifySessionReleased()
334 mRemoteCallback.notifySessionReleased(sessionInfo); in notifySessionReleased()
354 if (mRemoteCallback == null) { in notifyRequestFailed()
365 mRemoteCallback.notifyRequestFailed(requestId, reason); in notifyRequestFailed()
501 mRemoteCallback = callback; in setCallback()
517 if (mRemoteCallback == null) { in publishState()
526 mRemoteCallback.notifyProviderUpdated(mProviderInfo); in publishState()
[all …]
/frameworks/base/services/translation/java/com/android/server/translation/
DRemoteTranslationService.java48 private final IBinder mRemoteCallback; field in RemoteTranslationService
59 mRemoteCallback = callback; in RemoteTranslationService()
73 service.onConnected(mRemoteCallback); in onServiceConnectionStatusChanged()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp328 TClientBase::mRemoteCallback = client; in connect()
481 mRemoteCallback(client.mRemoteCallback), in Lock()
496 mRemoteCallback(client) { in SharedCameraCallbacks()
505 mRemoteCallback = client; in operator =()
512 mRemoteCallback.clear(); in clear()
DCamera2ClientBase.h128 sp<TCamCallbacks> &mRemoteCallback; variable
136 sp<TCamCallbacks> mRemoteCallback;
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp338 if (l.mRemoteCallback != 0) { in manageDone()
339 l.mRemoteCallback->dataCallback(CAMERA_MSG_COMPRESSED_IMAGE, in manageDone()
763 if (l.mRemoteCallback != 0) { in shutterNotifyLocked()
765 l.mRemoteCallback->notifyCallback(CAMERA_MSG_SHUTTER, in shutterNotifyLocked()
769 l.mRemoteCallback->notifyCallback(CAMERA_MSG_RAW_IMAGE_NOTIFY, in shutterNotifyLocked()
DFrameProcessor.cpp442 if (l.mRemoteCallback != NULL) { in callbackFaceDetection()
443 l.mRemoteCallback->dataCallback(CAMERA_MSG_PREVIEW_METADATA, in callbackFaceDetection()
DCallbackProcessor.cpp447 if (l.mRemoteCallback != 0) { in processNewCallback()
450 l.mRemoteCallback->dataCallback(CAMERA_MSG_PREVIEW_FRAME, in processNewCallback()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp526 mRemoteCallback = client; in connect()
568 mRemoteCallback.clear(); in unlock()
1422 if (l.mRemoteCallback != 0) { in autoFocus()
1423 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS, in autoFocus()
1860 if (l.mRemoteCallback != nullptr) { in notifyError()
1861 l.mRemoteCallback->notifyCallback(CAMERA_MSG_ERROR, err, 0); in notifyError()
1982 if (l.mRemoteCallback != 0) { in notifyAutoFocus()
1983 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS_MOVE, in notifyAutoFocus()
1990 if (l.mRemoteCallback != 0) { in notifyAutoFocus()
1991 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS, in notifyAutoFocus()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h581 return mRemoteCallback; in getRemoteCallback()
600 sp<hardware::ICameraClient> mRemoteCallback;
DCameraService.cpp4084 mRemoteCallback = cameraClient; in Client()
4536 if (mRemoteCallback != NULL) { in notifyError()
4541 mRemoteCallback->notifyCallback(CAMERA_MSG_ERROR, api1ErrorCode, 0); in notifyError()