Searched refs:queue (Results 26 - 50 of 71) sorted by relevance

123

/frameworks/volley/src/com/android/volley/
H A DNetworkDispatcher.java27 * Provides a thread for performing network dispatch from a queue of requests.
29 * Requests added to the specified queue are processed from the network via a
35 /** The queue of requests to service. */
50 * @param queue Queue of incoming requests for triage
55 public NetworkDispatcher(BlockingQueue<Request<?>> queue, argument
58 mQueue = queue;
66 * the queue, they are not guaranteed to be processed.
87 // Take a request from the queue.
98 request.addMarker("network-queue-take");
/frameworks/base/core/java/android/app/
H A DNativeActivity.java94 private native long loadNativeCode(String path, String funcname, MessageQueue queue, argument
291 public void onInputQueueCreated(InputQueue queue) { argument
293 mCurInputQueue = queue;
294 onInputQueueCreatedNative(mNativeHandle, queue.getNativePtr());
298 public void onInputQueueDestroyed(InputQueue queue) { argument
300 onInputQueueDestroyedNative(mNativeHandle, queue.getNativePtr());
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4AudioAssembler.cpp487 List<sp<ABuffer> > *queue = source->queue(); local
489 if (queue->empty()) {
494 List<sp<ABuffer> >::iterator it = queue->begin();
495 while (it != queue->end()) {
500 it = queue->erase(it);
503 if (queue->empty()) {
508 sp<ABuffer> buffer = *queue->begin();
531 queue->erase(queue
[all...]
H A DARTPSource.h44 List<sp<ABuffer> > *queue() { return &mQueue; } function in struct:android::ARTPSource
/frameworks/native/include/android/
H A Dinput.h797 * Input queue
799 * An input queue is the facility through which you retrieve input
806 * Add this input queue to a looper for processing. See
809 void AInputQueue_attachLooper(AInputQueue* queue, ALooper* looper,
813 * Remove the input queue from the looper it is currently attached to.
815 void AInputQueue_detachLooper(AInputQueue* queue);
819 * input queue. Returns 1 if the queue has events; 0 if
822 int32_t AInputQueue_hasEvents(AInputQueue* queue);
825 * Returns the next available event from the queue
[all...]
/frameworks/base/core/java/android/os/
H A DLooper.java106 * Run the message queue in this thread. Be sure to call
114 final MessageQueue queue = me.mQueue;
122 Message msg = queue.next(); // might block
124 // No message indicates that the message queue is quitting.
203 * more messages in the message queue.
205 * Any attempt to post messages to the queue after the looper is asked to quit will fail.
223 * in the message queue that are already due to be delivered have been handled.
227 * Any attempt to post messages to the queue after the looper is asked to quit will fail.
236 * Posts a synchronization barrier to the Looper's message queue.
238 * Message processing occurs as usual until the message queue encounter
[all...]
/frameworks/base/core/java/android/view/
H A DInputQueue.java30 * An input queue provides a mechanism for an application to receive incoming
148 void onInputQueueCreated(InputQueue queue); argument
154 void onInputQueueDestroyed(InputQueue queue); argument
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.h53 void queue(RenderTask* task);
76 ANDROID_API void queue(RenderTask* task);
H A DRenderThread.cpp63 void TaskQueue::queue(RenderTask* task) { function in class:android::uirenderer::renderthread::TaskQueue
66 LOG_ALWAYS_FATAL_IF(task->mNext || mTail == task, "Task is already in the queue!");
110 "Cannot remove a task that isn't in the queue!");
218 ATRACE_NAME("queue mFrameCallbackTask");
265 // Process our queue, if we have anything
300 void RenderThread::queue(RenderTask* task) { function in class:android::uirenderer::renderthread::RenderThread
302 mQueue.queue(task);
317 queue(task);
H A DDrawFrameTask.cpp88 mRenderThread->queue(this);
/frameworks/base/media/java/android/media/session/
H A DISession.aidl44 void setQueue(in ParceledListSlice queue);
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/ex/variablespeed/jni/
H A Dvariablespeed.h32 #include <queue>
104 std::queue<int16*> playingBuffers_;
/frameworks/support/v7/palette/src/android/support/v7/graphics/
H A DColorCutQuantizer.java125 // Create the priority queue which is sorted by volume descending. This means we always
126 // split the largest box in the queue
142 * {@link ColorCutQuantizer.Vbox} objects from the queue
144 * queue.
146 * @param queue {@link java.util.PriorityQueue} to poll for boxes
149 private void splitBoxes(final PriorityQueue<Vbox> queue, final int maxSize) { argument
150 while (queue.size() < maxSize) {
151 final Vbox vbox = queue.poll();
155 queue.offer(vbox.splitBox());
157 queue
[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/native/services/surfaceflinger/
H A DMessageQueue.cpp178 MessageQueue* queue = reinterpret_cast<MessageQueue *>(data); local
179 return queue->eventReceiver(fd, events);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbRequest.java29 * or asynchronously via {@link #queue} and {@link UsbDeviceConnection#requestWait}.
44 // for temporarily saving current buffer across queue and dequeue
100 * maintaining state between calls to {@link #queue} and
113 * maintaining state between calls to {@link #queue} and
135 public boolean queue(ByteBuffer buffer, int length) { method in class:UsbRequest
169 * Cancels a pending queue operation.
/frameworks/base/cmds/media/src/com/android/commands/media/
H A DMedia.java206 public void onQueueChanged(ParceledListSlice queue) throws RemoteException { argument
208 + (queue == null ? "null queue" : " size=" + queue.getList().size()));
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaSessionCompatApi21.java120 ArrayList<MediaSession.QueueItem> queue = new ArrayList<MediaSession.QueueItem>();
122 queue.add((MediaSession.QueueItem) itemObj);
124 ((MediaSession) sessionObj).setQueue(queue);
H A DMediaControllerCompatApi21.java68 List<MediaSession.QueueItem> queue = ((MediaController) controllerObj).getQueue();
69 if (queue == null) {
72 List<Object> queueObjs = new ArrayList<Object>(queue);
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp251 Queue queue; local
277 queue.push(x, y);
278 queue.get(lag, &lag_x, &lag_y);
/frameworks/base/libs/hwui/
H A DRenderState.cpp184 mRenderThread.queue(new DecStrongTask(object));
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaSessionCompat.java327 * Update the list of items in the play queue. It is an ordered list and
329 * exist. Specify null if there is no current play queue.
331 * The queue should be of reasonable size. If the play queue is unbounded
335 * @param queue A list of items in the play queue.
337 public void setQueue(List<QueueItem> queue) { argument
338 mImpl.setQueue(queue);
342 * Set the title of the play queue. The UI should display this title along
343 * with the play queue itsel
917 setQueue(List<QueueItem> queue) argument
1236 setQueue(List<QueueItem> queue) argument
1445 sendQueue(List<QueueItem> queue) argument
1873 setQueue(List<QueueItem> queue) argument
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DImageLoader.java82 * @param queue The RequestQueue to use for making image requests.
85 public ImageLoader(RequestQueue queue, ImageCache imageCache) { argument
86 mRequestQueue = queue;

Completed in 2685 milliseconds

123