@Test @Config(minSdk = 24, maxSdk = 27) @SuppressWarnings("unchecked") public void createCaptureSession_createsSession_byOutputConfiguration() throws CameraAccessException { SessionConfigurationCompat sessionConfig = new SessionConfigurationCompat( SessionConfigurationCompat.SESSION_REGULAR, mOutputs, mock(Executor.class), mock(CameraCaptureSession.StateCallback.class)); CameraDeviceCompat.createCaptureSession(mCameraDevice, sessionConfig); verify(mCameraDevice, times(1)).createCaptureSessionByOutputConfigurations( any(List.class), any(CameraCaptureSession.StateCallback.class), any(Handler.class)); }
public static void createCaptureSession(@NonNull CameraDevice device, @NonNull SessionConfigurationCompat config) throws CameraAccessException { IMPL.createCaptureSession(device, config); }
CameraDeviceCompat { public static void createCaptureSession(@NonNull CameraDevice device, @NonNull SessionConfigurationCompat config) throws CameraAccessException { IMPL.createCaptureSession(device, config); } }
CameraDeviceCompat { public static void createCaptureSession(@NonNull CameraDevice device, @NonNull SessionConfigurationCompat config) throws CameraAccessException { IMPL.createCaptureSession(device, config); } private  CameraDeviceCompat(); }
CameraDeviceCompat { public static void createCaptureSession(@NonNull CameraDevice device, @NonNull SessionConfigurationCompat config) throws CameraAccessException { IMPL.createCaptureSession(device, config); } private  CameraDeviceCompat(); static void createCaptureSession(@NonNull CameraDevice device,
            @NonNull SessionConfigurationCompat config); }
CameraDeviceCompat { public static void createCaptureSession(@NonNull CameraDevice device, @NonNull SessionConfigurationCompat config) throws CameraAccessException { IMPL.createCaptureSession(device, config); } private  CameraDeviceCompat(); static void createCaptureSession(@NonNull CameraDevice device,
            @NonNull SessionConfigurationCompat config); @RestrictTo(Scope.LIBRARY)
    static final int SESSION_OPERATION_MODE_NORMAL; @RestrictTo(Scope.LIBRARY)
    static final int SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED; }