Home
last modified time | relevance | path

Searched refs:requestBuilder (Results 1 – 21 of 21) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java168 CaptureRequest.Builder requestBuilder = in testSettingsBinderParcel() local
170 requestBuilder.addTarget(surface); in testSettingsBinderParcel()
173 CaptureRequest captureRequestOriginal = requestBuilder.build(); in testSettingsBinderParcel()
189 requestBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW, in testSettingsBinderParcel()
191 requestBuilder.addTarget(surface); in testSettingsBinderParcel()
192 captureRequestOriginal = requestBuilder.build(); in testSettingsBinderParcel()
274 CaptureRequest.Builder requestBuilder = in testBlackLevelLock() local
278 requestBuilder.set(CaptureRequest.BLACK_LEVEL_LOCK, true); in testBlackLevelLock()
279 changeExposure(requestBuilder, DEFAULT_EXP_TIME_NS, DEFAULT_SENSITIVITY); in testBlackLevelLock()
285 startPreview(requestBuilder, previewSz, listener); in testBlackLevelLock()
[all …]
DLogicalCameraDeviceTest.java305 CaptureRequest.Builder requestBuilder = in testBasicLogicalPhysicalStreamCombination() local
307 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
310 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination()
321 requestBuilder.removeTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
322 requestBuilder.addTarget(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
325 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination()
339 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
341 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination()
435 CaptureRequest.Builder requestBuilder = in testBasicPhysicalRequests() local
438 requestBuilder.addTarget(c.getSurface()); in testBasicPhysicalRequests()
[all …]
DCaptureResultTest.java118 CaptureRequest.Builder requestBuilder = in testCameraCaptureResultAllKeys() local
120 assertNotNull("Failed to create capture request", requestBuilder); in testCameraCaptureResultAllKeys()
121 requestBuilder.addTarget(mReaderSurface); in testCameraCaptureResultAllKeys()
125 startCapture(requestBuilder.build(), /*repeating*/true, captureListener, mHandler); in testCameraCaptureResultAllKeys()
129 null/*requestedPhysicalIds*/, requestBuilder, NUM_FRAMES_VERIFIED); in testCameraCaptureResultAllKeys()
181 CaptureRequest.Builder requestBuilder = in testPartialResult() local
183 assertNotNull("Failed to create capture request", requestBuilder); in testPartialResult()
184 requestBuilder.addTarget(mReaderSurface); in testPartialResult()
192 requestBuilder.setTag(frame); in testPartialResult()
194 requestBuilder.build(), /*repeating*/false, in testPartialResult()
[all …]
DSurfaceViewPreviewTest.java661 CaptureRequest.Builder requestBuilder = in previewFpsRangeTestByCamera() local
675 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in previewFpsRangeTestByCamera()
679 requestBuilder.set(CaptureRequest.CONTROL_AE_ANTIBANDING_MODE, in previewFpsRangeTestByCamera()
689 startPreview(requestBuilder, maxPreviewSz, resultListener); in previewFpsRangeTestByCamera()
691 mSession.setRepeatingRequest(requestBuilder.build(), resultListener, mHandler); in previewFpsRangeTestByCamera()
747 CaptureRequest.Builder requestBuilder = in previewTestByCamera() local
752 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
762 CaptureRequest.Builder requestBuilder = in previewTestPatternTestByCamera() local
771 requestBuilder.set(CaptureRequest.SENSOR_TEST_PATTERN_MODE, mode); in previewTestPatternTestByCamera()
774 requestBuilder.set(CaptureRequest.SENSOR_TEST_PATTERN_DATA, TEST_PATTERN_DATA); in previewTestPatternTestByCamera()
[all …]
DRecordingTest.java771 CaptureRequest.Builder requestBuilder = in testAbandonedHighSpeedRequest() local
773 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest()
774 requestBuilder.addTarget(mPreviewSurface); in testAbandonedHighSpeedRequest()
775 requestBuilder.addTarget(mRecordingSurface); in testAbandonedHighSpeedRequest()
782 createHighSpeedRequestList(requestBuilder.build()); in testAbandonedHighSpeedRequest()
804 requestBuilder = mCamera.createCaptureRequest(CameraDevice.TEMPLATE_RECORD); in testAbandonedHighSpeedRequest()
805 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest()
806 requestBuilder.addTarget(previewSurface); in testAbandonedHighSpeedRequest()
814 createHighSpeedRequestList(requestBuilder.build()); in testAbandonedHighSpeedRequest()
1408 CaptureRequest.Builder requestBuilder = in startConstrainedPreview() local
[all …]
DZoomCaptureTest.java200 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForConfigs( in bufferFormatZoomTestByCamera() local
212 requestBuilder.set(CaptureRequest.CONTROL_ZOOM_RATIO, zoomRatio); in bufferFormatZoomTestByCamera()
213 requests.add(requestBuilder.build()); in bufferFormatZoomTestByCamera()
DCameraDeviceTest.java1040 CaptureRequest.Builder requestBuilder = null; in testSessionParametersStateLeakByCamera() local
1066 requestBuilder = newBuilder; in testSessionParametersStateLeakByCamera()
1071 if (requestBuilder != null) { in testSessionParametersStateLeakByCamera()
1076 if (requestBuilder != null) { in testSessionParametersStateLeakByCamera()
1077 requestBuilder.addTarget(imageReader.getSurface()); in testSessionParametersStateLeakByCamera()
1078 request = requestBuilder.build(); in testSessionParametersStateLeakByCamera()
1500 CaptureRequest.Builder requestBuilder = in invalidRequestCaptureTestByCamera() local
1502 CaptureRequest unConfiguredRequest = requestBuilder.build(); in invalidRequestCaptureTestByCamera()
1709 CaptureRequest.Builder requestBuilder = mCamera.createCaptureRequest(template); in captureSingleShot() local
1710 assertNotNull("Failed to create capture request", requestBuilder); in captureSingleShot()
[all …]
DConcurrentCameraTest.java282 CaptureRequest.Builder requestBuilder = in testMandatoryConcurrentStreamCombination() local
286 requestBuilder.addTarget(c.getSurface()); in testMandatoryConcurrentStreamCombination()
288 CaptureRequest request = requestBuilder.build(); in testMandatoryConcurrentStreamCombination()
DRobustnessTest.java338 CaptureRequest.Builder requestBuilder = in testMandatoryUseCaseOutputCombinations() local
340 testMandatoryOutputCombinationWithPresetKeys(id, combination, requestBuilder, in testMandatoryUseCaseOutputCombinations()
377 CaptureRequest.Builder requestBuilder = in testMandatoryPreviewStabilizationOutputCombinations() local
379 requestBuilder.set(CaptureRequest.CONTROL_VIDEO_STABILIZATION_MODE, in testMandatoryPreviewStabilizationOutputCombinations()
381 testMandatoryOutputCombinationWithPresetKeys(id, combination, requestBuilder, in testMandatoryPreviewStabilizationOutputCombinations()
577 CaptureRequest.Builder requestBuilder = in testMandatoryStreamCombination() local
583 requestBuilder.addTarget(s); in testMandatoryStreamCombination()
591 requestBuilder.set(CaptureRequest.SENSOR_PIXEL_MODE, in testMandatoryStreamCombination()
624 CaptureRequest request = requestBuilder.build(); in testMandatoryStreamCombination()
760 CaptureRequest.Builder requestBuilder = in testMandatory10BitStreamCombination() local
[all …]
DMultiResolutionImageReaderTest.java301 CaptureRequest.Builder requestBuilder = in testMultiResolutionMandatoryStreamCombination() local
305 requestBuilder.addTarget(s); in testMultiResolutionMandatoryStreamCombination()
319 CaptureRequest request = requestBuilder.build(); in testMultiResolutionMandatoryStreamCombination()
DImageWriterTest.java475 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces(outputSurfaces, in readerWriterFormatTestByCamera() local
479 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera()
481 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera()
DImageReaderTest.java1871 CaptureRequest.Builder requestBuilder = prepareCaptureRequestForSurfaces( in bufferFormatLongProcessingTimeTestByCamera() local
1878 requestBuilder.set( in bufferFormatLongProcessingTimeTestByCamera()
1880 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true); in bufferFormatLongProcessingTimeTestByCamera()
1881 requestBuilder.set(CaptureRequest.CONTROL_AWB_LOCK, true); in bufferFormatLongProcessingTimeTestByCamera()
1882 requestBuilder.set(CaptureRequest.CONTROL_AE_MODE, in bufferFormatLongProcessingTimeTestByCamera()
1884 requestBuilder.set(CaptureRequest.CONTROL_AWB_MODE, in bufferFormatLongProcessingTimeTestByCamera()
1886 requestBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, TEST_SENSITIVITY_VALUE); in bufferFormatLongProcessingTimeTestByCamera()
1887 requestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, TEST_EXPOSURE_TIME_NS); in bufferFormatLongProcessingTimeTestByCamera()
1890 startCapture(requestBuilder.build(), /*repeating*/true, listener, mHandler); in bufferFormatLongProcessingTimeTestByCamera()
DMultiViewTest.java950 CaptureRequest.Builder requestBuilder = getCaptureBuilder(id, in testTextureImageWriterReaderOperation() local
952 requestBuilder.addTarget(reader.getSurface()); in testTextureImageWriterReaderOperation()
953 requestBuilder.addTarget(preview); in testTextureImageWriterReaderOperation()
961 capture(id, requestBuilder.build(), resultListener); in testTextureImageWriterReaderOperation()
DCameraDeviceSetupTest.java301 CaptureRequest.Builder requestBuilder, in checkSessionCharacteristicsForNoCallbackConfig() argument
307 sessionConfigNoCallback.setSessionParameters(requestBuilder.build()); in checkSessionCharacteristicsForNoCallbackConfig()
DStillCaptureTest.java1089 CaptureRequest.Builder requestBuilder = in touchForFocusTestByCamera() local
1092 startPreview(requestBuilder, maxPreviewSz, listener); in touchForFocusTestByCamera()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCamera2Focuser.java215 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/
DCustomTextView.java47 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()
DVirtualContainerView.java48 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/
DCamera2SurfaceViewTestCase.java236 CaptureRequest.Builder requestBuilder = in createRequestForPreview() local
238 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview()
239 return requestBuilder; in createRequestForPreview()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2490 CaptureRequest.Builder requestBuilder, int algoIdx, MeteringRectangle[] regions, in update3aRegion() argument
2518 requestBuilder.set(key, regions); in update3aRegion()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSessionCtsTestBase.java1061 SetSchemaRequest.Builder requestBuilder = in testGetSchema_visibilitySetting_oneSharedSchema() local
1074 requestBuilder.setPubliclyVisibleSchema( in testGetSchema_visibilitySetting_oneSharedSchema()
1078 SetSchemaRequest request = requestBuilder.build(); in testGetSchema_visibilitySetting_oneSharedSchema()