Home
last modified time | relevance | path

Searched refs:mEventQueue (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java45 private TreeSet<MyEvent> mEventQueue = field in SipWakeupTimer
71 mEventQueue.clear(); in stop()
72 mEventQueue = null; in stop()
76 if (mEventQueue == null) { in stopped()
90 if (mEventQueue.isEmpty()) return; in recalculatePeriods()
92 MyEvent firstEvent = mEventQueue.first(); in recalculatePeriods()
95 for (MyEvent e : mEventQueue) { in recalculatePeriods()
103 mEventQueue.comparator()); in recalculatePeriods()
104 newQueue.addAll(mEventQueue); in recalculatePeriods()
105 mEventQueue.clear(); in recalculatePeriods()
[all …]
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.cpp37 mEventQueue.push(EventData{ Event::kStartDocument, 0, mDepth++ }); in XmlPullParser()
50 mEventQueue.pop(); in next()
51 while (mEventQueue.empty()) { in next()
57 mEventQueue.push(EventData{ Event::kBadDocument }); in next()
63 mEventQueue.push(EventData{ Event::kBadDocument }); in next()
68 mEventQueue.push(EventData{ Event::kEndDocument, 0, 0 }); in next()
94 return mEventQueue.front().event; in getEvent()
102 return mEventQueue.front().data1; in getComment()
106 return mEventQueue.front().lineNumber; in getLineNumber()
110 return mEventQueue.front().depth; in getDepth()
[all …]
DXmlPullParser.h166 std::queue<EventData> mEventQueue; variable
/frameworks/av/media/libstagefright/foundation/
DALooper.cpp178 List<Event>::iterator it = mEventQueue.begin(); in post()
179 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) { in post()
187 if (it == mEventQueue.begin()) { in post()
191 mEventQueue.insert(it, event); in post()
202 if (mEventQueue.empty()) { in loop()
206 int64_t whenUs = (*mEventQueue.begin()).mWhenUs; in loop()
216 event = *mEventQueue.begin(); in loop()
217 mEventQueue.erase(mEventQueue.begin()); in loop()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java89 private final LinkedBlockingQueue<Integer> mEventQueue; field in MediaDecoder
139 mEventQueue = new LinkedBlockingQueue<Integer>(MAX_EVENTS); in MediaDecoder()
152 if (mEventQueue.isEmpty()) { in setOpenGLEnabled()
170 mEventQueue.offer(EVENT_START); in start()
180 mEventQueue.offer(EVENT_STOP); in stop()
183 mEventQueue.offer(EVENT_EOF); in stop()
192 event = mEventQueue.poll(); in run()
311 mEventQueue.clear(); in onStop()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java101 if (mEventQueue != null) {
133 private MotionEventHolder mEventQueue; field in AccessibilityInputFilter
273 if (mEventQueue == null) { in batchMotionEvent()
274 mEventQueue = MotionEventHolder.obtain(event, policyFlags); in batchMotionEvent()
278 if (mEventQueue.event.addBatch(event)) { in batchMotionEvent()
282 holder.next = mEventQueue; in batchMotionEvent()
283 mEventQueue.previous = holder; in batchMotionEvent()
284 mEventQueue = holder; in batchMotionEvent()
288 MotionEventHolder current = mEventQueue; in processBatchedEvents()
297 mEventQueue = null; in processBatchedEvents()
/frameworks/base/core/java/android/app/
DUiAutomation.java118 private final ArrayList<AccessibilityEvent> mEventQueue = new ArrayList<AccessibilityEvent>(); field in UiAutomation
568 mEventQueue.clear(); in executeAndWaitForEvent()
589 while (!mEventQueue.isEmpty()) { in executeAndWaitForEvent()
590 AccessibilityEvent event = mEventQueue.remove(0); in executeAndWaitForEvent()
615 mEventQueue.clear(); in executeAndWaitForEvent()
1071 mEventQueue.add(AccessibilityEvent.obtain(event)); in IAccessibilityServiceClientImpl()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp498 int mEventQueue; member in __anond0c81f950111::AudioGroup
555 mEventQueue = -1; in AudioGroup()
567 close(mEventQueue); in ~AudioGroup()
579 mEventQueue = epoll_create(2); in set()
580 if (mEventQueue == -1) { in set()
618 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, pair[1], &event)) { in set()
682 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, stream->mSocket, &event)) { in add()
705 if (epoll_ctl(mEventQueue, EPOLL_CTL_DEL, stream->mSocket, NULL)) { in remove()
754 count = epoll_wait(mGroup->mEventQueue, events, count, deadline); in threadLoop()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java117 private LinkedBlockingQueue<Event> mEventQueue = new LinkedBlockingQueue<Event>(); field in GraphRunner.GraphRunLoop
179 mEventQueue.clear(); in loop()
207 if (mEventQueue.isEmpty()) { in pushWakeEvent()
213 mEventQueue.offer(event); in pushEvent()
217 mEventQueue.offer(new Event(eventId, object)); in pushEvent()
235 return mEventQueue.take(); in nextEvent()
DCameraStreamer.java772 private LinkedBlockingQueue<Event> mEventQueue = new LinkedBlockingQueue<Event>(MAX_EVENTS); field in CameraStreamer.CameraRunnable
941 mEventQueue.put(new Event(eventId)); in pushEvent()
943 mEventQueue.offer(new Event(eventId)); in pushEvent()
1133 return mEventQueue.take(); in nextEvent()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp425 while (!mEventQueue.isEmpty()) { in ~CallbackThread()
426 mEventQueue[0]->mMemory.clear(); in ~CallbackThread()
427 mEventQueue.removeAt(0); in ~CallbackThread()
443 while (mEventQueue.isEmpty() && !exitPending()) { in threadLoop()
451 event = mEventQueue[0]; in threadLoop()
452 mEventQueue.removeAt(0); in threadLoop()
473 mEventQueue.add(event); in sendCallbackEvent()
DSoundTriggerHwService.h176 Vector< sp<CallbackEvent> > mEventQueue; variable
/frameworks/av/services/radio/
DRadioService.cpp262 mEventQueue.clear(); in ~CallbackThread()
277 while (mEventQueue.isEmpty() && !exitPending()) { in threadLoop()
285 eventMemory = mEventQueue[0]; in threadLoop()
286 mEventQueue.removeAt(0); in threadLoop()
379 mEventQueue.add(eventMemory); in sendEvent()
DRadioService.h126 Vector< sp<IMemory> > mEventQueue; // pending callback events variable
/frameworks/av/include/media/stagefright/foundation/
DALooper.h77 List<Event> mEventQueue; member
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java1310 if (! mEventQueue.isEmpty()) { in guardedRun()
1311 event = mEventQueue.remove(0); in guardedRun()
1803 mEventQueue.add(r); in queueEvent()
1827 private ArrayList<Runnable> mEventQueue = new ArrayList<Runnable>(); field in GLSurfaceView.GLThread
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp190 mEventQueue.init(this); in onFirstRef()
466 mEventQueue.setEventThread(mSFEventThread); in init()
752 mEventQueue.waitMessage(); in waitForEvent()
756 mEventQueue.invalidate(); in signalTransaction()
760 mEventQueue.invalidate(); in signalLayerUpdate()
764 mEventQueue.refresh(); in signalRefresh()
769 return mEventQueue.postMessage(msg, reltime); in postMessageAsync()
774 status_t res = mEventQueue.postMessage(msg, reltime); in postMessageSync()
DSurfaceFlinger_hwc1.cpp189 mEventQueue.init(this); in onFirstRef()
463 mEventQueue.setEventThread(mSFEventThread); in init()
772 mEventQueue.waitMessage(); in waitForEvent()
776 mEventQueue.invalidate(); in signalTransaction()
780 mEventQueue.invalidate(); in signalLayerUpdate()
784 mEventQueue.refresh(); in signalRefresh()
789 return mEventQueue.postMessage(msg, reltime); in postMessageAsync()
794 status_t res = mEventQueue.postMessage(msg, reltime); in postMessageSync()
DSurfaceFlinger.h500 mutable MessageQueue mEventQueue; variable