Home
last modified time | relevance | path

Searched refs:hapticCapacity (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/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()
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/adapter/src/
H A Dhdi_connection.cpp159 HapticCapacity hapticCapacity; in GetVibratorCapacity() local
160 int32_t ret = vibratorInterface_->GetHapticCapacity(hapticCapacity); in GetVibratorCapacity()
167 capacity.isSupportHdHaptic = hapticCapacity.isSupportHdHaptic; in GetVibratorCapacity()
168 capacity.isSupportPresetMapping = hapticCapacity.isSupportPresetMapping; in GetVibratorCapacity()
169 capacity.isSupportTimeDelay = hapticCapacity.isSupportTimeDelay; in GetVibratorCapacity()
/ohos5.0/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()
/ohos5.0/drivers/peripheral/vibrator/hdi_service/
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()
H A Dvibrator_if_service.h42 int32_t GetHapticCapacity(HapticCapacity& hapticCapacity) override;
/ohos5.0/drivers/peripheral/vibrator/test/unittest/hdi/
H A Dhdf_vibrator_hdi_test.cpp535 OHOS::HDI::Vibrator::V1_2::HapticCapacity hapticCapacity; variable
536 int32_t startRet = g_vibratorInterface->GetHapticCapacity(hapticCapacity);
538 printf("hapticCapacity.isSupportHdHaptic = %d\n", hapticCapacity.isSupportHdHaptic);
539 printf("hapticCapacity.isSupportPresetMapping = %d\n", hapticCapacity.isSupportPresetMapping);
540 printf("hapticCapacity.isSupportTimeDelay = %d\n", hapticCapacity.isSupportTimeDelay);
/ohos5.0/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h184 int32_t (*GetHapticCapacity)(struct HapticCapacity *hapticCapacity);
/ohos5.0/drivers/peripheral/vibrator/interfaces/v1_1/
H A Divibrator_interface_vdi.h46 virtual int32_t GetHapticCapacity(HapticCapacityVdi& hapticCapacity) = 0;
/ohos5.0/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()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-vibrator-des.md81 | int32_t (*GetHapticCapacity)(HapticCapacity& hapticCapacity); | 获取马达振动能力,包含是否支持高清振动、是否支持预定义波形、是否支…
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-vibrator-des.md81 | int32_t (*GetHapticCapacity)(HapticCapacity& hapticCapacity); | Obtains the haptic capabilities, …