Home
last modified time | relevance | path

Searched refs:CameraInjectionSession (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraInjectionSessionImpl.java21 import android.hardware.camera2.CameraInjectionSession;
35 public class CameraInjectionSessionImpl extends CameraInjectionSession
40 private final CameraInjectionSession.InjectionStatusCallback mInjectionStatusCallback;
87 CameraInjectionSession.InjectionStatusCallback.ERROR_INJECTION_SERVICE); in binderDied()
114 CameraInjectionSession.InjectionStatusCallback.ERROR_INJECTION_SESSION); in setRemoteInjectionSession()
124 CameraInjectionSession.InjectionStatusCallback.ERROR_INJECTION_SESSION); in setRemoteInjectionSession()
140 CameraInjectionSession.InjectionStatusCallback.ERROR_INJECTION_SESSION); in setRemoteInjectionSession()
167 CameraInjectionSession.InjectionStatusCallback.ERROR_INJECTION_SESSION); in onInjectionError()
171 CameraInjectionSession.InjectionStatusCallback.ERROR_INJECTION_SERVICE); in onInjectionError()
175 CameraInjectionSession.InjectionStatusCallback in onInjectionError()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/companion/virtual/
DCameraAccessControllerTest.java19 import static android.hardware.camera2.CameraInjectionSession.InjectionStatusCallback.ERROR_INJECTI…
38 import android.hardware.camera2.CameraInjectionSession;
96 ArgumentCaptor<CameraInjectionSession.InjectionStatusCallback> mInjectionCallbackCaptor;
151 CameraInjectionSession session = mock(CameraInjectionSession.class); in onCameraClosed_injectionWasActive_cameraUnblocked()
165 CameraInjectionSession session = mock(CameraInjectionSession.class); in onCameraClosed_otherCameraClosed_cameraNotUnblocked()
185 CameraInjectionSession frontCameraSession = mock(CameraInjectionSession.class); in onCameraClosed_twoCamerasBlocked_correctCameraUnblocked()
190 CameraInjectionSession rearCameraSession = mock(CameraInjectionSession.class); in onCameraClosed_twoCamerasBlocked_correctCameraUnblocked()
205 CameraInjectionSession session = mock(CameraInjectionSession.class); in onInjectionError_callbackFires()
221 CameraInjectionSession session = mock(CameraInjectionSession.class); in twoCameraAccesses_onlyOneOnVirtualDisplay_callbackFiresForCorrectUid()
237 CameraInjectionSession session = mock(CameraInjectionSession.class); in twoCameraAccessesBySameUid_secondOnVirtualDisplay_noCallbackButCameraCanBlocked()
/frameworks/base/core/java/android/hardware/camera2/
DCameraInjectionSession.java36 public abstract class CameraInjectionSession implements AutoCloseable { class
108 @NonNull CameraInjectionSession injectionSession); in onInjectionSucceeded()
126 public CameraInjectionSession() { in CameraInjectionSession() method in CameraInjectionSession
DCameraManager.java1965 @NonNull CameraInjectionSession.InjectionStatusCallback callback) in injectCamera()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DCameraAccessController.java19 import static android.hardware.camera2.CameraInjectionSession.InjectionStatusCallback.ERROR_INJECTI…
29 import android.hardware.camera2.CameraInjectionSession;
73 public ArrayMap<String, CameraInjectionSession> cameraIdToSession = new ArrayMap<>();
216 CameraInjectionSession existingSession = in onCameraOpened()
234 CameraInjectionSession session = data.cameraIdToSession.get(cameraId); in onCameraClosed()
257 new CameraInjectionSession.InjectionStatusCallback() { in startBlocking()
260 @NonNull CameraInjectionSession session) { in startBlocking()
279 @NonNull CameraInjectionSession session) { in onInjectionSucceeded()
288 CameraInjectionSession existingSession = data.cameraIdToSession.put(cameraId, session); in onInjectionSucceeded()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h1583 class CameraInjectionSession : public hardware::camera2::BnCameraInjectionSession {
1585 CameraInjectionSession(sp<CameraService> parent) : mParent(parent) {} in CameraInjectionSession() function
1586 virtual ~CameraInjectionSession() {} in ~CameraInjectionSession()
DCameraService.cpp3665 *cameraInjectionSession = new CameraInjectionSession(this); in injectCamera()
5287 binder::Status CameraService::CameraInjectionSession::stopInjection() { in stopInjection()