Home
last modified time | relevance | path

Searched refs:StartOnce (Results 1 – 18 of 18) sorted by relevance

/drivers/peripheral/vibrator/
DREADME_zh.md13 …ice Interface )能力接口,支持三种振动效果:静态HCS配置的时间序列,动态配置持续时间,动态配置持续时间、振动强度、振动频率。调用StartOnce接口动态配置持续振动时间;调用St…
45 | int32_t StartOnce(uint32_t duration) | 按照指定持续时间触发振动,duration为振动持续时长。 …
85 startRet = g_vibratorDev->StartOnce(g_duration);
DREADME.md7 - 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/
Dvibratorstartonce_fuzzer.cpp27 if (!g_vibratorInterface->StartOnce(*(uint32_t *)data)) { in VibratorStartOnceFuzzTest()
/drivers/peripheral/vibrator/interfaces/include/
Dvibrator_if.h63 int32_t (*StartOnce)(uint32_t duration); member
/drivers/peripheral/vibrator/hdi_impl/
Dvibrator_interface_impl.cpp41 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()
Dvibrator_interface_impl.h31 int32_t StartOnce(uint32_t duration) override;
/drivers/peripheral/vibrator/test/benchmarktest/
Dhdf_vibrator_benchmark_test.cpp63 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/
Divibrator_interface_vdi.h36 virtual int32_t StartOnce(uint32_t duration) = 0;
/drivers/peripheral/vibrator/hdi_service/
Dvibrator_if_service.h32 int32_t StartOnce(uint32_t duration) override;
Dvibrator_if_service.cpp83 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/
Dvibrator_controller.c192 static int32_t StartOnce(uint32_t duration) in StartOnce() function
313 vibratorDevInstance.StartOnce = StartOnce; in NewVibratorInterfaceInstance()
/drivers/peripheral/vibrator/test/performance/common/
Dhdf_vibrator_performance_test.cpp82 int ret = g_vibratorPerformanceDev->StartOnce(VIBRATOR_DURATION);
/drivers/peripheral/vibrator/test/performance/hdi/
Dhdf_vibrator_hdi_performance_test.cpp78 int ret = g_vibratorInterface->StartOnce(VIBRATOR_DURATION);
/drivers/peripheral/vibrator/test/unittest/common/
Dhdf_vibrator_test.cpp94 int32_t startRet = g_vibratorDev->StartOnce(g_duration);
114 int32_t startRet = g_vibratorDev->StartOnce(g_noDuration);
/drivers/peripheral/vibrator/test/unittest/hdi/
Dhdf_vibrator_hdi_test.cpp92 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/
Dvibrator_driver.c123 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/
DIVibratorInterface.idl55 StartOnce([in] unsigned int duration);
/drivers/interface/vibrator/v1_1/
DIVibratorInterface.idl55 StartOnce([in] unsigned int duration);