Home
last modified time | relevance | path

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

/base/sensors/miscdevice/interfaces/native/vibrator/src/
Dvibrator_agent.cpp32 int32_t g_usage = USAGE_UNKNOWN; variable
69 int32_t ret = client.Vibrate(DEFAULT_VIBRATOR_ID, effectId, g_loopCount, g_usage); in StartVibrator()
75 g_usage = USAGE_UNKNOWN; in StartVibrator()
86 int32_t ret = client.Vibrate(DEFAULT_VIBRATOR_ID, duration, g_usage); in StartVibratorOnce()
91 g_usage = USAGE_UNKNOWN; in StartVibratorOnce()
114 int32_t ret = client.PlayVibratorCustom(DEFAULT_VIBRATOR_ID, rawFd, g_usage); in PlayVibratorCustom()
119 g_usage = USAGE_UNKNOWN; in PlayVibratorCustom()
160 g_usage = usage; in SetUsage()