Home
last modified time | relevance | path

Searched refs:StartVibratorOnce (Results 1 – 5 of 5) sorted by relevance

/base/sensors/miscdevice/interfaces/native/vibrator/test/unittest/
Dvibrator_agent_test.cpp129 int32_t ret = StartVibratorOnce(300);
136 int32_t ret = StartVibratorOnce(0);
143 int32_t ret = StartVibratorOnce(1800000);
150 int32_t ret = StartVibratorOnce(1800001);
185 int32_t ret = StartVibratorOnce(300);
/base/sensors/miscdevice/interfaces/native/vibrator/include/
Dvibrator_agent.h77 int32_t StartVibratorOnce(int32_t duration);
/base/sensors/miscdevice/interfaces/native/vibrator/test/fuzztest/startvibratoronce_fuzzer/
Dstartvibratoronce_fuzzer.cpp34 int32_t ret = OHOS::Sensors::StartVibratorOnce(duration); in StartVibratorOnceFuzzTest()
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/
Dvibrator_js.cpp66 asyncCallbackInfo->error.code = StartVibratorOnce(duration); in VibrateTime()
140 NAPI_ASSERT(env, (StartVibratorOnce(VIBRATE_LONG_DURATION) == 0), "Vibrate long mode fail"); in VibrateMode()
150 asyncCallbackInfo->error.code = StartVibratorOnce(duration); in VibrateMode()
198 return StartVibratorOnce(info.duration); in StartVibrate()
/base/sensors/miscdevice/interfaces/native/vibrator/src/
Dvibrator_agent.cpp69 int32_t StartVibratorOnce(int32_t duration) in StartVibratorOnce() function