/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 160 CaptureRequest.Builder requestBuilder = in testSettingsBinderParcel() local 162 requestBuilder.addTarget(surface); in testSettingsBinderParcel() 165 CaptureRequest captureRequestOriginal = requestBuilder.build(); in testSettingsBinderParcel() 181 requestBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW, in testSettingsBinderParcel() 183 requestBuilder.addTarget(surface); in testSettingsBinderParcel() 184 captureRequestOriginal = requestBuilder.build(); in testSettingsBinderParcel() 255 CaptureRequest.Builder requestBuilder = in testBlackLevelLock() local 259 requestBuilder.set(CaptureRequest.BLACK_LEVEL_LOCK, true); in testBlackLevelLock() 260 changeExposure(requestBuilder, DEFAULT_EXP_TIME_NS, DEFAULT_SENSITIVITY); in testBlackLevelLock() 266 startPreview(requestBuilder, previewSz, listener); in testBlackLevelLock() [all …]
|
D | LogicalCameraDeviceTest.java | 291 CaptureRequest.Builder requestBuilder = in testBasicLogicalPhysicalStreamCombination() local 293 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 296 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 307 requestBuilder.removeTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 308 requestBuilder.addTarget(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 311 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 325 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 327 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 414 CaptureRequest.Builder requestBuilder = in testBasicPhysicalRequests() local 417 requestBuilder.addTarget(c.getSurface()); in testBasicPhysicalRequests() [all …]
|
D | CaptureResultTest.java | 117 CaptureRequest.Builder requestBuilder = in testCameraCaptureResultAllKeys() local 119 assertNotNull("Failed to create capture request", requestBuilder); in testCameraCaptureResultAllKeys() 120 requestBuilder.addTarget(mReaderSurface); in testCameraCaptureResultAllKeys() 124 startCapture(requestBuilder.build(), /*repeating*/true, captureListener, mHandler); in testCameraCaptureResultAllKeys() 128 null/*requestedPhysicalIds*/, requestBuilder, NUM_FRAMES_VERIFIED); in testCameraCaptureResultAllKeys() 180 CaptureRequest.Builder requestBuilder = in testPartialResult() local 182 assertNotNull("Failed to create capture request", requestBuilder); in testPartialResult() 183 requestBuilder.addTarget(mReaderSurface); in testPartialResult() 191 requestBuilder.setTag(frame); in testPartialResult() 193 requestBuilder.build(), /*repeating*/false, in testPartialResult() [all …]
|
D | SurfaceViewPreviewTest.java | 673 CaptureRequest.Builder requestBuilder = in previewFpsRangeTestByCamera() local 687 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in previewFpsRangeTestByCamera() 691 requestBuilder.set(CaptureRequest.CONTROL_AE_ANTIBANDING_MODE, in previewFpsRangeTestByCamera() 701 startPreview(requestBuilder, maxPreviewSz, resultListener); in previewFpsRangeTestByCamera() 703 mSession.setRepeatingRequest(requestBuilder.build(), resultListener, mHandler); in previewFpsRangeTestByCamera() 759 CaptureRequest.Builder requestBuilder = in previewTestByCamera() local 764 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera() 774 CaptureRequest.Builder requestBuilder = in previewTestPatternTestByCamera() local 783 requestBuilder.set(CaptureRequest.SENSOR_TEST_PATTERN_MODE, mode); in previewTestPatternTestByCamera() 786 requestBuilder.set(CaptureRequest.SENSOR_TEST_PATTERN_DATA, TEST_PATTERN_DATA); in previewTestPatternTestByCamera() [all …]
|
D | ZoomCaptureTest.java | 123 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForConfigs( in bufferFormatZoomTestByCamera() local 135 requestBuilder.set(CaptureRequest.CONTROL_ZOOM_RATIO, zoomRatio); in bufferFormatZoomTestByCamera() 136 CaptureRequest request = requestBuilder.build(); in bufferFormatZoomTestByCamera()
|
D | RecordingTest.java | 443 CaptureRequest.Builder requestBuilder = in testAbandonedHighSpeedRequest() local 445 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest() 446 requestBuilder.addTarget(mPreviewSurface); in testAbandonedHighSpeedRequest() 447 requestBuilder.addTarget(mRecordingSurface); in testAbandonedHighSpeedRequest() 454 createHighSpeedRequestList(requestBuilder.build()); in testAbandonedHighSpeedRequest() 476 requestBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_RECORD); in testAbandonedHighSpeedRequest() 477 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest() 478 requestBuilder.addTarget(previewSurface); in testAbandonedHighSpeedRequest() 486 createHighSpeedRequestList(requestBuilder.build()); in testAbandonedHighSpeedRequest() 1021 CaptureRequest.Builder requestBuilder = in startConstrainedPreview() local [all …]
|
D | CameraDeviceTest.java | 1026 CaptureRequest.Builder requestBuilder = null; in testSessionParametersStateLeakByCamera() local 1052 requestBuilder = newBuilder; in testSessionParametersStateLeakByCamera() 1057 if (requestBuilder != null) { in testSessionParametersStateLeakByCamera() 1062 if (requestBuilder != null) { in testSessionParametersStateLeakByCamera() 1063 requestBuilder.addTarget(imageReader.getSurface()); in testSessionParametersStateLeakByCamera() 1064 request = requestBuilder.build(); in testSessionParametersStateLeakByCamera() 1490 CaptureRequest.Builder requestBuilder = in invalidRequestCaptureTestByCamera() local 1492 CaptureRequest unConfiguredRequest = requestBuilder.build(); in invalidRequestCaptureTestByCamera() 1698 CaptureRequest.Builder requestBuilder = mCamera.createCaptureRequest(template); in captureSingleShot() local 1699 assertNotNull("Failed to create capture request", requestBuilder); in captureSingleShot() [all …]
|
D | ImageWriterTest.java | 269 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces, in readerWriterFormatTestByCamera() local 273 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera() 275 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera()
|
D | ConcurrentCameraTest.java | 282 CaptureRequest.Builder requestBuilder = in testMandatoryConcurrentStreamCombination() local 286 requestBuilder.addTarget(c.getSurface()); in testMandatoryConcurrentStreamCombination() 288 CaptureRequest request = requestBuilder.build(); in testMandatoryConcurrentStreamCombination()
|
D | ImageReaderTest.java | 1205 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces( in bufferFormatLongProcessingTimeTestByCamera() local 1208 requestBuilder.set( in bufferFormatLongProcessingTimeTestByCamera() 1210 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true); in bufferFormatLongProcessingTimeTestByCamera() 1211 requestBuilder.set(CaptureRequest.CONTROL_AWB_LOCK, true); in bufferFormatLongProcessingTimeTestByCamera() 1212 requestBuilder.set(CaptureRequest.CONTROL_AE_MODE, in bufferFormatLongProcessingTimeTestByCamera() 1214 requestBuilder.set(CaptureRequest.CONTROL_AWB_MODE, in bufferFormatLongProcessingTimeTestByCamera() 1216 requestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, TEST_SENSITIVITY_VALUE); in bufferFormatLongProcessingTimeTestByCamera() 1217 requestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, TEST_EXPOSURE_TIME_NS); in bufferFormatLongProcessingTimeTestByCamera() 1220 startCapture(requestBuilder.build(), /*repeating*/true, listener, mHandler); in bufferFormatLongProcessingTimeTestByCamera()
|
D | MultiResolutionImageReaderTest.java | 302 CaptureRequest.Builder requestBuilder = in testMultiResolutionMandatoryStreamCombination() local 306 requestBuilder.addTarget(s); in testMultiResolutionMandatoryStreamCombination() 320 CaptureRequest request = requestBuilder.build(); in testMultiResolutionMandatoryStreamCombination()
|
D | MultiViewTest.java | 940 CaptureRequest.Builder requestBuilder = getCaptureBuilder(id, in testTextureImageWriterReaderOperation() local 942 requestBuilder.addTarget(reader.getSurface()); in testTextureImageWriterReaderOperation() 943 requestBuilder.addTarget(preview); in testTextureImageWriterReaderOperation() 951 capture(id, requestBuilder.build(), resultListener); in testTextureImageWriterReaderOperation()
|
D | RobustnessTest.java | 374 CaptureRequest.Builder requestBuilder = in testMandatoryStreamCombination() local 380 requestBuilder.addTarget(s); in testMandatoryStreamCombination() 388 requestBuilder.set(CaptureRequest.SENSOR_PIXEL_MODE, in testMandatoryStreamCombination() 420 CaptureRequest request = requestBuilder.build(); in testMandatoryStreamCombination()
|
D | StillCaptureTest.java | 975 CaptureRequest.Builder requestBuilder = in touchForFocusTestByCamera() local 978 startPreview(requestBuilder, maxPreviewSz, listener); in touchForFocusTestByCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | Camera2Focuser.java | 215 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in cancelAutoFocus() local 217 mAutoFocus.unlockAutoFocus(mRepeatingBuilder, requestBuilder); in cancelAutoFocus() 220 mSession.capture(requestBuilder.build(), listener, mHandler); in cancelAutoFocus() 244 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in startAutoFocusLocked() local 254 mAutoFocus.lockAutoFocus(mRepeatingBuilder, requestBuilder); in startAutoFocusLocked() 257 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusLocked() 267 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in startAutoFocusFullActiveLocked() local 268 mAutoFocus.setActiveAutoFocus(mRepeatingBuilder, requestBuilder); in startAutoFocusFullActiveLocked() 273 if (requestBuilder.get(CaptureRequest.CONTROL_AF_TRIGGER) in startAutoFocusFullActiveLocked() 281 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked() [all …]
|
/cts/tests/translation/src/android/translation/cts/views/ |
D | CustomTextView.java | 47 ViewTranslationRequest.Builder requestBuilder = in onCreateViewTranslationRequest() local 49 requestBuilder.setValue(ViewTranslationRequest.ID_TEXT, in onCreateViewTranslationRequest() 51 requestBuilder.setValue(CUSTOM_TRANSLATION_ID_MY_TAG, in onCreateViewTranslationRequest() 53 requestsCollector.accept(requestBuilder.build()); in onCreateViewTranslationRequest()
|
D | VirtualContainerView.java | 48 ViewTranslationRequest.Builder requestBuilder = in onCreateVirtualViewTranslationRequests() local 50 ViewTranslationRequest request = requestBuilder.setValue(ViewTranslationRequest.ID_TEXT, in onCreateVirtualViewTranslationRequests()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 235 CaptureRequest.Builder requestBuilder = in createRequestForPreview() local 237 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview() 238 return requestBuilder; in createRequestForPreview()
|