CameraCaptureSessionCompat { public static int setSingleRepeatingRequest( @NonNull CameraCaptureSession captureSession, @NonNull CaptureRequest request, @NonNull Executor executor, @NonNull CameraCaptureSession.CaptureCallback listener) throws CameraAccessException { return IMPL.setSingleRepeatingRequest(captureSession, request, executor, listener); } private  CameraCaptureSessionCompat(); static int captureBurstRequests(
            @NonNull CameraCaptureSession captureSession,
            @NonNull List<CaptureRequest> requests,
            @NonNull /* @CallbackExecutor */ Executor executor,
            @NonNull CameraCaptureSession.CaptureCallback listener); static int captureSingleRequest(
            @NonNull CameraCaptureSession captureSession,
            @NonNull CaptureRequest request,
            @NonNull /* @CallbackExecutor */ Executor executor,
            @NonNull CameraCaptureSession.CaptureCallback listener); static int setRepeatingBurstRequests(
            @NonNull CameraCaptureSession captureSession,
            @NonNull List<CaptureRequest> requests,
            @NonNull /* @CallbackExecutor */ Executor executor,
            @NonNull CameraCaptureSession.CaptureCallback listener); static int setSingleRepeatingRequest(
            @NonNull CameraCaptureSession captureSession,
            @NonNull CaptureRequest request,
            @NonNull /* @CallbackExecutor */ Executor executor,
            @NonNull CameraCaptureSession.CaptureCallback listener);  }
@Test @Config(maxSdk = 27) public void setSingleRepeatingRequest_callsSetRepeatingRequest() throws CameraAccessException { CameraCaptureSessionCompat.setSingleRepeatingRequest(mCaptureSession, mock(CaptureRequest.class), mock(Executor.class), mock( CameraCaptureSession.CaptureCallback.class)); verify(mCaptureSession, times(1)).setRepeatingRequest(any(CaptureRequest.class), any( CameraCaptureSession.CaptureCallback.class), any(Handler.class)); }
@Test @Config(minSdk = 28) public void captureSingleRequest_callsSetSingleRepeatingRequest() throws CameraAccessException { CameraCaptureSessionCompat.setSingleRepeatingRequest(mCaptureSession, mock(CaptureRequest.class), mock(Executor.class), mock( CameraCaptureSession.CaptureCallback.class)); verify(mCaptureSession, times(1)).setSingleRepeatingRequest(any(CaptureRequest.class), any(Executor.class), any(CameraCaptureSession.CaptureCallback.class)); }