Home
last modified time | relevance | path

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

/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp290 bool supportsCallback = capabilities.isOk() && in on() local
292 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in on()
295 if (!supportsCallback && ret.isOk()) { in on()
325 bool supportsCallback = capabilities.isOk() && in performEffect() local
327 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in performEffect()
334 if (!supportsCallback && ret.isOk()) { in performEffect()
DVibratorManagerHalWrapper.cpp179 bool supportsCallback = capabilities.isOk() && in triggerSynced() local
181 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in triggerSynced()