Home
last modified time | relevance | path

Searched refs:previewSurface (Results 1 – 18 of 18) sorted by relevance

/frameworks/ex/camera2/extensions/eyesFreeVidSample/src/android/camera/extensions/impl/service/
DEyesFreeVidSessionProcessor.java105 @NonNull CameraOutputSurface previewSurface, in initSession() argument
110 mPreviewOutputSurfaceConfig = previewSurface; in initSession()
125 if (previewSurface.getSurface() != null) { in initSession()
126 mPreviewImageReader = ImageReader.newInstance(previewSurface.getSize().getWidth(), in initSession()
127 previewSurface.getSize().getHeight(), previewSurface.getImageFormat(), in initSession()
128 MAX_NUM_IMAGES, SurfaceUtils.getSurfaceUsage(previewSurface.getSurface())); in initSession()
131 mPreviewImageReader.getSurface(), previewSurface.getSize()); in initSession()
132 previewOutputSurface.setDynamicRangeProfile(previewSurface.getDynamicRangeProfile()); in initSession()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DTestHal.java89 byte enrollmentType, byte[] features, NativeHandle previewSurface) { in createSession() argument
203 NativeHandle previewSurface, OperationContext context) { in createSession()
204 return enroll(hat, enrollmentType, features, previewSurface); in createSession()
DFaceEnrollClient.java106 @Nullable Surface previewSurface, int sensorId, in FaceEnrollClient() argument
124 mPreviewSurface = previewSurface; in FaceEnrollClient()
DFaceProvider.java491 @Nullable Surface previewSurface, boolean debugConsent, FaceEnrollOptions options) { in scheduleEnroll() argument
501 ENROLL_TIMEOUT_SEC, previewSurface, sensorId, in scheduleEnroll()
/frameworks/av/camera/tests/
DCameraZSLTests.cpp170 sp<Surface> previewSurface; in TEST_F() local
271 previewSurface = surfaceControl->getSurface(); in TEST_F()
272 ASSERT_TRUE(previewSurface != NULL); in TEST_F()
274 previewSurface->getIGraphicBufferProducer())); in TEST_F()
/frameworks/base/core/java/android/hardware/camera2/extension/
DSessionProcessor.java238 @NonNull CameraOutputSurface previewSurface, in initSession() argument
372 Map<String, CameraMetadataNative> charsMap, OutputSurface previewSurface, in initSession() argument
376 mPreviewSurface = previewSurface; in initSession()
382 new CameraOutputSurface(previewSurface), in initSession()
DISessionProcessorImpl.aidl34 in Map<String, CameraMetadataNative> charsMap, in OutputSurface previewSurface, in initSession() argument
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMainActivity.java482 Surface previewSurface = new Surface(texture); in startRecordingVideo() local
483 surfaces.add(previewSurface); in startRecordingVideo()
484 mPreviewBuilder.addTarget(previewSurface); in startRecordingVideo()
604 Surface previewSurface = new Surface(texture); in startPreview() local
605 mPreviewBuilder.addTarget(previewSurface); in startPreview()
607 mCameraDevice.createCaptureSession(Collections.singletonList(previewSurface), in startPreview()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DISessionProcessorImpl.aidl27 in OutputSurface previewSurface, in initSession() argument
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSessionAdapter.java131 NativeHandle previewSurface) throws RemoteException { in enroll() argument
254 NativeHandle previewSurface, OperationContext context) throws RemoteException { in enrollWithContext() argument
256 return enroll(hat, type, features, previewSurface); in enrollWithContext()
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp364 sp<Surface> previewSurface; in invokeCameraAPIs() local
411 previewSurface = surfaceControl->getSurface(); in invokeCameraAPIs()
412 if (previewSurface.get()) { in invokeCameraAPIs()
413 cameraDevice->setPreviewTarget(previewSurface->getIGraphicBufferProducer()); in invokeCameraAPIs()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java875 private void setupReprocessableSession(Surface previewSurface, int numImageWriterImages) in setupReprocessableSession() argument
883 if (previewSurface != null) { in setupReprocessableSession()
884 outSurfaces.add(previewSurface); in setupReprocessableSession()
1018 private void startPreview(Surface previewSurface) throws Exception { in startPreview() argument
1020 builder.addTarget(previewSurface); in startPreview()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DServiceProvider.java82 @NonNull int[] disabledFeatures, @Nullable Surface previewSurface, in scheduleEnroll() argument
DFaceService.java208 final int[] disabledFeatures, Surface previewSurface, boolean debugConsent, in enroll() argument
219 receiver, opPackageName, disabledFeatures, previewSurface, debugConsent, in enroll()
/frameworks/base/core/java/android/hardware/face/
DIFaceService.aidl99 in Surface previewSurface, boolean debugConsent, in FaceEnrollOptions options); in enroll() argument
DFaceManager.java363 EnrollmentCallback callback, int[] disabledFeatures, @Nullable Surface previewSurface, in enroll() argument
395 disabledFeatures, previewSurface, debugConsent, options); in enroll()
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java1580 Map<String, CameraMetadataNative> charsMapNative, OutputSurface previewSurface,
1582 mOutputPreviewSurfaceImpl = new OutputSurfaceImplStub(previewSurface);
1589 int outputsColorSpace = getColorSpaceFromOutputSurfaces(previewSurface,
1735 private int getColorSpaceFromOutputSurfaces(OutputSurface previewSurface,
1739 if (previewSurface.surface != null) {
1740 colorSpace = previewSurface.colorSpace;
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraAdvancedExtensionSessionImpl.java324 OutputSurface previewSurface = initializeParcelable(mClientRepeatingRequestOutputConfig); in initialize() local
331 mCharacteristicsMap, previewSurface, captureSurface, postviewSurface); in initialize()