Home
last modified time | relevance | path

Searched refs:GetVibratorInfo (Results 1 - 12 of 12) sorted by relevance

/drivers/peripheral/vibrator/test/benchmarktest/
H A Dhdf_vibrator_benchmark_test.cpp131 * @tc.desc: Benchmarktest for interface GetVibratorInfo
135 BENCHMARK_F(VibratorBenchmarkTest, GetVibratorInfo)(benchmark::State &state) in BENCHMARK_F()
152 int32_t startRet = g_vibratorInterface->GetVibratorInfo(info); in BENCHMARK_F()
157 BENCHMARK_REGISTER_F(VibratorBenchmarkTest, GetVibratorInfo)->
182 int32_t startRet = g_vibratorInterface->GetVibratorInfo(info); in BENCHMARK_F()
/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h102 int32_t (*GetVibratorInfo)(struct VibratorInfo **vibratorInfo); member
/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() function in OHOS::HDI::Vibrator::V1_1::VibratorInterfaceImpl
105 HDF_LOGI("%{public}s: Enter the GetVibratorInfo function.", __func__); in GetVibratorInfo()
107 if (vibratorInterface == nullptr || vibratorInterface->GetVibratorInfo == nullptr) { in GetVibratorInfo()
114 int32_t ret = vibratorInterface->GetVibratorInfo(&tmp); in GetVibratorInfo()
/drivers/peripheral/vibrator/hal/src/
H A Dvibrator_controller.c80 static int32_t GetVibratorInfo(struct VibratorInfo **vibratorInfo) in GetVibratorInfo() function
347 vibratorDevInstance.GetVibratorInfo = GetVibratorInfo; in NewVibratorInterfaceInstance()
/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() function in OHOS::HDI::Vibrator::V1_3::VibratorIfService
183 HDF_LOGD("%{public}s: Enter the GetVibratorInfo function.", __func__); in GetVibratorInfo()
190 StartTrace(HITRACE_TAG_HDF, "GetVibratorInfo"); in GetVibratorInfo()
191 int32_t ret = vibratorVdiImpl_->GetVibratorInfo(vibratorInfoVdi); in GetVibratorInfo()
193 HDF_LOGE("%{public}s GetVibratorInfo failed, error code is %{public}d", __func__, ret); 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/test/unittest/hdi/
H A Dhdf_vibrator_hdi_test.cpp298 int32_t startRet = g_vibratorInterface->GetVibratorInfo(info); in HWTEST_F()
330 int32_t startRet = g_vibratorInterface->GetVibratorInfo(info); in HWTEST_F()
372 int32_t startRet = g_vibratorInterface->GetVibratorInfo(info); in HWTEST_F()
405 int32_t startRet = g_vibratorInterface->GetVibratorInfo(info); in HWTEST_F()
438 int32_t startRet = g_vibratorInterface->GetVibratorInfo(info); in HWTEST_F()
H A Dhdi_unittest_vibrator.cpp355 int32_t ret = g_vibratorInterface->GetVibratorInfo(info); in HWTEST_F()
377 int32_t startRet = g_vibratorInterface->GetVibratorInfo(info); in HWTEST_F()
406 int32_t startRet = g_vibratorInterface->GetVibratorInfo(info); in HWTEST_F()
/drivers/hdf_core/framework/model/misc/vibrator/driver/src/
H A Dvibrator_driver.c237 static int32_t GetVibratorInfo(struct HdfSBuf *data, struct HdfSBuf *reply) in GetVibratorInfo() function
315 {VIBRATOR_DRV_IO_GET_INFO, GetVibratorInfo},
/drivers/peripheral/vibrator/test/unittest/common/
H A Dhdf_vibrator_test.cpp273 int32_t startRet = g_vibratorDev->GetVibratorInfo(&g_vibratorInfo); in HWTEST_F()
294 int32_t startRet = g_vibratorDev->GetVibratorInfo(nullptr); in HWTEST_F()

Completed in 7 milliseconds