Home
last modified time | relevance | path

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

/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h148 int32_t (*GetEffectInfo)(const char *effectType, struct EffectInfo *effectInfo); member
/drivers/peripheral/vibrator/test/benchmarktest/
H A Dhdf_vibrator_benchmark_test.cpp251 BENCHMARK_F(VibratorBenchmarkTest, GetEffectInfo)(benchmark::State &state) in BENCHMARK_F()
257 ret = g_vibratorInterface->GetEffectInfo("haptic.pattern.type1", effectInfo); in BENCHMARK_F()
262 BENCHMARK_REGISTER_F(VibratorBenchmarkTest, GetEffectInfo)->
/drivers/peripheral/vibrator/hdi_impl/
H A Dvibrator_interface_impl.h37 int32_t GetEffectInfo(const std::string &effectType, HdfEffectInfoVdi &effectInfo) override;
H A Dvibrator_interface_impl.cpp165 int32_t VibratorInterfaceImpl::GetEffectInfo(const std::string &effectType, HdfEffectInfoVdi &effectInfo) in GetEffectInfo() function in OHOS::HDI::Vibrator::V1_1::VibratorInterfaceImpl
167 HDF_LOGI("%{public}s: Enter the GetEffectInfo function.", __func__); in GetEffectInfo()
169 if (vibratorInterface == nullptr || vibratorInterface->GetEffectInfo == nullptr) { in GetEffectInfo()
175 int32_t ret = vibratorInterface->GetEffectInfo(effectType.c_str(), &info); in GetEffectInfo()
/drivers/peripheral/vibrator/hal/src/
H A Dvibrator_controller.c262 static int32_t GetEffectInfo(const char *effect, struct EffectInfo *effectInfo) in GetEffectInfo() function
348 vibratorDevInstance.GetEffectInfo = GetEffectInfo; in NewVibratorInterfaceInstance()
/drivers/peripheral/vibrator/hdi_service/
H A Dvibrator_if_service.h39 int32_t GetEffectInfo(const std::string &effectType, HdfEffectInfo &effectInfo) override;
H A Dvibrator_if_service.cpp272 int32_t VibratorIfService::GetEffectInfo(const std::string &effectType, HdfEffectInfo &effectInfo) in GetEffectInfo() function in OHOS::HDI::Vibrator::V1_3::VibratorIfService
274 HDF_LOGD("%{public}s: Enter the GetEffectInfo function.", __func__); in GetEffectInfo()
281 StartTrace(HITRACE_TAG_HDF, "GetEffectInfo"); in GetEffectInfo()
282 int32_t ret = vibratorVdiImpl_->GetEffectInfo(effectType, effectInfoVdi); in GetEffectInfo()
284 HDF_LOGE("%{public}s GetEffectInfo failed, error code is %{public}d", __func__, ret); in GetEffectInfo()
/drivers/peripheral/vibrator/interfaces/v1_1/
H A Divibrator_interface_vdi.h43 virtual int32_t GetEffectInfo(const std::string &effectType, HdfEffectInfoVdi &effectInfo) = 0;
/drivers/peripheral/vibrator/test/unittest/hdi/
H A Dhdi_unittest_vibrator.cpp234 int32_t ret = g_vibratorInterface->GetEffectInfo("haptic.pattern.type1", effectInfo); in HWTEST_F()
253 int32_t ret = g_vibratorInterface->GetEffectInfo("invalid.effect.id", effectInfo); in HWTEST_F()
431 g_vibratorInterface->GetEffectInfo(iter, effectInfo); in HWTEST_F()
H A Dhdf_vibrator_hdi_test.cpp461 ret = g_vibratorInterface->GetEffectInfo(iter, effectInfo); in HWTEST_F()
483 int32_t ret = g_vibratorInterface->GetEffectInfo("invaild effect id", effectInfo); in HWTEST_F()

Completed in 6 milliseconds