Searched defs:queue (Results 1 - 25 of 54) sorted by relevance

123

/frameworks/native/vulkan/libvulkan/
H A Dapi.h50 inline DeviceData& GetData(VkQueue queue) { argument
51 return driver::GetData(queue).opaque_api_data;
H A Ddriver.h183 inline bool SetData(VkQueue queue, const DeviceData& data) { argument
184 return SetDataInternal(queue, &data);
211 inline DeviceData& GetData(VkQueue queue) { argument
212 return *reinterpret_cast<DeviceData*>(GetDataInternal(queue));
H A Ddriver_gen.cpp67 VKAPI_ATTR VkResult checkedQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR* pPresentInfo) { argument
68 if (GetData(queue).hook_extensions[ProcHook::KHR_swapchain]) {
69 return QueuePresentKHR(queue, pPresentInfo);
71 Logger(queue).Err(queue, "VK_KHR_swapchain not enabled. vkQueuePresentKHR not executed.");
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG2TSAssembler.cpp55 List<sp<ABuffer> > *queue = source->queue(); local
57 if (queue->empty()) {
62 List<sp<ABuffer> >::iterator it = queue->begin();
63 while (it != queue->end()) {
68 it = queue->erase(it);
71 if (queue->empty()) {
76 sp<ABuffer> buffer = *queue->begin();
90 queue->erase(queue
[all...]
H A DARTPSource.h44 List<sp<ABuffer> > *queue() { return &mQueue; } function in struct:android::ARTPSource
H A DAH263Assembler.cpp54 List<sp<ABuffer> > *queue = source->queue(); local
56 if (queue->empty()) {
61 List<sp<ABuffer> >::iterator it = queue->begin();
62 while (it != queue->end()) {
67 it = queue->erase(it);
70 if (queue->empty()) {
75 sp<ABuffer> buffer = *queue->begin();
99 queue->erase(queue
[all...]
H A DARawAudioAssembler.cpp55 List<sp<ABuffer> > *queue = source->queue(); local
57 if (queue->empty()) {
62 List<sp<ABuffer> >::iterator it = queue->begin();
63 while (it != queue->end()) {
68 it = queue->erase(it);
71 if (queue->empty()) {
76 sp<ABuffer> buffer = *queue->begin();
90 queue->erase(queue
[all...]
H A DAAMRAssembler.cpp103 List<sp<ABuffer> > *queue = source->queue(); local
105 if (queue->empty()) {
110 List<sp<ABuffer> >::iterator it = queue->begin();
111 while (it != queue->end()) {
116 it = queue->erase(it);
119 if (queue->empty()) {
124 sp<ABuffer> buffer = *queue->begin();
138 queue->erase(queue
[all...]
H A DAAVCAssembler.cpp48 List<sp<ABuffer> > *queue = source->queue(); local
50 if (queue->empty()) {
55 List<sp<ABuffer> >::iterator it = queue->begin();
56 while (it != queue->end()) {
61 it = queue->erase(it);
64 if (queue->empty()) {
69 sp<ABuffer> buffer = *queue->begin();
87 queue->erase(queue
180 addFragmentedNALUnit( List<sp<ABuffer> > *queue) argument
[all...]
H A DAMPEG4ElementaryAssembler.cpp208 List<sp<ABuffer> > *queue = source->queue(); local
210 if (queue->empty()) {
215 List<sp<ABuffer> >::iterator it = queue->begin();
216 while (it != queue->end()) {
221 it = queue->erase(it);
224 if (queue->empty()) {
229 sp<ABuffer> buffer = *queue->begin();
368 queue->erase(queue
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DLayerUpdateQueueTests.cpp28 LayerUpdateQueue queue; local
29 EXPECT_TRUE(queue.entries().empty());
44 LayerUpdateQueue queue; local
45 queue.enqueueLayerWithDamage(a.get(), Rect(25, 25, 75, 75));
46 queue.enqueueLayerWithDamage(b.get(), Rect(100, 100, 300, 300));
47 queue.enqueueLayerWithDamage(c.get(), Rect(.5, .5, .5, .5));
49 EXPECT_EQ(3u, queue.entries().size());
51 EXPECT_EQ(a.get(), queue.entries()[0].renderNode);
52 EXPECT_EQ(Rect(25, 25, 75, 75), queue.entries()[0].damage);
53 EXPECT_EQ(b.get(), queue
62 LayerUpdateQueue queue; local
75 LayerUpdateQueue queue; local
[all...]
/frameworks/volley/src/main/java/com/android/volley/
H A DNetworkDispatcher.java28 * Provides a thread for performing network dispatch from a queue of requests.
30 * Requests added to the specified queue are processed from the network via a
36 /** The queue of requests to service. */
51 * @param queue Queue of incoming requests for triage
56 public NetworkDispatcher(BlockingQueue<Request<?>> queue, argument
59 mQueue = queue;
67 * the queue, they are not guaranteed to be processed.
89 // Take a request from the queue.
100 request.addMarker("network-queue-take");
/frameworks/base/tests/CoreTests/android/core/
H A DHeapTest.java230 ReferenceQueue<Object> queue) {
233 refs[i] = new PhantomReference<Object>(objects[i], queue);
238 ReferenceQueue<T> queue) {
242 * the queue are marked as enqueued. Once we
243 * pull them off the queue, they will no longer
258 /* Make sure that all of the references on the queue
262 while ((ref = (PhantomReference<T>) queue.poll()) != null) {
273 "unexpected ref on queue");
316 ReferenceQueue<Object> queue = new ReferenceQueue<Object>();
321 makeRefs(objects, refs, queue);
229 makeRefs(Object objects[], PhantomReference<Object> refs[], ReferenceQueue<Object> queue) argument
237 checkRefs(T objects[], PhantomReference<T> refs[], ReferenceQueue<T> queue) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.h72 Handler(MessageQueue& queue) : mQueue(queue), mEventMask(0) { } argument
H A DMessageQueue.cpp165 MessageQueue* queue = reinterpret_cast<MessageQueue *>(data); local
166 return queue->eventReceiver(fd, events);
/frameworks/base/cmds/media/src/com/android/commands/media/
H A DMedia.java205 public void onQueueChanged(ParceledListSlice queue) throws RemoteException { argument
207 + (queue == null ? "null queue" : " size=" + queue.getList().size()));
/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/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameQueue.java38 public void attachQueue(FrameQueue queue) { argument
39 mAttachedQueues.add(queue);
51 private void buildQueueImpl(FrameQueue queue) { argument
52 QueueImpl queueImpl = queue.new SingleFrameQueueImpl();
53 queue.mQueueImpl = queueImpl;
58 for (FrameQueue queue : mAttachedQueues) {
59 result = FrameType.merge(result, queue.mType);
67 throw new RuntimeException("Cannot build connection queue '" + queueName + "' as "
H A DOutputPort.java63 * frame data, you can push it into the output queue using {@link #pushFrame(Frame)}. Note,
64 * that the Frame returned is owned by the queue. If you wish to hold on to the frame, you
89 * @param frame the frame to push to the output queue.
92 // Some queues allow pushing without fetching, so we need to make sure queue is open
168 void setQueue(FrameQueue queue) { argument
169 mQueue = queue;
/frameworks/native/include/gui/
H A DBufferSlot.h127 inline void queue() { function in struct:android::BufferState
/frameworks/native/libs/gui/
H A DSensorManager.cpp214 sp<SensorEventQueue> queue; local
225 queue = new SensorEventQueue(connection);
228 return queue;
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.cpp187 jbyteArray rawDescriptor, jobject queue, jobject callback) {
197 sp<Looper> looper = android_os_MessageQueue_getMessageQueue(env, queue)->getLooper();
186 openDevice(JNIEnv* env, jclass , jstring rawName, jint id, jint vid, jint pid, jbyteArray rawDescriptor, jobject queue, jobject callback) argument
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DDevice.java56 byte[] descriptor, MessageQueue queue, DeviceCallback callback);
55 nativeOpenDevice(String name, int id, int vid, int pid, byte[] descriptor, MessageQueue queue, DeviceCallback callback) argument
/frameworks/base/core/jni/
H A Dandroid_view_InputQueue.cpp204 sp<InputQueue> queue = InputQueue::createQueue(queueWeak, messageQueue->getLooper()); local
205 if (!queue.get()) {
209 queue->incStrong(&gInputQueueClassInfo);
210 return reinterpret_cast<jlong>(queue.get());
214 sp<InputQueue> queue = reinterpret_cast<InputQueue*>(ptr); local
215 queue->detachLooper();
216 queue->decStrong(&gInputQueueClassInfo);
221 InputQueue* queue = reinterpret_cast<InputQueue*>(ptr); local
222 KeyEvent* event = queue->createKeyEvent();
225 queue
239 sp<InputQueue> queue = reinterpret_cast<InputQueue*>(ptr); local
[all...]

Completed in 3843 milliseconds

123