Home
last modified time | relevance | path

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

/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp288 const std::function<void()>& completionCallback) { in on() argument
292 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in on()
296 mCallbackScheduler->schedule(completionCallback, timeout); in on()
323 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect() argument
327 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in performEffect()
335 mCallbackScheduler->schedule(completionCallback, length); in performEffect()
343 const std::function<void()>& completionCallback) { in performComposedEffect() argument
345 auto cb = new HalCallbackWrapper(completionCallback); in performComposedEffect()
364 const std::function<void()>& completionCallback) { in performPwleEffect() argument
366 auto cb = new HalCallbackWrapper(completionCallback); in performPwleEffect()
[all …]
DVibratorManagerHalController.cpp132 const std::function<void()>& completionCallback) { in triggerSynced() argument
134 return hal->triggerSynced(completionCallback); in triggerSynced()
DVibratorManagerHalWrapper.cpp177 const std::function<void()>& completionCallback) { in triggerSynced() argument
181 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in triggerSynced()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h131 HalCallbackWrapper(std::function<void()> completionCallback) in HalCallbackWrapper() argument
132 : mCompletionCallback(completionCallback) {} in HalCallbackWrapper()
274 const std::function<void()>& completionCallback) = 0;
286 const std::function<void()>& completionCallback) = 0;
290 const std::function<void()>& completionCallback);
294 const std::function<void()>& completionCallback);
346 const std::function<void()>& completionCallback) override final;
358 const std::function<void()>& completionCallback) override final;
362 const std::function<void()>& completionCallback) override final;
366 const std::function<void()>& completionCallback) override final;
[all …]
DVibratorManagerHalWrapper.h79 virtual HalResult<void> triggerSynced(const std::function<void()>& completionCallback) = 0;
99 HalResult<void> triggerSynced(const std::function<void()>& completionCallback) override final;
122 HalResult<void> triggerSynced(const std::function<void()>& completionCallback) override final;
DVibratorManagerHalController.h63 HalResult<void> triggerSynced(const std::function<void()>& completionCallback) override final;
/frameworks/native/services/vibratorservice/test/
DVibratorHalControllerTest.cpp58 (milliseconds timeout, const std::function<void()>& completionCallback),
68 const std::function<void()>& completionCallback),
DVibratorManagerHalControllerTest.cpp50 (const std::function<void()>& completionCallback), (override));