Home
last modified time | relevance | path

Searched refs:effectType (Results 1 - 10 of 10) sorted by relevance

/drivers/peripheral/vibrator/hdi_impl/
H A Dvibrator_interface_impl.h32 int32_t Start(const std::string &effectType) override;
37 int32_t GetEffectInfo(const std::string &effectType, HdfEffectInfoVdi &effectInfo) override;
42 int32_t StartByIntensity(const std::string& effectType, uint16_t intensity) override;
H A Dvibrator_interface_impl.cpp58 int32_t VibratorInterfaceImpl::Start(const std::string &effectType) in Start() argument
66 int32_t ret = vibratorInterface->Start(effectType.c_str()); in Start()
165 int32_t VibratorInterfaceImpl::GetEffectInfo(const std::string &effectType, HdfEffectInfoVdi &effectInfo) in GetEffectInfo() argument
175 int32_t ret = vibratorInterface->GetEffectInfo(effectType.c_str(), &info); in GetEffectInfo()
247 int32_t VibratorInterfaceImpl::StartByIntensity(const std::string& effectType, uint16_t intensity) in StartByIntensity() argument
258 int32_t ret = vibratorInterface->Start(effectType.c_str()); in StartByIntensity()
/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h70 * @param effectType Indicates the pointer to the preset effect type. It is recommended that the
77 int32_t (*Start)(const char *effectType);
136 * @param effectType Indicates the pointer to the preset effect type. It is recommended that the
148 int32_t (*GetEffectInfo)(const char *effectType, struct EffectInfo *effectInfo);
/drivers/peripheral/vibrator/hdi_service/
H A Dvibrator_if_service.h33 int32_t Start(const std::string &effectType) override;
39 int32_t GetEffectInfo(const std::string &effectType, HdfEffectInfo &effectInfo) override;
44 int32_t StartByIntensity(const std::string& effectType, uint16_t intensity) override;
H A Dvibrator_if_service.cpp101 int32_t VibratorIfService::Start(const std::string &effectType) in Start() argument
110 int32_t ret = vibratorVdiImpl_->Start(effectType); in Start()
272 int32_t VibratorIfService::GetEffectInfo(const std::string &effectType, HdfEffectInfo &effectInfo) in GetEffectInfo() argument
282 int32_t ret = vibratorVdiImpl_->GetEffectInfo(effectType, effectInfoVdi); in GetEffectInfo()
395 int32_t VibratorIfService::StartByIntensity(const std::string& effectType, uint16_t intensity) in StartByIntensity() argument
404 int32_t ret = vibratorVdiImpl_->StartByIntensity(effectType, intensity); in StartByIntensity()
/drivers/peripheral/vibrator/interfaces/v1_1/
H A Divibrator_interface_vdi.h38 virtual int32_t Start(const std::string &effectType) = 0;
43 virtual int32_t GetEffectInfo(const std::string &effectType, HdfEffectInfoVdi &effectInfo) = 0;
48 virtual int32_t StartByIntensity(const std::string& effectType, uint16_t intensity) {return HDF_SUCCESS;}; in StartByIntensity() argument
/drivers/hdf_core/framework/model/misc/vibrator/driver/include/
H A Dvibrator_haptic.h52 int32_t effectType; member
H A Dvibrator_driver.h21 int32_t (*StartEffect)(uint32_t effectType);
/drivers/peripheral/vibrator/chipset/linear/
H A Dvibrator_linear_driver.c48 static int32_t StartEffectLinearVibrator(uint32_t effectType) in StartEffectLinearVibrator() argument
50 (void)effectType; in StartEffectLinearVibrator()
/drivers/hdf_core/framework/model/misc/vibrator/driver/src/
H A Dvibrator_haptic.c221 if (hapticData->effectType == VIBRATOR_TYPE_TIME) { in HapticTimerEntry()
225 if (hapticData->effectType == VIBRATOR_TYPE_EFFECT) { in HapticTimerEntry()
261 hapticData->effectType = VIBRATOR_TYPE_TIME; in GetHapticSeqByEffect()
271 hapticData->effectType = (int32_t)pos->type; in GetHapticSeqByEffect()

Completed in 4 milliseconds