Searched refs:CameraInjectionSession (Results 1 – 7 of 7) sorted by relevance
21 import android.hardware.camera2.CameraInjectionSession;35 public class CameraInjectionSessionImpl extends CameraInjectionSession40 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 …]
19 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()
36 public abstract class CameraInjectionSession implements AutoCloseable { class108 @NonNull CameraInjectionSession injectionSession); in onInjectionSucceeded()126 public CameraInjectionSession() { in CameraInjectionSession() method in CameraInjectionSession
1965 @NonNull CameraInjectionSession.InjectionStatusCallback callback) in injectCamera()
19 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()
1583 class CameraInjectionSession : public hardware::camera2::BnCameraInjectionSession {1585 CameraInjectionSession(sp<CameraService> parent) : mParent(parent) {} in CameraInjectionSession() function1586 virtual ~CameraInjectionSession() {} in ~CameraInjectionSession()
3665 *cameraInjectionSession = new CameraInjectionSession(this); in injectCamera()5287 binder::Status CameraService::CameraInjectionSession::stopInjection() { in stopInjection()