Searched refs:GetHapticCapacity (Results 1 - 10 of 10) sorted by relevance
/drivers/peripheral/vibrator/interfaces/include/ |
H A D | vibrator_if.h | 184 int32_t (*GetHapticCapacity)(struct HapticCapacity *hapticCapacity); member
|
/drivers/peripheral/vibrator/test/fuzztest/vibratorgethapticcapacity_fuzzer/ |
H A D | vibratorgethapticcapacity_fuzzer.cpp | 49 int32_t ret = !g_vibratorInterface->GetHapticCapacity(params.hapticCapacity); in VibratorGetHapticCapacityTest()
|
/drivers/peripheral/vibrator/hdi_impl/ |
H A D | vibrator_interface_impl.h | 40 int32_t GetHapticCapacity(HapticCapacityVdi& hapticCapacityVdi) override;
|
H A D | vibrator_interface_impl.cpp | 210 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 D | vibrator_controller.c | 317 static int32_t GetHapticCapacity(struct HapticCapacity *hapticCapacity) in GetHapticCapacity() function 351 vibratorDevInstance.GetHapticCapacity = GetHapticCapacity; in NewVibratorInterfaceInstance()
|
/drivers/peripheral/vibrator/hdi_service/ |
H A D | vibrator_if_service.h | 42 int32_t GetHapticCapacity(HapticCapacity& hapticCapacity) override;
|
H A D | vibrator_if_service.cpp | 355 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 D | ivibrator_interface_vdi.h | 46 virtual int32_t GetHapticCapacity(HapticCapacityVdi& hapticCapacity) = 0;
|
/drivers/peripheral/vibrator/test/unittest/hdi/ |
H A D | hdi_unittest_vibrator.cpp | 123 * @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 D | hdf_vibrator_hdi_test.cpp | 526 * @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