Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2CaptureRequestTest.java164 CaptureRequest.Builder requestBuilder = in aeAutoModeTestLock() local
167 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, false); in aeAutoModeTestLock()
169 requestBuilder.set(CaptureRequest.CONTROL_AE_MODE, mode); in aeAutoModeTestLock()
170 configurePreviewOutput(requestBuilder); in aeAutoModeTestLock()
174 autoAeMultipleCapturesThenTestLock(requestBuilder, mode, i); in aeAutoModeTestLock()
185 CaptureRequest.Builder requestBuilder, int aeMode, int numCapturesDuringLock) in autoAeMultipleCapturesThenTestLock() argument
203 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, false); in autoAeMultipleCapturesThenTestLock()
207 CaptureRequest request = requestBuilder.build(); in autoAeMultipleCapturesThenTestLock()
219 requestBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true); in autoAeMultipleCapturesThenTestLock()
222 requestBuilder.build(), numCapturesDuringLock, listener, mHandler); in autoAeMultipleCapturesThenTestLock()
[all …]
DCamera2RecordingTest.java324 CaptureRequest.Builder requestBuilder = in startSlowMotionRecording() local
326 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in startSlowMotionRecording()
327 requestBuilder.addTarget(mPreviewSurface); in startSlowMotionRecording()
328 requestBuilder.addTarget(mRecordingSurface); in startSlowMotionRecording()
330 createHighSpeedRequestList(requestBuilder.build()); in startSlowMotionRecording()
741 CaptureRequest.Builder requestBuilder, in prepareVideoSnapshot() argument
746 requestBuilder.addTarget(mRecordingSurface); in prepareVideoSnapshot()
748 requestBuilder.addTarget(mPreviewSurface); in prepareVideoSnapshot()
750 requestBuilder.addTarget(mReaderSurface); in prepareVideoSnapshot()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCamera2Focuser.java218 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in cancelAutoFocus() local
220 mAutoFocus.unlockAutoFocus(mRepeatingBuilder, requestBuilder); in cancelAutoFocus()
223 mSession.capture(requestBuilder.build(), listener, mHandler); in cancelAutoFocus()
247 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in startAutoFocusLocked() local
257 mAutoFocus.lockAutoFocus(mRepeatingBuilder, requestBuilder); in startAutoFocusLocked()
260 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusLocked()
270 CaptureRequest.Builder requestBuilder = createRequestBuilder(); in startAutoFocusFullActiveLocked() local
271 mAutoFocus.setActiveAutoFocus(mRepeatingBuilder, requestBuilder); in startAutoFocusFullActiveLocked()
276 if (requestBuilder.get(CaptureRequest.CONTROL_AF_TRIGGER) in startAutoFocusFullActiveLocked()
284 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked()
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
DAutoFocusStateMachine.java218 CaptureRequest.Builder requestBuilder) { in lockAutoFocus() argument
231 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in lockAutoFocus()
235 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in lockAutoFocus()
261 CaptureRequest.Builder requestBuilder) { in unlockAutoFocus() argument
272 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in unlockAutoFocus()
276 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in unlockAutoFocus()
305 CaptureRequest.Builder requestBuilder) { in setActiveAutoFocus() argument
313 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mCurrentAfMode); in setActiveAutoFocus()
317 requestBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in setActiveAutoFocus()
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2RequestSettingsSet.java247 private <T> void setRequestFieldIfNonNull(Builder requestBuilder, Key<T> key) { in setRequestFieldIfNonNull() argument
250 requestBuilder.set(key, value); in setRequestFieldIfNonNull()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java351 CaptureRequest.Builder requestBuilder =
353 requestBuilder.addTarget(holder.getSurface());
354 CaptureRequest previewRequest = requestBuilder.build();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java254 CaptureRequest.Builder requestBuilder = in createRequestForPreview() local
256 requestBuilder.addTarget(mPreviewSurface); in createRequestForPreview()
257 return requestBuilder; in createRequestForPreview()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java885 NetworkRequest.Builder requestBuilder = new NetworkRequest.Builder(); in handleRequestSuplConnection() local
886 requestBuilder.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR); in handleRequestSuplConnection()
887 requestBuilder.addCapability(NetworkCapabilities.NET_CAPABILITY_SUPL); in handleRequestSuplConnection()
888 NetworkRequest request = requestBuilder.build(); in handleRequestSuplConnection()