/ohos5.0/drivers/hdf_core/framework/model/misc/vibrator/driver/src/ |
H A D | vibrator_driver.c | 45 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 D | vibrator_parser.c | 47 …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 D | interface_i_vibrator_interface_v11.md | 25 …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 D | vibrator_driver.h | 41 struct VibratorInfo vibratorInfo; member 48 int32_t RegisterVibratorInfo(struct VibratorInfo *vibratorInfo);
|
H A D | vibrator_driver_type.h | 97 struct VibratorInfo vibratorInfo; member
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-peripherals-vibrator-des.md | 76 | 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 D | vibrator_controller.c | 80 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 D | vibrator_if.h | 102 int32_t (*GetVibratorInfo)(struct VibratorInfo **vibratorInfo);
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-peripherals-vibrator-des.md | 76 …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 D | vibrator_interface_impl.h | 34 int32_t GetVibratorInfo(std::vector<HdfVibratorInfoVdi> &vibratorInfo) override;
|
H A D | vibrator_interface_impl.cpp | 103 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 D | vibrator_interface_proxy.h.txt | 76 …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 D | vibrator_interface_proxy.cpp.txt | 159 …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 D | vibrator_interface_stub.cpp.txt | 251 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 D | vibrator_interface_service.h.txt | 36 …int32_t GetVibratorInfo(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo) ove…
|
H A D | vibrator_interface_service.cpp.txt | 45 …faceService::GetVibratorInfo(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo)
|
/ohos5.0/drivers/peripheral/vibrator/interfaces/v1_1/ |
H A D | ivibrator_interface_vdi.h | 40 virtual int32_t GetVibratorInfo(std::vector<HdfVibratorInfoVdi> &vibratorInfo) = 0;
|
/ohos5.0/drivers/peripheral/vibrator/hdi_service/ |
H A D | vibrator_if_service.h | 36 int32_t GetVibratorInfo(std::vector<HdfVibratorInfo> &vibratorInfo) override;
|
/ohos5.0/drivers/interface/vibrator/v1_1/ |
H A D | IVibratorInterface.idl | 87 …* @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 D | IVibratorInterface.idl | 87 …* @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 D | IVibratorInterface.idl | 87 …* @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 D | vibrator_interface_service.h.txt | 44 …int32_t GetVibratorInfo(std::vector<OHOS::HDI::Vibrator::V1_1::HdfVibratorInfo>& vibratorInfo) ove…
|
/ohos5.0/drivers/peripheral/vibrator/ |
H A D | README_zh.md | 49 | int32_t GetVibratorInfo(struct VibratorInfo **vibratorInfo); | 获取马达信息,包括是否支持振幅和频率的设置及振幅和频率的设置范围 。…
|
/ohos5.0/drivers/peripheral/vibrator/chipset/linear/ |
H A D | vibrator_linear_driver.c | 131 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 D | dump.txt | 17 [out] ohos.hdi.vibrator.v1_1.HdfVibratorInfo[] vibratorInfo);
|