Home
last modified time | relevance | path

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

/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanEventListener.java113 SparseArray<Set<Handler>> eventHandlers = new SparseArray<>(); field in IwlanEventListener
143 if (eventHandlers.contains(event)) { in addEventListener()
144 eventHandlers.get(event).add(handler); in addEventListener()
148 eventHandlers.append(event, handlers); in addEventListener()
161 if (eventHandlers.contains(event)) { in removeEventListener()
162 Set<Handler> handlers = eventHandlers.get(event); in removeEventListener()
165 eventHandlers.delete(event); in removeEventListener()
169 if (eventHandlers.size() == 0) { in removeEventListener()
180 for (int i = 0; i < eventHandlers.size(); i++) { in removeEventListener()
181 Set<Handler> handlers = eventHandlers.valueAt(i); in removeEventListener()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java64 private final LinkedHashMap<Integer,EventHandler> eventHandlers = field in CalendarController
500 Log.d(TAG, "sendEvent: Dispatching to " + eventHandlers.size() + " handlers"); in sendEvent()
513 eventHandlers.entrySet().iterator(); handlers.hasNext();) { in sendEvent()
538 eventHandlers.remove(zombie); in sendEvent()
552 eventHandlers.put(food.getKey(), food.getValue()); in sendEvent()
571 eventHandlers.put(key, eventHandler); in registerEventHandler()
593 eventHandlers.remove(key); in deregisterEventHandler()
605 mToBeRemovedEventHandlers.addAll(eventHandlers.keySet()); in deregisterAllEventHandlers()
607 eventHandlers.clear(); in deregisterAllEventHandlers()