Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/role/
DRoleControllerManager.java245 private final RemoteCallback mRemoteCallback; field in RoleControllerManager.GrantDefaultRolesRequest
254 mRemoteCallback = new RemoteCallback(result -> mExecutor.execute(() -> { in GrantDefaultRolesRequest()
274 getService().getServiceInterface().grantDefaultRoles(mRemoteCallback); in run()
282 mRemoteCallback.sendResult(null); in onFailed()
302 private final RemoteCallback mRemoteCallback; field in RoleControllerManager.OnAddRoleHolderRequest
314 mRemoteCallback = new RemoteCallback(result -> { in OnAddRoleHolderRequest()
334 mRemoteCallback); in run()
357 private final RemoteCallback mRemoteCallback; field in RoleControllerManager.OnRemoveRoleHolderRequest
369 mRemoteCallback = new RemoteCallback(result -> { in OnRemoveRoleHolderRequest()
389 mFlags, mRemoteCallback); in run()
[all …]
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java706 private final @NonNull RemoteCallback mRemoteCallback; field in PermissionControllerManager.PendingRevokeRuntimePermissionRequest
722 mRemoteCallback = new RemoteCallback(result -> executor.execute(() -> { in PendingRevokeRuntimePermissionRequest()
773 mDoDryRun, mReason, mCallingPackage, mRemoteCallback); in run()
857 private final @NonNull RemoteCallback mRemoteCallback; field in PermissionControllerManager.PendingSetRuntimePermissionGrantStateByDeviceAdmin
872 mRemoteCallback = new RemoteCallback(result -> executor.execute(() -> { in PendingSetRuntimePermissionGrantStateByDeviceAdmin()
898 … mCallerPackageName, mPackageName, mPermission, mGrantState, mRemoteCallback); in run()
955 private final @NonNull RemoteCallback mRemoteCallback; field in PermissionControllerManager.PendingRestoreDelayedRuntimePermissionBackup
967 mRemoteCallback = new RemoteCallback(result -> executor.execute(() -> { in PendingRestoreDelayedRuntimePermissionBackup()
994 mPackageName, mUser, mRemoteCallback); in run()
1009 private final @NonNull RemoteCallback mRemoteCallback; field in PermissionControllerManager.PendingGetAppPermissionRequest
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp230 TClientBase::mRemoteCallback = client; in connect()
356 mRemoteCallback(client.mRemoteCallback), in Lock()
371 mRemoteCallback(client) { in SharedCameraCallbacks()
380 mRemoteCallback = client; in operator =()
387 mRemoteCallback.clear(); in clear()
DCamera2ClientBase.h99 sp<TCamCallbacks> &mRemoteCallback; variable
107 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()
947 sp<hardware::ICameraClient> c = mRemoteCallback; in handleShutter()
985 sp<hardware::ICameraClient> c = mRemoteCallback; in handlePreviewData()
1015 sp<hardware::ICameraClient> c = mRemoteCallback; in handlePostview()
1030 sp<hardware::ICameraClient> c = mRemoteCallback; in handleRawPicture()
1041 sp<hardware::ICameraClient> c = mRemoteCallback; in handleCompressedPicture()
[all …]
DCamera2Client.cpp476 mRemoteCallback = client; in connect()
518 mRemoteCallback.clear(); in unlock()
1368 if (l.mRemoteCallback != 0) { in autoFocus()
1369 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS, in autoFocus()
1785 if (l.mRemoteCallback != nullptr) { in notifyError()
1786 l.mRemoteCallback->notifyCallback(CAMERA_MSG_ERROR, err, 0); in notifyError()
1907 if (l.mRemoteCallback != 0) { in notifyAutoFocus()
1908 l.mRemoteCallback->notifyCallback(CAMERA_MSG_FOCUS_MOVE, in notifyAutoFocus()
1915 if (l.mRemoteCallback != 0) { in notifyAutoFocus()
1916 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.cpp411 if (l.mRemoteCallback != NULL) { in callbackFaceDetection()
412 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/api2/
DCompositeStream.cpp34 mRemoteCallback(cb), in CompositeStream()
191 mRemoteCallback.promote(); in notifyError()
DCameraDeviceClient.h43 return mRemoteCallback; in getRemoteCallback()
57 sp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; member
DCompositeStream.h106 wp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback; variable
DCameraDeviceClient.cpp71 mRemoteCallback(remoteCallback) { in CameraDeviceClientBase()
2025 sp<hardware::camera2::ICameraDeviceCallbacks> remoteCb = mRemoteCallback; in onResultAvailable()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h364 return mRemoteCallback; in getRemoteCallback()
381 sp<hardware::ICameraClient> mRemoteCallback;
DCameraService.cpp2345 mRemoteCallback = cameraClient; in Client()
2613 if (mRemoteCallback != NULL) { in notifyError()
2618 mRemoteCallback->notifyCallback(CAMERA_MSG_ERROR, api1ErrorCode, 0); in notifyError()