Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp83 for (auto& eventListener : mEventListeners) { in updateModel() local
84 eventListener.mHasFired = false; in updateModel()
278 for (auto& eventListener : mEventListeners) { in changePhaseOffset() local
279 if (eventListener.mCallback == callback) { in changePhaseOffset()
280 const nsecs_t oldPhase = eventListener.mPhase; in changePhaseOffset()
281 eventListener.mPhase = phase; in changePhaseOffset()
292 eventListener.mLastEventTime -= diff; in changePhaseOffset()
345 for (auto& eventListener : mEventListeners) { in gatherCallbackInvocationsLocked() local
346 nsecs_t t = computeListenerNextEventTimeLocked(eventListener, onePeriodAgo); in gatherCallbackInvocationsLocked()
349 if (isCloseToPeriod(now - eventListener.mLastCallbackTime)) { in gatherCallbackInvocationsLocked()
[all …]
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java334 public synchronized void setOnEventListener(OnEventListener eventListener) { in setOnEventListener() argument
335 mOnEventListener = eventListener; in setOnEventListener()
336 if (null != eventListener) { in setOnEventListener()