/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 | 180 List<Event>::iterator it = mEventQueue.begin(); in post() 181 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) { in post() 189 if (it == mEventQueue.begin()) { in post() 193 mEventQueue.insert(it, event); in post() 204 if (mEventQueue.empty()) { in loop() 208 int64_t whenUs = (*mEventQueue.begin()).mWhenUs; in loop() 221 event = *mEventQueue.begin(); in loop() 222 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollection.java | 143 private Queue<NotifEvent> mEventQueue = new ArrayDeque<>(); field in NotifCollection 398 mEventQueue.add(new RankingUpdatedEvent(rankingMap)); in onNotificationRankingUpdate() 415 mEventQueue.add(new InitEntryEvent(entry)); in postNotification() 416 mEventQueue.add(new BindEntryEvent(entry, sbn)); in postNotification() 420 mEventQueue.add(new EntryAddedEvent(entry)); in postNotification() 436 mEventQueue.add(new BindEntryEvent(entry, sbn)); in postNotification() 439 mEventQueue.add(new EntryUpdatedEvent(entry)); in postNotification() 473 mEventQueue.add(new EntryRemovedEvent(entry, entry.mCancellationReason)); in tryRemoveNotification() 474 mEventQueue.add(new CleanUpEntryEvent(entry)); in tryRemoveNotification() 507 mEventQueue.add(new RankingAppliedEvent()); in applyRanking() [all …]
|
/frameworks/base/core/java/android/app/ |
D | UiAutomation.java | 129 private final ArrayList<AccessibilityEvent> mEventQueue = new ArrayList<AccessibilityEvent>(); field in UiAutomation 714 mEventQueue.clear(); in executeAndWaitForEvent() 737 localEvents.addAll(mEventQueue); in executeAndWaitForEvent() 738 mEventQueue.clear(); in executeAndWaitForEvent() 760 if (mEventQueue.isEmpty()) { in executeAndWaitForEvent() 777 mEventQueue.clear(); in executeAndWaitForEvent() 1295 mEventQueue.add(AccessibilityEvent.obtain(event)); in IAccessibilityServiceClientImpl()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 505 int mEventQueue; member in __anon5fc701100111::AudioGroup 562 mEventQueue = -1; in AudioGroup() 574 close(mEventQueue); in ~AudioGroup() 586 mEventQueue = epoll_create1(EPOLL_CLOEXEC); in set() 587 if (mEventQueue == -1) { in set() 625 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, pair[1], &event)) { in set() 689 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, stream->mSocket, &event)) { in add() 712 if (epoll_ctl(mEventQueue, EPOLL_CTL_DEL, stream->mSocket, NULL)) { in remove() 761 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/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ALooper.h | 77 List<Event> mEventQueue; member
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 1330 if (! mEventQueue.isEmpty()) { in guardedRun() 1331 event = mEventQueue.remove(0); in guardedRun() 1819 mEventQueue.add(r); in queueEvent() 1843 private ArrayList<Runnable> mEventQueue = new ArrayList<Runnable>(); field in GLSurfaceView.GLThread
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.h | 382 std::shared_ptr<LogEventQueue> mEventQueue; variable
|
D | StatsService.cpp | 120 mEventQueue(queue), 165 if (mEventQueue != nullptr) { 179 auto event = mEventQueue->waitPop(); in readLogs()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 318 mEventQueue(mFactory.createMessageQueue()), in SurfaceFlinger() 456 mEventQueue->init(this); in onFirstRef() 472 mEventQueue->waitMessage(); in run() 479 mEventQueue->postMessage(std::move(task)); in schedule() 1443 mEventQueue->setEventConnection( in enableVSyncInjections() 1555 mEventQueue->invalidate(); in signalTransaction() 1561 mEventQueue->invalidate(); in signalLayerUpdate() 1566 mEventQueue->refresh(); in signalRefresh() 1914 mEventQueue->invalidate(); in onMessageInvalidate() 2988 mEventQueue->setEventConnection(mScheduler->getEventConnection(mSfConnectionHandle)); in initScheduler() [all …]
|
D | SurfaceFlinger.h | 1112 std::unique_ptr<MessageQueue> mEventQueue; variable
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 394 auto& mutableEventQueue() { return mFlinger->mEventQueue; } in mutableEventQueue()
|