/drivers/peripheral/camera/test/ut/v4l2/ |
D | camera_ability_test.cpp | 31 …S::Camera::RetCode CameraAbilityTest::GetSensorOrientation(std::shared_ptr<CameraAbility> &ability) in GetSensorOrientation() argument 33 common_metadata_header_t *data = cameraBase_->ability->get(); in GetSensorOrientation() 46 OHOS::Camera::RetCode CameraAbilityTest::GetFlashAvailable(std::shared_ptr<CameraAbility> &ability) in GetFlashAvailable() argument 48 common_metadata_header_t *data = cameraBase_->ability->get(); in GetFlashAvailable() 61 OHOS::Camera::RetCode CameraAbilityTest::GetAfAvailable(std::shared_ptr<CameraAbility> &ability) in GetAfAvailable() argument 63 common_metadata_header_t *data = cameraBase_->ability->get(); in GetAfAvailable() 84 OHOS::Camera::RetCode CameraAbilityTest::GetZoomRatioRange(std::shared_ptr<CameraAbility> &ability) in GetZoomRatioRange() argument 86 common_metadata_header_t *data = cameraBase_->ability->get(); in GetZoomRatioRange() 107 OHOS::Camera::RetCode CameraAbilityTest::GetJpegOrientation(std::shared_ptr<CameraAbility> &ability) in GetJpegOrientation() argument 109 common_metadata_header_t *data = cameraBase_->ability->get(); in GetJpegOrientation() [all …]
|
D | camera_ability_test.h | 27 OHOS::Camera::RetCode GetSensorOrientation(std::shared_ptr<CameraAbility> &ability); 28 OHOS::Camera::RetCode GetFlashAvailable(std::shared_ptr<CameraAbility> &ability); 29 OHOS::Camera::RetCode GetAfAvailable(std::shared_ptr<CameraAbility> &ability); 30 OHOS::Camera::RetCode GetZoomRatioRange(std::shared_ptr<CameraAbility> &ability); 31 OHOS::Camera::RetCode GetJpegOrientation(std::shared_ptr<CameraAbility> &ability);
|
D | camera_stabili_test.cpp | 36 std::shared_ptr<CameraAbility> &ability) in GetAvalialbleVideoStabilizationModes() argument 38 common_metadata_header_t* data = ability->get(); in GetAvalialbleVideoStabilizationModes() 64 if (cameraBase_->ability == nullptr) { 68 GetAvalialbleVideoStabilizationModes(cameraBase_->ability); 117 if (cameraBase_->ability == nullptr) { 121 GetAvalialbleVideoStabilizationModes(cameraBase_->ability);
|
D | camera_fps_test.cpp | 35 void CameraFpsTest::GetFpsRange(std::shared_ptr<CameraAbility> &ability) in GetFpsRange() argument 37 common_metadata_header_t* data = ability->get(); in GetFpsRange() 65 if (cameraBase_->ability == nullptr) { 69 GetFpsRange(cameraBase_->ability);
|
/drivers/peripheral/camera/test/demo/ |
D | ohos_camera_demo.h | 107 RetCode GetFaceDetectMode(std::shared_ptr<CameraAbility> &ability); 108 RetCode GetFocalLength(std::shared_ptr<CameraAbility> &ability); 109 RetCode GetAvailableFocusModes(std::shared_ptr<CameraAbility> &ability); 110 RetCode GetAvailableExposureModes(std::shared_ptr<CameraAbility> &ability); 111 RetCode GetExposureCompensationRange(std::shared_ptr<CameraAbility> &ability); 112 RetCode GetExposureCompensationSteps(std::shared_ptr<CameraAbility> &ability); 113 RetCode GetAvailableMeterModes(std::shared_ptr<CameraAbility> &ability); 114 RetCode GetAvailableFlashModes(std::shared_ptr<CameraAbility> &ability); 115 RetCode GetMirrorSupported(std::shared_ptr<CameraAbility> &ability); 116 RetCode GetStreamBasicConfigurations(std::shared_ptr<CameraAbility> &ability); [all …]
|
D | ohos_camera_demo.cpp | 835 RetCode OhosCameraDemo::GetFaceDetectMode(std::shared_ptr<CameraAbility> &ability) in GetFaceDetectMode() argument 837 common_metadata_header_t* data = ability->get(); in GetFaceDetectMode() 850 RetCode OhosCameraDemo::GetFocalLength(std::shared_ptr<CameraAbility> &ability) in GetFocalLength() argument 852 common_metadata_header_t* data = ability->get(); in GetFocalLength() 865 RetCode OhosCameraDemo::GetAvailableFocusModes(std::shared_ptr<CameraAbility> &ability) in GetAvailableFocusModes() argument 867 common_metadata_header_t* data = ability->get(); in GetAvailableFocusModes() 888 RetCode OhosCameraDemo::GetAvailableExposureModes(std::shared_ptr<CameraAbility> &ability) in GetAvailableExposureModes() argument 890 common_metadata_header_t* data = ability->get(); in GetAvailableExposureModes() 911 RetCode OhosCameraDemo::GetExposureCompensationRange(std::shared_ptr<CameraAbility> &ability) in GetExposureCompensationRange() argument 913 common_metadata_header_t* data = ability->get(); in GetExposureCompensationRange() [all …]
|
/drivers/peripheral/camera/test/demo_3A/ |
D | ohos_camera_demo_3a.h | 106 RetCode GetFaceDetectMode(std::shared_ptr<CameraAbility> &ability); 107 RetCode GetFocalLength(std::shared_ptr<CameraAbility> &ability); 108 RetCode GetAvailableFocusModes(std::shared_ptr<CameraAbility> &ability); 109 RetCode GetAvailableExposureModes(std::shared_ptr<CameraAbility> &ability); 110 RetCode GetExposureCompensationRange(std::shared_ptr<CameraAbility> &ability); 111 RetCode GetExposureCompensationSteps(std::shared_ptr<CameraAbility> &ability); 112 RetCode GetAvailableMeterModes(std::shared_ptr<CameraAbility> &ability); 113 RetCode GetAvailableFlashModes(std::shared_ptr<CameraAbility> &ability); 114 RetCode GetMirrorSupported(std::shared_ptr<CameraAbility> &ability); 115 RetCode GetStreamBasicConfigurations(std::shared_ptr<CameraAbility> &ability); [all …]
|
D | ohos_camera_demo_3a.cpp | 843 RetCode OhosCameraDemo::GetFaceDetectMode(std::shared_ptr<CameraAbility> &ability) in GetFaceDetectMode() argument 845 common_metadata_header_t* data = ability->get(); in GetFaceDetectMode() 858 RetCode OhosCameraDemo::GetFocalLength(std::shared_ptr<CameraAbility> &ability) in GetFocalLength() argument 860 common_metadata_header_t* data = ability->get(); in GetFocalLength() 873 RetCode OhosCameraDemo::GetAvailableFocusModes(std::shared_ptr<CameraAbility> &ability) in GetAvailableFocusModes() argument 875 common_metadata_header_t* data = ability->get(); in GetAvailableFocusModes() 896 RetCode OhosCameraDemo::GetAvailableExposureModes(std::shared_ptr<CameraAbility> &ability) in GetAvailableExposureModes() argument 898 common_metadata_header_t* data = ability->get(); in GetAvailableExposureModes() 919 RetCode OhosCameraDemo::GetExposureCompensationRange(std::shared_ptr<CameraAbility> &ability) in GetExposureCompensationRange() argument 921 common_metadata_header_t* data = ability->get(); in GetExposureCompensationRange() [all …]
|
/drivers/peripheral/distributed_camera/hdi_service/test/sample/ |
D | dcamera_hdf_demo.h | 131 RetCode GetFaceDetectMode(std::shared_ptr<CameraAbility> &ability); 132 RetCode GetFocalLength(std::shared_ptr<CameraAbility> &ability); 133 RetCode GetAvailableFocusModes(std::shared_ptr<CameraAbility> &ability); 134 RetCode GetAvailableExposureModes(std::shared_ptr<CameraAbility> &ability); 135 RetCode GetExposureCompensationRange(std::shared_ptr<CameraAbility> &ability); 136 RetCode GetExposureCompensationSteps(std::shared_ptr<CameraAbility> &ability); 137 RetCode GetAvailableMeterModes(std::shared_ptr<CameraAbility> &ability); 138 RetCode GetAvailableFlashModes(std::shared_ptr<CameraAbility> &ability); 139 RetCode GetMirrorSupported(std::shared_ptr<CameraAbility> &ability); 140 RetCode GetStreamBasicConfigurations(std::shared_ptr<CameraAbility> &ability); [all …]
|
D | dcamera_hdf_demo.cpp | 784 RetCode DcameraHdfDemo::GetFaceDetectMode(std::shared_ptr<CameraAbility> &ability) in GetFaceDetectMode() argument 786 common_metadata_header_t* data = ability->get(); in GetFaceDetectMode() 799 RetCode DcameraHdfDemo::GetFocalLength(std::shared_ptr<CameraAbility> &ability) in GetFocalLength() argument 801 common_metadata_header_t* data = ability->get(); in GetFocalLength() 814 RetCode DcameraHdfDemo::GetAvailableFocusModes(std::shared_ptr<CameraAbility> &ability) in GetAvailableFocusModes() argument 816 common_metadata_header_t* data = ability->get(); in GetAvailableFocusModes() 837 RetCode DcameraHdfDemo::GetAvailableExposureModes(std::shared_ptr<CameraAbility> &ability) in GetAvailableExposureModes() argument 839 common_metadata_header_t* data = ability->get(); in GetAvailableExposureModes() 860 RetCode DcameraHdfDemo::GetExposureCompensationRange(std::shared_ptr<CameraAbility> &ability) in GetExposureCompensationRange() argument 862 common_metadata_header_t* data = ability->get(); in GetExposureCompensationRange() [all …]
|
/drivers/peripheral/camera/test/hdi/v1_1/src/ |
D | front_camera_tag_uttest_v1_1.cpp | 36 bool g_isFrontTagValueExistsU8(std::shared_ptr<CameraMetadata> ability, uint32_t tag, uint8_t value) in g_isFrontTagValueExistsU8() argument 38 common_metadata_header_t* data = ability->get(); in g_isFrontTagValueExistsU8() 60 common_metadata_header_t* data = cameraTest->ability->get(); 97 common_metadata_header_t* data = cameraTest->ability->get(); 99 …bool beautyFaceSlenderFlag = g_isFrontTagValueExistsU8(cameraTest->ability, OHOS_ABILITY_SCENE_BEA… 141 common_metadata_header_t* data = cameraTest->ability->get(); 143 bool beautyFaceSlenderFlag = g_isFrontTagValueExistsU8(cameraTest->ability, 185 common_metadata_header_t* data = cameraTest->ability->get(); 187 bool beautyFaceSlenderFlag = g_isFrontTagValueExistsU8(cameraTest->ability,
|
D | camera_tag_uttest_v1_1.cpp | 36 bool isTagValueExistsU8(std::shared_ptr<CameraMetadata> ability, uint32_t tag, uint8_t value) in isTagValueExistsU8() argument 38 common_metadata_header_t* data = ability->get(); in isTagValueExistsU8() 84 common_metadata_header_t* data = cameraTest->ability->get(); 108 common_metadata_header_t* data = cameraTest->ability->get(); 112 bool portraitFlag = isTagValueExistsU8(cameraTest->ability, OHOS_ABILITY_CAMERA_MODES, 153 common_metadata_header_t* data = cameraTest->ability->get(); 191 common_metadata_header_t* data = cameraTest->ability->get(); 193 bool beautyAutoFlag = isTagValueExistsU8(cameraTest->ability, OHOS_ABILITY_SCENE_BEAUTY_TYPES, 235 common_metadata_header_t* data = cameraTest->ability->get();
|
/drivers/peripheral/camera/test/hdi/v1_3/src/ |
D | camera_professional_uttest_v1_3.cpp | 48 bool g_isModeExists(std::shared_ptr<CameraMetadata> ability, uint32_t tag, uint8_t value) in g_isModeExists() argument 50 common_metadata_header_t* data = ability->get(); in g_isModeExists() 63 void GetSupportedPhysicalApertureValues(std::shared_ptr<CameraMetadata> ability) in GetSupportedPhysicalApertureValues() argument 66 EXPECT_NE(ability, nullptr); in GetSupportedPhysicalApertureValues() 67 common_metadata_header_t* data = ability->get(); in GetSupportedPhysicalApertureValues() 100 EXPECT_NE(cameraTest->ability, nullptr); 101 common_metadata_header_t* data = cameraTest->ability->get(); 127 EXPECT_NE(cameraTest->ability, nullptr); 128 common_metadata_header_t* data = cameraTest->ability->get(); 156 …if (!g_isModeExists(cameraTest->ability, OHOS_ABILITY_CAMERA_MODES, OHOS::HDI::Camera::V1_3::PROFE… [all …]
|
D | camera_hdi_uttest_v1_3.cpp | 47 bool IsTagValueExistsU8(std::shared_ptr<CameraMetadata> ability, uint32_t tag, uint8_t value) in IsTagValueExistsU8() argument 49 common_metadata_header_t* data = ability->get(); in IsTagValueExistsU8() 62 void PrintAllTagDataU8(std::shared_ptr<CameraMetadata> ability, uint32_t tag) in PrintAllTagDataU8() argument 64 common_metadata_header_t* data = ability->get(); in PrintAllTagDataU8() 85 EXPECT_NE(cameraTest->ability, nullptr); 96 PrintAllTagDataU8(cameraTest->ability, OHOS_ABILITY_CAMERA_MODES); 136 EXPECT_NE(cameraTest->ability, nullptr); 137 common_metadata_header_t* data = cameraTest->ability->get(); 161 …if (!IsTagValueExistsU8(cameraTest->ability, OHOS_ABILITY_CAMERA_MODES, OHOS::HDI::Camera::V1_3::H… 197 …if (!IsTagValueExistsU8(cameraTest->ability, OHOS_ABILITY_CAMERA_MODES, OHOS::HDI::Camera::V1_3::H… [all …]
|
/drivers/external_device_manager/ |
D | README_zh.md | 30 │ ├── driver_ext_ability # ext ability桥接类 40 │ │ ├── driver_extension # driver extension ability 和driver extension context定义和实现 47 │ │ │ ├── driver_ability_controller # ability生命周期管理接口定义 52 │ │ ├── driver_ability_controller # ability生命周期管理接口实现
|
/drivers/peripheral/camera/hal_c/include/ |
D | camera_host_c_if.h | 37 int (*GetCameraAbility)(const char* cameraId, CameraAbilityCIF* ability); 44 typedef int (*HOST_C_FUNC_GETCAMERAABILITY)(const char* cameraId, CameraAbilityCIF* ability);
|
/drivers/peripheral/camera/test/hdi/v1_0/src/ |
D | device_ability_uttest.cpp | 45 EXPECT_NE(cameraTest->ability, nullptr); 46 common_metadata_header_t *data = cameraTest->ability->get();
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/ |
D | camera_control.cpp | 235 struct CameraCapability ability = {}; in CameraGetAbility() local 253 ret = ReadAbilitySbufData(respData, ability); in CameraGetAbility() 265 int CameraControl::ReadAbilitySbufData(struct HdfSBuf *respData, struct CameraCapability &ability) in ReadAbilitySbufData() argument 274 …isFailed |= strncpy_s(ability.driver, DRIVER_NAME_NUM, HdfSbufReadString(respData), DRIVER_NAME_NU… in ReadAbilitySbufData() 275 isFailed |= strncpy_s(ability.card, NAME_SIZE, HdfSbufReadString(respData), NAME_SIZE); in ReadAbilitySbufData() 276 isFailed |= strncpy_s(ability.busInfo, NAME_SIZE, HdfSbufReadString(respData), NAME_SIZE); in ReadAbilitySbufData() 277 isFailed |= !HdfSbufReadUint32(respData, &ability.capabilities); in ReadAbilitySbufData() 281 ability.driver, ability.card, ability.busInfo, ability.capabilities); in ReadAbilitySbufData()
|
/drivers/peripheral/camera/vdi_base/usb_camera/vdi_impl/src/camera_host/ |
D | camera_host_usb_config.cpp | 67 const std::string &cameraId, std::shared_ptr<CameraAbility> &ability) in GetCameraAbility() argument 71 ability = itr->second; in GetCameraAbility() 79 const std::vector<std::string> &physicalCameraIds, const std::shared_ptr<CameraAbility> ability) in AddCameraId() argument 88 cameraAbilityMap_.insert(std::make_pair(logicalCameraId, ability)); in AddCameraId()
|
/drivers/external_device_manager/test/unittest/driver_extension_context_test/ |
D | BUILD.gn | 15 import("//foundation/ability/ability_runtime/ability_runtime.gni") 43 "${ability_runtime_native_path}/ability/native:ability_business_error", 44 "${ability_runtime_native_path}/ability/native:abilitykit_native",
|
/drivers/external_device_manager/test/xts/hats/hdf/driver_extension/extension/ |
D | BUILD.gn | 17 import("//foundation/ability/ability_runtime/ability_runtime.gni") 46 "${ability_runtime_native_path}/ability/native:ability_business_error", 47 "${ability_runtime_native_path}/ability/native:abilitykit_native",
|
/drivers/peripheral/camera/test/hdi/v1_2/src/ |
D | camera_hdi_uttest_v1_2.cpp | 41 bool IsTagValueExistsU8(std::shared_ptr<CameraMetadata> ability, uint32_t tag, uint8_t value) in IsTagValueExistsU8() argument 43 common_metadata_header_t* data = ability->get(); in IsTagValueExistsU8() 69 cameraTest->ability->addEntry(OHOS_ABILITY_DEFERRED_IMAGE_DELIVERY, 73 isExit = IsTagValueExistsU8(cameraTest->ability,\ 77 isExit = IsTagValueExistsU8(cameraTest->ability,\ 132 bool isExit = IsTagValueExistsU8(cameraTest->ability,\ 215 bool isExit = IsTagValueExistsU8(cameraTest->ability,\ 243 EXPECT_NE(cameraTest->ability, nullptr); 244 common_metadata_header_t* data = cameraTest->ability->get(); 275 EXPECT_NE(cameraTest->ability, nullptr); [all …]
|
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/ |
D | camera_host_config.cpp | 108 const std::string &cameraId, std::shared_ptr<CameraAbility> &ability) in GetCameraAbility() argument 112 ability = itr->second; in GetCameraAbility() 120 const std::vector<std::string> &physicalCameraIds, const std::shared_ptr<CameraAbility> ability) in AddCameraId() argument 129 cameraAbilityMap_.insert(std::make_pair(logicalCameraId, ability)); in AddCameraId()
|
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dcamera_device/ |
D | dcamera_device_test.cpp | 145 std::shared_ptr<CameraAbility> ability = nullptr; variable 146 CamRetCode rc = dcameraDevice_->GetDCameraAbility(ability);
|
/drivers/peripheral/camera/vdi_base/v4l2/include/camera_host/ |
D | camera_host_config.h | 33 RetCode GetCameraAbility(const std::string &cameraId, std::shared_ptr<CameraAbility> &ability); 35 … const std::vector<std::string> &physicalCameraIds, const std::shared_ptr<CameraAbility> ability);
|