Home
last modified time | relevance | path

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

/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java45 private TreeSet<MyEvent> mEventQueue =
46 new TreeSet<MyEvent>(new MyEventComparator());
92 MyEvent firstEvent = mEventQueue.first(); in recalculatePeriods()
95 for (MyEvent e : mEventQueue) { in recalculatePeriods()
102 TreeSet<MyEvent> newQueue = new TreeSet<MyEvent>( in recalculatePeriods()
115 private void insertEvent(MyEvent event) { in insertEvent()
122 MyEvent firstEvent = mEventQueue.first(); in insertEvent()
155 MyEvent event = new MyEvent(period, callback, now); in set()
181 MyEvent firstEvent = mEventQueue.first(); in cancel()
182 for (Iterator<MyEvent> iter = mEventQueue.iterator(); in cancel()
[all …]
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DMyAutofillCallback.java47 private final BlockingQueue<MyEvent> mEvents = new LinkedBlockingQueue<>(2);
54 offered = mEvents.offer(new MyEvent(view, event), TIMEOUT_MS, TimeUnit.MILLISECONDS); in onAutofillEvent()
69 MyEvent myEvent; in expectEvent()
113 private static final class MyEvent { class in MyAutofillCallback
117 MyEvent(View view, int event) { in MyEvent() method in MyAutofillCallback.MyEvent