/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipWakeupTimer.java | 45 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/av/media/libstagefright/foundation/ |
D | ALooper.cpp | 171 List<Event>::iterator it = mEventQueue.begin(); in post() 172 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) { in post() 180 if (it == mEventQueue.begin()) { in post() 184 mEventQueue.insert(it, event); in post() 195 if (mEventQueue.empty()) { in loop() 199 int64_t whenUs = (*mEventQueue.begin()).mWhenUs; in loop() 209 event = *mEventQueue.begin(); in loop() 210 mEventQueue.erase(mEventQueue.begin()); in loop()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 77 if (mEventQueue != null) { 103 private MotionEventHolder mEventQueue; field in AccessibilityInputFilter 239 if (mEventQueue == null) { in batchMotionEvent() 240 mEventQueue = MotionEventHolder.obtain(event, policyFlags); in batchMotionEvent() 244 if (mEventQueue.event.addBatch(event)) { in batchMotionEvent() 248 holder.next = mEventQueue; in batchMotionEvent() 249 mEventQueue.previous = holder; in batchMotionEvent() 250 mEventQueue = holder; in batchMotionEvent() 254 MotionEventHolder current = mEventQueue; in processBatchedEvents() 260 mEventQueue = null; in processBatchedEvents()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | MediaDecoder.java | 89 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/core/java/android/app/ |
D | UiAutomation.java | 106 private final ArrayList<AccessibilityEvent> mEventQueue = new ArrayList<AccessibilityEvent>(); field in UiAutomation 506 mEventQueue.clear(); in executeAndWaitForEvent() 527 while (!mEventQueue.isEmpty()) { in executeAndWaitForEvent() 528 AccessibilityEvent event = mEventQueue.remove(0); in executeAndWaitForEvent() 553 mEventQueue.clear(); in executeAndWaitForEvent() 951 mEventQueue.add(AccessibilityEvent.obtain(event)); in IAccessibilityServiceClientImpl()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 496 int mEventQueue; member in __anon55e44ca70111::AudioGroup 550 mEventQueue = -1; in AudioGroup() 562 close(mEventQueue); in ~AudioGroup() 574 mEventQueue = epoll_create(2); in set() 575 if (mEventQueue == -1) { in set() 613 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, pair[1], &event)) { in set() 677 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, stream->mSocket, &event)) { in add() 700 if (epoll_ctl(mEventQueue, EPOLL_CTL_DEL, stream->mSocket, NULL)) { in remove() 749 count = epoll_wait(mGroup->mEventQueue, events, count, deadline); in threadLoop()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphRunner.java | 117 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()
|
D | CameraStreamer.java | 772 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/ |
D | SoundTriggerHwService.cpp | 417 while (!mEventQueue.isEmpty()) { in ~CallbackThread() 418 mEventQueue[0]->mMemory.clear(); in ~CallbackThread() 419 mEventQueue.removeAt(0); in ~CallbackThread() 435 while (mEventQueue.isEmpty() && !exitPending()) { in threadLoop() 443 event = mEventQueue[0]; in threadLoop() 444 mEventQueue.removeAt(0); in threadLoop() 465 mEventQueue.add(event); in sendCallbackEvent()
|
D | SoundTriggerHwService.h | 176 Vector< sp<CallbackEvent> > mEventQueue; variable
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ALooper.h | 72 List<Event> mEventQueue; member
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 1294 if (! mEventQueue.isEmpty()) { in guardedRun() 1295 event = mEventQueue.remove(0); in guardedRun() 1731 mEventQueue.add(r); in queueEvent() 1754 private ArrayList<Runnable> mEventQueue = new ArrayList<Runnable>(); field in GLSurfaceView.GLThread
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 178 mEventQueue.init(this); in onFirstRef() 456 mEventQueue.setEventThread(mSFEventThread); in init() 702 mEventQueue.waitMessage(); in waitForEvent() 706 mEventQueue.invalidate(); in signalTransaction() 710 mEventQueue.invalidate(); in signalLayerUpdate() 714 mEventQueue.refresh(); in signalRefresh() 719 return mEventQueue.postMessage(msg, reltime); in postMessageAsync() 724 status_t res = mEventQueue.postMessage(msg, reltime); in postMessageSync() 3089 mEventQueue.invalidateTransactionNow(); in captureScreen()
|
D | SurfaceFlinger.h | 474 mutable MessageQueue mEventQueue; variable
|