Home
last modified time | relevance | path

Searched refs:flashMode (Results 1 - 14 of 14) sorted by relevance

/test/xts/hats/hdf/light/hdiService/
H A Dhdf_light_hdiService_test.cpp69 effect.flashEffect.flashMode = HDF_LIGHT_FLASH_NONE; in InitConfig()
126 effect.flashEffect.flashMode = LIGHT_FLASH_NONE; in HWTEST_F()
158 effect.flashEffect.flashMode = LIGHT_FLASH_BUTT; in HWTEST_F()
187 effect.flashEffect.flashMode = LIGHT_FLASH_BLINK; in HWTEST_F()
221 effect.flashEffect.flashMode = LIGHT_FLASH_GRADIENT; in HWTEST_F()
365 effect.flashEffect.flashMode = HDF_LIGHT_FLASH_BLINK; in HWTEST_F()
390 effect.flashEffect.flashMode = HDF_LIGHT_FLASH_BLINK; in HWTEST_F()
415 effect.flashEffect.flashMode = HDF_LIGHT_FLASH_BLINK; in HWTEST_F()
441 effect.flashEffect.flashMode = HDF_LIGHT_FLASH_GRADIENT; in HWTEST_F()
504 effect.flashEffect.flashMode in HWTEST_F()
[all...]
H A Dhdf_light_hdi_common_test.cpp66 effect.flashEffect.flashMode = HDF_LIGHT_FLASH_NONE; in InitConfig()
178 effect.flashEffect.flashMode = -1; in HWTEST_F()
201 effect.flashEffect.flashMode = HDF_LIGHT_FLASH_BUTT; in HWTEST_F()
/test/xts/dcts/distributedhardware/distributedcameratest/
H A Ddcamera_hdf_demo.cpp720 uint8_t flashMode = OHOS_CAMERA_FLASH_MODE_ALWAYS_OPEN; in SetMetadataMeter() local
721 metaData->addEntry(OHOS_CONTROL_FLASH_MODE, &flashMode, sizeof(flashMode)); in SetMetadataMeter()
793 uint8_t flashMode = OHOS_CAMERA_FLASH_MODE_ALWAYS_OPEN; in SetMetadataAe() local
794 metaData->addEntry(OHOS_CONTROL_FLASH_MODE, &flashMode, sizeof(flashMode)); in SetMetadataAe()
866 uint8_t flashMode = mode; in SetMetadataFlash() local
867 metaData->addEntry(OHOS_CONTROL_FLASH_MODE, &flashMode, sizeof(flashMode)); in SetMetadataFlash()
939 uint8_t flashMode in SetMetadataMirror() local
1012 uint8_t flashMode = OHOS_CAMERA_FLASH_MODE_ALWAYS_OPEN; SetMetadataJpeg() local
1085 uint8_t flashMode = OHOS_CAMERA_FLASH_MODE_ALWAYS_OPEN; SetMetadataAf() local
1158 uint8_t flashMode = OHOS_CAMERA_FLASH_MODE_ALWAYS_OPEN; SetMetadataFace() local
1231 uint8_t flashMode = OHOS_CAMERA_FLASH_MODE_ALWAYS_OPEN; SetMetadata() local
[all...]
/test/xts/hats/hdf/light/liteos/
H A Dhdf_light_test.cpp138 effect.flashEffect.flashMode = LIGHT_FLASH_NONE; in HWTEST_F()
166 effect.flashEffect.flashMode = LIGHT_FLASH_BLINK; in HWTEST_F()
200 effect.flashEffect.flashMode = LIGHT_FLASH_BUTT; in HWTEST_F()
207 effect.flashEffect.flashMode = LIGHT_FLASH_BLINK; in HWTEST_F()
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dcamera_manager.cpp100 Camera_FlashMode flashMode = static_cast<Camera_FlashMode>(mode); in HasFlashFn() local
115 ret = OH_CaptureSession_IsFlashModeSupported(captureSession_, flashMode, &isSupported); in HasFlashFn()
126 ret = OH_CaptureSession_SetFlashMode(captureSession_, flashMode); in HasFlashFn()
134 ret = OH_CaptureSession_GetFlashMode(captureSession_, &flashMode); in HasFlashFn()
136 LOG("ndkXTS OH_CaptureSession_GetFlashMode success. flashMode: %d ", flashMode); in HasFlashFn()
740 Camera_FlashMode flashMode = static_cast<Camera_FlashMode>(mode); in SessionIsFlashModeSupported() local
741 Camera_ErrorCode ret = OH_CaptureSession_IsFlashModeSupported(captureSession_, flashMode, &IsFlashMode_); in SessionIsFlashModeSupported()
765 Camera_FlashMode flashMode = static_cast<Camera_FlashMode>(mode); in SessionSetFlashMode() local
766 Camera_ErrorCode ret = OH_CaptureSession_SetFlashMode(captureSession_, flashMode); in SessionSetFlashMode()
[all...]
H A Dmodule_test.cpp570 int32_t flashMode; in SessionIsFlashModeSupported() local
571 napi_get_value_int32(env, args[0], &flashMode); in SessionIsFlashModeSupported()
573 ndkCamera_->SessionIsFlashModeSupported(flashMode); in SessionIsFlashModeSupported()
583 Camera_FlashMode flashMode = ndkCamera_->flashMode_; in SessionGetFlashMode() local
584 napi_create_int32(env, flashMode, &result); in SessionGetFlashMode()
596 int32_t flashMode; in SessionSetFlashMode() local
597 napi_get_value_int32(env, args[0], &flashMode); in SessionSetFlashMode()
598 Camera_ErrorCode ret = ndkCamera_->SessionSetFlashMode(flashMode); in SessionSetFlashMode()
/test/xts/acts/multimedia/camera/camera_ndk_xts/OHCameraNdk/entry/src/main/cpp/
H A Dcamera_manager.cpp649 Camera_FlashMode flashMode = static_cast<Camera_FlashMode>(mode); in SessionIsFlashModeSupported() local
651 ret_ = OH_CaptureSession_IsFlashModeSupported(captureSession_, flashMode, &isFlashMode_); in SessionIsFlashModeSupported()
653 ret_ = OH_CaptureSession_IsFlashModeSupported(captureSession_, flashMode, nullptr); in SessionIsFlashModeSupported()
655 ret_ = OH_CaptureSession_IsFlashModeSupported(captureSession_, flashMode, &isFlashMode_); in SessionIsFlashModeSupported()
657 ret_ = OH_CaptureSession_IsFlashModeSupported(nullptr, flashMode, &isFlashMode_); in SessionIsFlashModeSupported()
663 Camera_FlashMode flashMode = static_cast<Camera_FlashMode>(mode); in SessionSetFlashMode() local
665 ret_ = OH_CaptureSession_SetFlashMode(captureSession_, flashMode); in SessionSetFlashMode()
668 ret_ = OH_CaptureSession_SetFlashMode(captureSession_, flashMode); in SessionSetFlashMode()
670 ret_ = OH_CaptureSession_SetFlashMode(nullptr, flashMode); in SessionSetFlashMode()
H A Dmian.cpp771 int32_t flashMode; in OHCaptureSessionSetFlashMode() local
772 napi_get_value_int32(env, args[0], &flashMode); in OHCaptureSessionSetFlashMode()
777 Camera_ErrorCode code = ndkCamera->SessionSetFlashMode(flashMode, index); in OHCaptureSessionSetFlashMode()
/test/xts/hats/hdf/light/lightBenchmarkTest/
H A Dhdf_light_benchmark_test.cpp104 effect.flashEffect.flashMode = LIGHT_FLASH_NONE; in BENCHMARK_F()
142 effect.flashEffect.flashMode = LIGHT_FLASH_BLINK; in BENCHMARK_F()
/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/cpp/
H A Dcamera_manager.cpp170 Camera_FlashMode flashMode = static_cast<Camera_FlashMode>(mode); in HasFlashFn() local
185 ret = OH_CaptureSession_IsFlashModeSupported(captureSession_, flashMode, &isSupported); in HasFlashFn()
196 ret = OH_CaptureSession_SetFlashMode(captureSession_, flashMode); in HasFlashFn()
204 ret = OH_CaptureSession_GetFlashMode(captureSession_, &flashMode); in HasFlashFn()
206 LOG("ndkXTS OH_CaptureSession_GetFlashMode success. flashMode: %d ", flashMode); in HasFlashFn()
846 Camera_FlashMode flashMode = static_cast<Camera_FlashMode>(mode); in SessionIsFlashModeSupported() local
847 Camera_ErrorCode ret = OH_CaptureSession_IsFlashModeSupported(captureSession_, flashMode, &IsFlashMode_); in SessionIsFlashModeSupported()
871 Camera_FlashMode flashMode = static_cast<Camera_FlashMode>(mode); in SessionSetFlashMode() local
872 Camera_ErrorCode ret = OH_CaptureSession_SetFlashMode(captureSession_, flashMode); in SessionSetFlashMode()
[all...]
H A Dmain.cpp538 int32_t flashMode; in SessionIsFlashModeSupported() local
539 napi_get_value_int32(env, args[0], &flashMode); in SessionIsFlashModeSupported()
541 ndkCamera_->SessionIsFlashModeSupported(flashMode); in SessionIsFlashModeSupported()
551 Camera_FlashMode flashMode = ndkCamera_->flashMode_; in SessionGetFlashMode() local
552 napi_create_int32(env, flashMode, &result); in SessionGetFlashMode()
626 int32_t flashMode; in SessionSetFlashMode() local
627 napi_get_value_int32(env, args[0], &flashMode); in SessionSetFlashMode()
628 Camera_ErrorCode ret = ndkCamera_->SessionSetFlashMode(flashMode); in SessionSetFlashMode()
/test/xts/hats/hdf/light/hdiService_additional/
H A DHdfLightCommonTestAdditional.cpp56 effect.flashEffect.flashMode = HDF_LIGHT_FLASH_NONE; in InitConfig()
252 effect.flashEffect.flashMode = 0; in HWTEST_F()
/test/xts/hats/hdf/camera/cameraMg/v1_3/src/
H A Dcamera_professional_test_v1_3.cpp116 uint8_t flashMode = i; in HWTEST_F() local
117 meta->addEntry(OHOS_CONTROL_FLASH_MODE, &flashMode, DATA_COUNT); in HWTEST_F()
870 uint8_t flashMode = i; in HWTEST_F() local
871 meta->addEntry(OHOS_CONTROL_FLASH_MODE, &flashMode, DATA_COUNT); in HWTEST_F()
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
H A Dhdi_stream_uttest.cpp2296 uint8_t flashMode = OHOS_CAMERA_FLASH_MODE_OPEN; in HWTEST_F() local
2297 modeSetting->addEntry(OHOS_CONTROL_FLASHMODE, &flashMode, 1); in HWTEST_F()

Completed in 26 milliseconds