Home
last modified time | relevance | path

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

/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp221 bool supportsCallback = capabilities.isOk() && in on() local
223 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in on()
226 if (!supportsCallback && ret.isOk()) { in on()
256 bool supportsCallback = capabilities.isOk() && in performEffect() local
258 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in performEffect()
265 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()