Home
last modified time | relevance | path

Searched refs:hapticCapacity (Results 1 - 8 of 8) sorted by relevance

/drivers/peripheral/vibrator/test/fuzztest/vibratorgethapticcapacity_fuzzer/
H A Dvibratorgethapticcapacity_fuzzer.cpp26 OHOS::HDI::Vibrator::V1_2::HapticCapacity hapticCapacity; member
49 int32_t ret = !g_vibratorInterface->GetHapticCapacity(params.hapticCapacity); in VibratorGetHapticCapacityTest()
/drivers/peripheral/vibrator/hdi_impl/
H A Dvibrator_interface_impl.cpp218 struct HapticCapacity hapticCapacity; in GetHapticCapacity() local
219 int32_t ret = vibratorInterface->GetHapticCapacity(&hapticCapacity); in GetHapticCapacity()
224 hapticCapacityVdi.isSupportHdHaptic = hapticCapacity.isSupportHdHaptic; in GetHapticCapacity()
225 hapticCapacityVdi.isSupportPresetMapping = hapticCapacity.isSupportPresetMapping; in GetHapticCapacity()
226 hapticCapacityVdi.isSupportTimeDelay = hapticCapacity.isSupportTimeDelay; in GetHapticCapacity()
/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h184 int32_t (*GetHapticCapacity)(struct HapticCapacity *hapticCapacity);
/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() argument
370 hapticCapacity.isSupportHdHaptic = hapticCapacityVdi.isSupportHdHaptic; in GetHapticCapacity()
371 hapticCapacity.isSupportPresetMapping = hapticCapacityVdi.isSupportPresetMapping; in GetHapticCapacity()
372 hapticCapacity.isSupportTimeDelay = hapticCapacityVdi.isSupportTimeDelay; 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 Dhdf_vibrator_hdi_test.cpp535 OHOS::HDI::Vibrator::V1_2::HapticCapacity hapticCapacity; in HWTEST_F() local
536 int32_t startRet = g_vibratorInterface->GetHapticCapacity(hapticCapacity); in HWTEST_F()
538 printf("hapticCapacity.isSupportHdHaptic = %d\n", hapticCapacity.isSupportHdHaptic); in HWTEST_F()
539 printf("hapticCapacity.isSupportPresetMapping = %d\n", hapticCapacity.isSupportPresetMapping); in HWTEST_F()
540 printf("hapticCapacity.isSupportTimeDelay = %d\n", hapticCapacity.isSupportTimeDelay); in HWTEST_F()
/drivers/peripheral/vibrator/hal/src/
H A Dvibrator_controller.c317 static int32_t GetHapticCapacity(struct HapticCapacity *hapticCapacity) in GetHapticCapacity() argument
319 (void)hapticCapacity; in GetHapticCapacity()

Completed in 4 milliseconds