Home
last modified time | relevance | path

Searched refs:vibratorInfo (Results 1 - 13 of 13) sorted by relevance

/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
/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(*vibratorInfo)) != EOK) { 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.intensityMaxValue, 0); in ParseVibratorInfo()
49 ret = parser->GetUint16(infoNode, "intensityMinValue", (uint16_t *)&config->vibratorInfo.intensityMinValue, 0); in ParseVibratorInfo()
51 ret = parser->GetUint16(infoNode, "frequencyMaxValue", (uint16_t *)&config->vibratorInfo.frequencyMaxValue, 0); in ParseVibratorInfo()
53 ret = parser->GetUint16(infoNode, "frequencyMinValue", (uint16_t *)&config->vibratorInfo.frequencyMinValue, 0); in ParseVibratorInfo()
/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h95 * @param vibratorInfo Indicates the pointer to the vibration effect, For details, see {@link VibratorInfo}.
102 int32_t (*GetVibratorInfo)(struct VibratorInfo **vibratorInfo);
/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()
/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()
/drivers/peripheral/vibrator/hdi_service/
H A Dvibrator_if_service.h36 int32_t GetVibratorInfo(std::vector<HdfVibratorInfo> &vibratorInfo) override;
H A Dvibrator_if_service.cpp181 int32_t VibratorIfService::GetVibratorInfo(std::vector<HdfVibratorInfo> &vibratorInfo) in GetVibratorInfo() argument
210 vibratorInfo.push_back(std::move(hdfVibratorInfo)); in GetVibratorInfo()
/drivers/peripheral/vibrator/interfaces/v1_1/
H A Divibrator_interface_vdi.h40 virtual int32_t GetVibratorInfo(std::vector<HdfVibratorInfoVdi> &vibratorInfo) = 0;
/drivers/peripheral/vibrator/chipset/linear/
H A Dvibrator_linear_driver.c131 if (RegisterVibratorInfo(&drvData->linearCfgData->vibratorInfo) != HDF_SUCCESS) { in InitLinearVibratorDriver()
/drivers/peripheral/vibrator/chipset/drv2605l/
H A Dvibrator_drv2605l_driver.c328 if (RegisterVibratorInfo(&drvData->drv2605lCfgData->vibratorInfo) != HDF_SUCCESS) { in InitDrv2605lDriver()

Completed in 7 milliseconds