Home
last modified time | relevance | path

Searched refs:vibratorInfo (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/drivers/hdf_core/framework/model/misc/vibrator/driver/src/
H A Dvibrator_driver.c45 int32_t RegisterVibratorInfo(struct VibratorInfo *vibratorInfo) in RegisterVibratorInfo() argument
49 CHECK_VIBRATOR_NULL_PTR_RETURN_VALUE(vibratorInfo, HDF_FAILURE); in RegisterVibratorInfo()
53 …if (memcpy_s(&drvData->vibratorInfo, sizeof(drvData->vibratorInfo), vibratorInfo, sizeof(*vibrator… in RegisterVibratorInfo()
246 if (!HdfSbufWriteBuffer(reply, &drvData->vibratorInfo, sizeof(drvData->vibratorInfo))) { in GetVibratorInfo()
H A Dvibrator_parser.c47 …ret = parser->GetUint16(infoNode, "intensityMaxValue", (uint16_t *)&config->vibratorInfo.intensity… in ParseVibratorInfo()
49 …ret = parser->GetUint16(infoNode, "intensityMinValue", (uint16_t *)&config->vibratorInfo.intensity… in ParseVibratorInfo()
51 …ret = parser->GetUint16(infoNode, "frequencyMaxValue", (uint16_t *)&config->vibratorInfo.frequency… in ParseVibratorInfo()
53 …ret = parser->GetUint16(infoNode, "frequencyMinValue", (uint16_t *)&config->vibratorInfo.frequency… in ParseVibratorInfo()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/vibrator/
H A Dinterface_i_vibrator_interface_v11.md25 …torinfo) ([out] struct [HdfVibratorInfo](_hdf_vibrator_info_v11.md)[] vibratorInfo) | 获取有关系统中支持设置振…
125 IVibratorInterface::GetVibratorInfo ([out] struct HdfVibratorInfo[] vibratorInfo)
139 | vibratorInfo | 表示指向马达信息的指针,详见[HdfVibratorInfo](_hdf_vibrator_info_v11.md)。 |
/ohos5.0/drivers/hdf_core/framework/model/misc/vibrator/driver/include/
H A Dvibrator_driver.h41 struct VibratorInfo vibratorInfo; member
48 int32_t RegisterVibratorInfo(struct VibratorInfo *vibratorInfo);
H A Dvibrator_driver_type.h97 struct VibratorInfo vibratorInfo; member
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-vibrator-des.md76 | int32_t (*GetVibratorInfo)(struct VibratorInfo **vibratorInfo) | 获取系统中支持设置振幅和频率的所有马达信息,vibratorIn…
396 … if (!HdfSbufWriteBuffer(reply, &drvData->vibratorInfo, sizeof(drvData->vibratorInfo))) {
490 int32_t RegisterVibratorInfo(struct VibratorInfo *vibratorInfo)
494 CHECK_VIBRATOR_NULL_PTR_RETURN_VALUE(vibratorInfo, HDF_FAILURE);
498 …if (memcpy_s(&drvData->vibratorInfo, sizeof(drvData->vibratorInfo), vibratorInfo, sizeof(*vibrator…
624 if (RegisterVibratorInfo(&drvData->linearCfgData->vibratorInfo) != HDF_SUCCESS) {
/ohos5.0/drivers/peripheral/vibrator/hal/src/
H A Dvibrator_controller.c80 static int32_t GetVibratorInfo(struct VibratorInfo **vibratorInfo) in GetVibratorInfo() argument
83 if (vibratorInfo == NULL) { in GetVibratorInfo()
116 *vibratorInfo = &priv->vibratorInfoEntry; in GetVibratorInfo()
/ohos5.0/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h102 int32_t (*GetVibratorInfo)(struct VibratorInfo **vibratorInfo);
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-vibrator-des.md76 …atorInfo **vibratorInfo) | Obtains information about all vibrators whose amplitude and frequency c…
396 … if (!HdfSbufWriteBuffer(reply, &drvData->vibratorInfo, sizeof(drvData->vibratorInfo))) {
490 int32_t RegisterVibratorInfo(struct VibratorInfo *vibratorInfo)
494 CHECK_VIBRATOR_NULL_PTR_RETURN_VALUE(vibratorInfo, HDF_FAILURE);
498 …if (memcpy_s(&drvData->vibratorInfo, sizeof(drvData->vibratorInfo), vibratorInfo, sizeof(*vibrator…
624 if (RegisterVibratorInfo(&drvData->linearCfgData->vibratorInfo) != HDF_SUCCESS) {
/ohos5.0/drivers/peripheral/vibrator/hdi_impl/
H A Dvibrator_interface_impl.h34 int32_t GetVibratorInfo(std::vector<HdfVibratorInfoVdi> &vibratorInfo) override;
H A Dvibrator_interface_impl.cpp103 int32_t VibratorInterfaceImpl::GetVibratorInfo(std::vector<HdfVibratorInfoVdi> &vibratorInfo) in GetVibratorInfo() argument
131 vibratorInfo.push_back(std::move(hdfVibratorInfo)); in GetVibratorInfo()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_1/cpp_target/vibrator/v1_1/
H A Dvibrator_interface_proxy.h.txt76 …int32_t GetVibratorInfo(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo) ove…
94 …tic int32_t GetVibratorInfo_(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo,
H A Dvibrator_interface_proxy.cpp.txt159 …erfaceProxy::GetVibratorInfo(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo)
161 …return OHOS::HDI::Vibrator::V1_1::VibratorInterfaceProxy::GetVibratorInfo_(vibratorInfo, GetCurren…
284 …ibratorInfo_(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo, const sptr<IRe…
311 if (!ReadPodArray(vibratorInterfaceReply, vibratorInfo)) {
312 HDF_LOGE("%{public}s: failed to read vibratorInfo", __func__);
H A Dvibrator_interface_stub.cpp.txt251 std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo> vibratorInfo;
259 vibratorInfo.reserve(capacity);
267 int32_t vibratorInterfaceRet = impl->GetVibratorInfo(vibratorInfo);
273 if (!WritePodArray(vibratorInterfaceReply, vibratorInfo)) {
274 HDF_LOGE("%{public}s: failed to write vibratorInfo", __func__);
H A Dvibrator_interface_service.h.txt36 …int32_t GetVibratorInfo(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo) ove…
H A Dvibrator_interface_service.cpp.txt45 …faceService::GetVibratorInfo(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo)
/ohos5.0/drivers/peripheral/vibrator/interfaces/v1_1/
H A Divibrator_interface_vdi.h40 virtual int32_t GetVibratorInfo(std::vector<HdfVibratorInfoVdi> &vibratorInfo) = 0;
/ohos5.0/drivers/peripheral/vibrator/hdi_service/
H A Dvibrator_if_service.h36 int32_t GetVibratorInfo(std::vector<HdfVibratorInfo> &vibratorInfo) override;
/ohos5.0/drivers/interface/vibrator/v1_1/
H A DIVibratorInterface.idl87 …* @param vibratorInfo Indicates the pointer to the vibration effect, For details, see {@link HdfVi…
95 GetVibratorInfo([out] struct HdfVibratorInfo[] vibratorInfo);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_1/foo/vibrator/v1_1/
H A DIVibratorInterface.idl87 …* @param vibratorInfo Indicates the pointer to the vibration effect, For details, see {@link HdfVi…
95 GetVibratorInfo([out] struct HdfVibratorInfo[] vibratorInfo);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_2/foo/vibrator/v1_1/
H A DIVibratorInterface.idl87 …* @param vibratorInfo Indicates the pointer to the vibration effect, For details, see {@link HdfVi…
95 GetVibratorInfo([out] struct HdfVibratorInfo[] vibratorInfo);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_2/cpp_target/vibrator/v1_2/
H A Dvibrator_interface_service.h.txt44 …int32_t GetVibratorInfo(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo) ove…
/ohos5.0/drivers/peripheral/vibrator/
H A DREADME_zh.md49 | int32_t GetVibratorInfo(struct VibratorInfo **vibratorInfo); | 获取马达信息,包括是否支持振幅和频率的设置及振幅和频率的设置范围 。…
/ohos5.0/drivers/peripheral/vibrator/chipset/linear/
H A Dvibrator_linear_driver.c131 if (RegisterVibratorInfo(&drvData->linearCfgData->vibratorInfo) != HDF_SUCCESS) { in InitLinearVibratorDriver()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/vibrator_v1_1/dump_ast_target/
H A Ddump.txt17 [out] ohos.hdi.vibrator.v1_1.HdfVibratorInfo[] vibratorInfo);

12