Home
last modified time | relevance | path

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

/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h184 int32_t (*GetHapticCapacity)(struct HapticCapacity *hapticCapacity); member
/drivers/peripheral/vibrator/test/fuzztest/vibratorgethapticcapacity_fuzzer/
H A Dvibratorgethapticcapacity_fuzzer.cpp49 int32_t ret = !g_vibratorInterface->GetHapticCapacity(params.hapticCapacity); in VibratorGetHapticCapacityTest()
/drivers/peripheral/vibrator/hdi_impl/
H A Dvibrator_interface_impl.h40 int32_t GetHapticCapacity(HapticCapacityVdi& hapticCapacityVdi) override;
H A Dvibrator_interface_impl.cpp210 int32_t VibratorInterfaceImpl::GetHapticCapacity(HapticCapacityVdi& hapticCapacityVdi) in GetHapticCapacity() function in OHOS::HDI::Vibrator::V1_1::VibratorInterfaceImpl
212 HDF_LOGI("%{public}s: Enter the GetHapticCapacity function\n", __func__); in GetHapticCapacity()
214 if (vibratorInterface == nullptr || vibratorInterface->GetHapticCapacity == nullptr) { in GetHapticCapacity()
219 int32_t ret = vibratorInterface->GetHapticCapacity(&hapticCapacity); in GetHapticCapacity()
/drivers/peripheral/vibrator/hal/src/
H A Dvibrator_controller.c317 static int32_t GetHapticCapacity(struct HapticCapacity *hapticCapacity) in GetHapticCapacity() function
351 vibratorDevInstance.GetHapticCapacity = GetHapticCapacity; in NewVibratorInterfaceInstance()
/drivers/peripheral/vibrator/hdi_service/
H A Dvibrator_if_service.h42 int32_t GetHapticCapacity(HapticCapacity& hapticCapacity) override;
H A Dvibrator_if_service.cpp355 int32_t VibratorIfService::GetHapticCapacity(HapticCapacity& hapticCapacity) in GetHapticCapacity() function in OHOS::HDI::Vibrator::V1_3::VibratorIfService
357 HDF_LOGD("%{public}s: Enter the GetHapticCapacity function", __func__); in GetHapticCapacity()
364 StartTrace(HITRACE_TAG_HDF, "GetHapticCapacity"); in GetHapticCapacity()
365 int32_t ret = vibratorVdiImpl_->GetHapticCapacity(hapticCapacityVdi); in GetHapticCapacity()
367 HDF_LOGE("%{public}s GetHapticCapacity failed, error code is %{public}d", __func__, ret); in GetHapticCapacity()
/drivers/peripheral/vibrator/interfaces/v1_1/
H A Divibrator_interface_vdi.h46 virtual int32_t GetHapticCapacity(HapticCapacityVdi& hapticCapacity) = 0;
/drivers/peripheral/vibrator/test/unittest/hdi/
H A Dhdi_unittest_vibrator.cpp123 * @tc.name: GetHapticCapacity
128 HWTEST_F(HdiUnitTestVibrator, GetHapticCapacity, TestSize.Level1) in HWTEST_F()
133 int32_t startRet = g_vibratorInterface->GetHapticCapacity(g_hapticCapacity); in HWTEST_F()
H A Dhdf_vibrator_hdi_test.cpp526 * @tc.name: GetHapticCapacity
531 HWTEST_F(HdfVibratorHdiTest, GetHapticCapacity, TestSize.Level1) in HWTEST_F()
536 int32_t startRet = g_vibratorInterface->GetHapticCapacity(hapticCapacity); in HWTEST_F()

Completed in 8 milliseconds