/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 | 178 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/ |
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/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 111 if (mEventQueue != null) { 143 private MotionEventHolder mEventQueue; field in AccessibilityInputFilter 289 if (mEventQueue == null) { in batchMotionEvent() 290 mEventQueue = MotionEventHolder.obtain(event, policyFlags); in batchMotionEvent() 294 if (mEventQueue.event.addBatch(event)) { in batchMotionEvent() 298 holder.next = mEventQueue; in batchMotionEvent() 299 mEventQueue.previous = holder; in batchMotionEvent() 300 mEventQueue = holder; in batchMotionEvent() 304 MotionEventHolder current = mEventQueue; in processBatchedEvents() 313 mEventQueue = null; in processBatchedEvents()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomation.java | 118 private final ArrayList<AccessibilityEvent> mEventQueue = new ArrayList<AccessibilityEvent>(); field in UiAutomation 568 mEventQueue.clear(); in executeAndWaitForEvent() 589 localEvents.addAll(mEventQueue); in executeAndWaitForEvent() 590 mEventQueue.clear(); in executeAndWaitForEvent() 612 if (mEventQueue.isEmpty()) { in executeAndWaitForEvent() 624 mEventQueue.clear(); in executeAndWaitForEvent() 1080 mEventQueue.add(AccessibilityEvent.obtain(event)); in IAccessibilityServiceClientImpl()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 498 int mEventQueue; member in __anon5fc701100111::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/ |
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 | 431 while (!mEventQueue.isEmpty()) { in ~CallbackThread() 432 mEventQueue[0]->mMemory.clear(); in ~CallbackThread() 433 mEventQueue.removeAt(0); in ~CallbackThread() 449 while (mEventQueue.isEmpty() && !exitPending()) { in threadLoop() 457 event = mEventQueue[0]; in threadLoop() 458 mEventQueue.removeAt(0); in threadLoop() 479 mEventQueue.add(event); in sendCallbackEvent()
|
D | SoundTriggerHwService.h | 215 Vector< sp<CallbackEvent> > mEventQueue; variable
|
/frameworks/av/media/libstagefright/include/foundation/ |
D | ALooper.h | 77 List<Event> mEventQueue; member
|
/frameworks/av/services/radio/ |
D | RadioService.cpp | 243 mEventQueue.clear(); in ~CallbackThread() 258 while (mEventQueue.isEmpty() && !exitPending()) { in threadLoop() 266 eventMemory = mEventQueue[0]; in threadLoop() 267 mEventQueue.removeAt(0); in threadLoop() 364 mEventQueue.add(eventMemory); in sendEvent()
|
D | RadioService.h | 129 Vector< sp<IMemory> > mEventQueue; // pending callback events variable
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 1328 if (! mEventQueue.isEmpty()) { in guardedRun() 1329 event = mEventQueue.remove(0); in guardedRun() 1817 mEventQueue.add(r); in queueEvent() 1841 private ArrayList<Runnable> mEventQueue = new ArrayList<Runnable>(); field in GLSurfaceView.GLThread
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger_hwc1.cpp | 211 mEventQueue.init(this); in onFirstRef() 521 mEventQueue.setEventThread(mSFEventThread); in init() 911 mEventQueue.setEventThread(mInjectorEventThread); in enableVSyncInjections() 915 mEventQueue.setEventThread(mSFEventThread); in enableVSyncInjections() 947 mEventQueue.waitMessage(); in waitForEvent() 951 mEventQueue.invalidate(); in signalTransaction() 955 mEventQueue.invalidate(); in signalLayerUpdate() 959 mEventQueue.refresh(); in signalRefresh() 964 return mEventQueue.postMessage(msg, reltime); in postMessageAsync() 969 status_t res = mEventQueue.postMessage(msg, reltime); in postMessageSync()
|
D | SurfaceFlinger.cpp | 231 mEventQueue.init(this); in onFirstRef() 549 mEventQueue.setEventThread(mSFEventThread); in init() 1003 mEventQueue.setEventThread(mInjectorEventThread); in enableVSyncInjections() 1007 mEventQueue.setEventThread(mSFEventThread); in enableVSyncInjections() 1039 mEventQueue.waitMessage(); in waitForEvent() 1043 mEventQueue.invalidate(); in signalTransaction() 1047 mEventQueue.invalidate(); in signalLayerUpdate() 1051 mEventQueue.refresh(); in signalRefresh() 1056 return mEventQueue.postMessage(msg, reltime); in postMessageAsync() 1061 status_t res = mEventQueue.postMessage(msg, reltime); in postMessageSync()
|
D | SurfaceFlinger.h | 672 mutable MessageQueue mEventQueue; variable
|