Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DPendingTasksContainer.kt32 private var completionCallback = AtomicReference<Runnable>() variable in com.android.systemui.util.concurrency.PendingTasksContainer
45 val onComplete = completionCallback.getAndSet(null) in registerTask()
56 completionCallback = AtomicReference() in reset()
65 completionCallback.set(onComplete) in onTasksComplete()
68 val currentOnComplete = completionCallback.getAndSet(null) in onTasksComplete()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp219 const std::function<void()>& completionCallback) { in on() argument
223 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in on()
227 mCallbackScheduler->schedule(completionCallback, timeout); in on()
254 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect() argument
258 auto cb = supportsCallback ? new HalCallbackWrapper(completionCallback) : nullptr; in performEffect()
266 mCallbackScheduler->schedule(completionCallback, length); in performEffect()
274 const std::function<void()>& completionCallback) { in performComposedEffect() argument
276 auto cb = new HalCallbackWrapper(completionCallback); in performComposedEffect()
295 const std::function<void()>& completionCallback) { in performPwleEffect() argument
297 auto cb = new HalCallbackWrapper(completionCallback); in performPwleEffect()
[all …]
DVibratorManagerHalController.cpp134 const std::function<void()>& completionCallback) { in triggerSynced() argument
136 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.h184 HalCallbackWrapper(std::function<void()> completionCallback) in HalCallbackWrapper() argument
185 : mCompletionCallback(completionCallback) {} in HalCallbackWrapper()
352 const std::function<void()>& completionCallback) = 0;
364 const std::function<void()>& completionCallback) = 0;
368 const std::function<void()>& completionCallback);
372 const std::function<void()>& completionCallback);
424 const std::function<void()>& completionCallback) override final;
436 const std::function<void()>& completionCallback) override final;
440 const std::function<void()>& completionCallback) override final;
444 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/base/services/core/java/com/android/server/wm/
DLetterboxConfigurationPersister.java115 @Nullable Consumer<String> completionCallback, in LetterboxConfigurationPersister() argument
121 mCompletionCallback = completionCallback; in LetterboxConfigurationPersister()
/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));