Searched refs:vibratorInfo (Results 1 - 13 of 13) sorted by relevance
/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
|
/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(*vibratorInfo)) != EOK) { 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.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 D | vibrator_if.h | 95 * @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 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()
|
/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()
|
/drivers/peripheral/vibrator/hdi_service/ |
H A D | vibrator_if_service.h | 36 int32_t GetVibratorInfo(std::vector<HdfVibratorInfo> &vibratorInfo) override;
|
H A D | vibrator_if_service.cpp | 181 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 D | ivibrator_interface_vdi.h | 40 virtual int32_t GetVibratorInfo(std::vector<HdfVibratorInfoVdi> &vibratorInfo) = 0;
|
/drivers/peripheral/vibrator/chipset/linear/ |
H A D | vibrator_linear_driver.c | 131 if (RegisterVibratorInfo(&drvData->linearCfgData->vibratorInfo) != HDF_SUCCESS) { in InitLinearVibratorDriver()
|
/drivers/peripheral/vibrator/chipset/drv2605l/ |
H A D | vibrator_drv2605l_driver.c | 328 if (RegisterVibratorInfo(&drvData->drv2605lCfgData->vibratorInfo) != HDF_SUCCESS) { in InitDrv2605lDriver()
|
Completed in 7 milliseconds