Searched refs:queue (Results 51 - 75 of 137) sorted by relevance

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DTrackedGarbage.java71 LeakReference(Object t, ReferenceQueue<Object> queue) { argument
72 super(t, queue);
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.cpp145 MessageQueue* queue = reinterpret_cast<MessageQueue *>(data); local
146 return queue->eventReceiver(fd, events);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPSource.h44 List<sp<ABuffer> > *queue() { return &mQueue; } function in struct:android::ARTPSource
/frameworks/base/cmds/incidentd/src/
H A DIncidentService.h54 ReportHandler(const sp<Looper>& handlerLooper, const sp<ReportRequestQueue>& queue);
60 * Adds a ReportRequest to the queue.
H A DIncidentService.cpp95 ReportHandler::ReportHandler(const sp<Looper>& handlerLooper, const sp<ReportRequestQueue>& queue) argument
98 mQueue(queue)
159 // Take the report, which might take a while. More requests might queue
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorManager.h46 void destroyEventQueue(ASensorEventQueue *queue);
/frameworks/native/include/gui/
H A DBufferSlot.h127 inline void queue() { function in struct:android::BufferState
/frameworks/native/vulkan/libvulkan/
H A Ddriver.h190 inline bool SetData(VkQueue queue, const DeviceData& data) { argument
191 return SetDataInternal(queue, &data);
218 inline DeviceData& GetData(VkQueue queue) { argument
219 return *reinterpret_cast<DeviceData*>(GetDataInternal(queue));
H A Ddriver_gen.cpp69 VKAPI_ATTR VkResult checkedQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR* pPresentInfo) { argument
70 if (GetData(queue).hook_extensions[ProcHook::KHR_swapchain]) {
71 return QueuePresentKHR(queue, pPresentInfo);
73 Logger(queue).Err(queue, "VK_KHR_swapchain not enabled. vkQueuePresentKHR not executed.");
/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DColorCutQuantizer.java168 // Create the priority queue which is sorted by volume descending. This means we always
169 // split the largest box in the queue
185 * {@link ColorCutQuantizer.Vbox} objects from the queue
187 * queue.
189 * @param queue {@link java.util.PriorityQueue} to poll for boxes
192 private void splitBoxes(final PriorityQueue<Vbox> queue, final int maxSize) { argument
193 while (queue.size() < maxSize) {
194 final Vbox vbox = queue.poll();
198 queue.offer(vbox.splitBox());
204 queue
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp66 void TaskQueue::queue(RenderTask* task) { function in class:android::uirenderer::renderthread::TaskQueue
69 LOG_ALWAYS_FATAL_IF(task->mNext || mTail == task, "Task is already in the queue!");
101 LOG_ALWAYS_FATAL_IF(task->mNext || mHead == task, "Task is already in the queue!");
114 "Cannot remove a task that isn't in the queue!");
271 ATRACE_NAME("queue mFrameCallbackTask");
318 // Process our queue, if we have anything. By first acquiring
359 void RenderThread::queue(RenderTask* task) { function in class:android::uirenderer::renderthread::RenderThread
361 mQueue.queue(task);
377 queue(&syncTask);
391 queue(tas
[all...]
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DColorCutQuantizer.java148 // Create the priority queue which is sorted by volume descending. This means we always
149 // split the largest box in the queue
165 * {@link ColorCutQuantizer.Vbox} objects from the queue
167 * queue.
169 * @param queue {@link java.util.PriorityQueue} to poll for boxes
172 private void splitBoxes(final PriorityQueue<Vbox> queue, final int maxSize) { argument
173 while (queue.size() < maxSize) {
174 final Vbox vbox = queue.poll();
178 queue.offer(vbox.splitBox());
184 queue
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileLifecycleManager.java205 ArraySet<Integer> queue;
207 queue = new ArraySet<>(mQueuedMessages);
210 if (queue.contains(MSG_ON_ADDED)) {
218 if (queue.contains(MSG_ON_CLICK)) {
227 if (queue.contains(MSG_ON_UNLOCK_COMPLETE)) {
236 if (queue.contains(MSG_ON_REMOVED)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DMediaSessions.java211 final List<QueueItem> queue = c.getQueue();
232 if (queue != null && !queue.isEmpty()) {
234 for (QueueItem qi : queue) {
305 public void onQueueChanged(List<QueueItem> queue) { argument
306 if (D.BUG) Log.d(TAG, cb("onQueueChanged") + queue);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbRequest.java35 * or asynchronously via {@link #queue} and {@link UsbDeviceConnection#requestWait}.
56 /** The amount of data to read / write when using {@link #queue} */
66 * Whether this buffer was {@link #queue(ByteBuffer) queued using the new behavior} or
67 * {@link #queue(ByteBuffer, int) queued using the deprecated behavior}.
77 * Lock for queue, enqueue and dequeue, so a queue operation can be finished by a dequeue
141 * maintaining state between calls to {@link #queue} and
154 * maintaining state between calls to {@link #queue} and
179 * @deprecated Use {@link #queue(ByteBuffer)} instead.
182 public boolean queue(ByteBuffe method in class:UsbRequest
226 public boolean queue(@Nullable ByteBuffer buffer) { method in class:UsbRequest
[all...]
/frameworks/base/core/java/android/os/
H A DLooper.java62 * based on MessageQueue. APIs that affect the state of the queue should be
64 * idle handlers and sync barriers are defined on the queue whereas preparing the
126 * Run the message queue in this thread. Be sure to call
134 final MessageQueue queue = me.mQueue;
142 Message msg = queue.next(); // might block
144 // No message indicates that the message queue is quitting.
255 * more messages in the message queue.
257 * Any attempt to post messages to the queue after the looper is asked to quit will fail.
275 * in the message queue that are already due to be delivered have been handled.
279 * Any attempt to post messages to the queue afte
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DInputPort.java172 * Note, that this returns a frame owned by the input queue. You must detach the frame if you
291 void setQueue(FrameQueue queue) { argument
292 mQueue = queue;
H A DFilter.java689 FrameQueue queue = builder.build(queueName);
690 outPort.setQueue(queue);
691 inPort.setQueue(queue);
/frameworks/base/tests/utils/testutils/java/android/os/test/
H A DTestLooper.java33 * Creates a looper whose message queue can be manipulated
88 MessageQueue queue = mLooper.getQueue();
89 return (Message) MESSAGE_QUEUE_MESSAGES_FIELD.get(queue);
120 // the queue.
148 * @return true if there are pending messages in the message queue
157 * @return the next message in the Looper's message queue or null if there is none
168 * Dispatch the next message in the queue
169 * Asserts that there is a message in the queue
181 * Dispatch all messages currently in the queue
/frameworks/native/include/ui/
H A DFenceTime.h26 #include <queue>
142 // A queue of FenceTimes that are expected to signal in FIFO order.
143 // Only maintains a queue of weak pointers so it doesn't keep references
167 std::queue<std::weak_ptr<FenceTime>> mQueue;
/frameworks/base/cmds/media/src/com/android/commands/media/
H A DMedia.java211 public void onQueueChanged(ParceledListSlice queue) throws RemoteException { argument
213 + (queue == null ? "null queue" : " size=" + queue.getList().size()));
/frameworks/native/libs/sensor/
H A DSensorManager.cpp228 sp<SensorEventQueue> queue; local
239 queue = new SensorEventQueue(connection);
242 return queue;
/frameworks/support/media-compat/api21/android/support/v4/media/session/
H A DMediaSessionCompatApi21.java126 ArrayList<MediaSession.QueueItem> queue = new ArrayList<MediaSession.QueueItem>();
128 queue.add((MediaSession.QueueItem) itemObj);
130 ((MediaSession) sessionObj).setQueue(queue);
/frameworks/base/media/java/android/media/session/
H A DMediaController.java172 * Get the current play queue for this session if one is set. If you only
175 * @return The current play queue or null.
179 ParceledListSlice queue = mSessionBinder.getQueue();
180 if (queue != null) {
181 return queue.getList();
190 * Get the queue title for this session.
547 * Override to handle changes to items in the queue.
549 * @param queue A list of items in the current play queue. It should
554 public void onQueueChanged(@Nullable List<MediaSession.QueueItem> queue) { argument
[all...]
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_display_manager-test.cpp60 DvrWriteBufferQueue* queue; local
63 layer_count, usage, capacity, &queue);
67 return {UniqueDvrWriteBufferQueue(queue)};
83 DvrReadBufferQueue* queue; local
85 display_manager_.get(), surface_id, queue_id, &queue);
89 return {UniqueDvrReadBufferQueue(queue)};
486 // Create a new queue in the surface.
522 // Verify that destroying the queue generates a surface update event.
529 // Verify that the queue ids reflect the change.
548 // Create a new queue i
[all...]

Completed in 645 milliseconds

123456