/drivers/peripheral/vibrator/ |
D | README_zh.md | 13 …ice Interface )能力接口,支持三种振动效果:静态HCS配置的时间序列,动态配置持续时间,动态配置持续时间、振动强度、振动频率。调用StartOnce接口动态配置持续振动时间;调用St… 45 | int32_t StartOnce(uint32_t duration) | 按照指定持续时间触发振动,duration为振动持续时长。 … 85 startRet = g_vibratorDev->StartOnce(g_duration);
|
D | README.md | 7 - One-shot vibration for a specified duration (**StartOnce**). 41 | int32_t StartOnce(uint32_t duration) | Starts vibration for a given **dur… 81 startRet = g_vibratorDev->StartOnce(g_duration);
|
/drivers/peripheral/vibrator/test/fuzztest/vibratorstartonce_fuzzer/ |
D | vibratorstartonce_fuzzer.cpp | 27 if (!g_vibratorInterface->StartOnce(*(uint32_t *)data)) { in VibratorStartOnceFuzzTest()
|
/drivers/peripheral/vibrator/interfaces/include/ |
D | vibrator_if.h | 63 int32_t (*StartOnce)(uint32_t duration); member
|
/drivers/peripheral/vibrator/hdi_impl/ |
D | vibrator_interface_impl.cpp | 41 int32_t VibratorInterfaceImpl::StartOnce(uint32_t duration) in StartOnce() function in OHOS::HDI::Vibrator::V1_1::VibratorInterfaceImpl 45 if (vibratorInterface == nullptr || vibratorInterface->StartOnce == nullptr) { in StartOnce() 49 int32_t ret = vibratorInterface->StartOnce(duration); in StartOnce()
|
D | vibrator_interface_impl.h | 31 int32_t StartOnce(uint32_t duration) override;
|
/drivers/peripheral/vibrator/test/benchmarktest/ |
D | hdf_vibrator_benchmark_test.cpp | 63 BENCHMARK_F(VibratorBenchmarkTest, StartOnce)(benchmark::State &state) in BENCHMARK_F() argument 70 startRet = g_vibratorInterface->StartOnce(g_duration); in BENCHMARK_F() 78 BENCHMARK_REGISTER_F(VibratorBenchmarkTest, StartOnce)->
|
/drivers/peripheral/vibrator/interfaces/v1_1/ |
D | ivibrator_interface_vdi.h | 36 virtual int32_t StartOnce(uint32_t duration) = 0;
|
/drivers/peripheral/vibrator/hdi_service/ |
D | vibrator_if_service.h | 32 int32_t StartOnce(uint32_t duration) override;
|
D | vibrator_if_service.cpp | 83 int32_t VibratorIfService::StartOnce(uint32_t duration) in StartOnce() function in OHOS::HDI::Vibrator::V1_1::VibratorIfService 92 int32_t ret = vibratorVdiImpl_->StartOnce(duration); in StartOnce()
|
/drivers/peripheral/vibrator/hal/src/ |
D | vibrator_controller.c | 192 static int32_t StartOnce(uint32_t duration) in StartOnce() function 313 vibratorDevInstance.StartOnce = StartOnce; in NewVibratorInterfaceInstance()
|
/drivers/peripheral/vibrator/test/performance/common/ |
D | hdf_vibrator_performance_test.cpp | 82 int ret = g_vibratorPerformanceDev->StartOnce(VIBRATOR_DURATION);
|
/drivers/peripheral/vibrator/test/performance/hdi/ |
D | hdf_vibrator_hdi_performance_test.cpp | 78 int ret = g_vibratorInterface->StartOnce(VIBRATOR_DURATION);
|
/drivers/peripheral/vibrator/test/unittest/common/ |
D | hdf_vibrator_test.cpp | 94 int32_t startRet = g_vibratorDev->StartOnce(g_duration); 114 int32_t startRet = g_vibratorDev->StartOnce(g_noDuration);
|
/drivers/peripheral/vibrator/test/unittest/hdi/ |
D | hdf_vibrator_hdi_test.cpp | 92 int32_t startRet = g_vibratorInterface->StartOnce(g_duration); 112 int32_t startRet = g_vibratorInterface->StartOnce(g_noDuration);
|
/drivers/hdf_core/framework/model/misc/vibrator/driver/src/ |
D | vibrator_driver.c | 123 static int32_t StartOnce(struct HdfSBuf *data, struct HdfSBuf *reply) in StartOnce() function 312 {VIBRATOR_DRV_IO_START_ONCE, StartOnce},
|
/drivers/interface/vibrator/v1_0/ |
D | IVibratorInterface.idl | 55 StartOnce([in] unsigned int duration);
|
/drivers/interface/vibrator/v1_1/ |
D | IVibratorInterface.idl | 55 StartOnce([in] unsigned int duration);
|