Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 10 of 10) sorted by relevance

/dalvik/libcore/luni/src/test/java/tests/api/java/util/
DAbstractQueueTest.java37 private MockAbstractQueue<Object> queue; field in AbstractQueueTest
125 queue.add(null); in test_addLE_null()
145 queue.add(o); in test_addLE_Full()
149 queue.add(o); in test_addLE_Full()
169 queue.add(o); in test_addLE()
172 queue.add(I); in test_addLE()
173 assertTrue(queue.contains(I)); in test_addLE()
174 Iterator iter = queue.iterator(); in test_addLE()
192 queue.addAll(null); in test_addAllLE_null()
211 queue.addAll(list); in test_addAllLE_with_null()
[all …]
DPriorityQueueTest.java232 PriorityQueue<Object> queue = new PriorityQueue<Object>(); in test_Constructor() local
233 assertNotNull(queue); in test_Constructor()
234 assertEquals(0, queue.size()); in test_Constructor()
235 assertNull(queue.comparator()); in test_Constructor()
248 PriorityQueue<Object> queue = new PriorityQueue<Object>(100); in test_ConstructorI() local
249 assertNotNull(queue); in test_ConstructorI()
250 assertEquals(0, queue.size()); in test_ConstructorI()
251 assertNull(queue.comparator()); in test_ConstructorI()
271 PriorityQueue<Object> queue = new PriorityQueue<Object>(100, in test_ConstructorILjava_util_Comparator() local
273 assertNotNull(queue); in test_ConstructorILjava_util_Comparator()
[all …]
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ref/
DReference.java61 ReferenceQueue queue; field in Reference
117 if (queue != null && queueNext == null) { in enqueueInternal()
118 queue.enqueue(this); in enqueueInternal()
119 queue = null; in enqueueInternal()
DPhantomReference.java66 queue = q; in PhantomReference()
DWeakReference.java117 queue = q; in WeakReference()
DSoftReference.java118 queue = q; in SoftReference()
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
DScheduledThreadPoolExecutor.java691 private ScheduledFutureTask[] queue = field in ScheduledThreadPoolExecutor.DelayedWorkQueue
735 ScheduledFutureTask e = queue[parent]; in siftUp()
738 queue[k] = e; in siftUp()
742 queue[k] = key; in siftUp()
754 ScheduledFutureTask c = queue[child]; in siftDown()
756 if (right < size && c.compareTo(queue[right]) > 0) in siftDown()
757 c = queue[child = right]; in siftDown()
760 queue[k] = c; in siftDown()
764 queue[k] = key; in siftDown()
772 int oldCapacity = queue.length; in grow()
[all …]
/dalvik/libcore/luni/src/main/java/java/util/
DWeakHashMap.java70 Entry(K key, V object, ReferenceQueue<K> queue) { in Entry() argument
71 super(key, queue); in Entry()
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
DMulticastSocketTest.java72 private final BlockingQueue<DatagramPacket> queue field in MulticastSocketTest.MulticastServer
83 queue.put(rdp); in run()
115 return queue.poll(1000, TimeUnit.MILLISECONDS); in receive()
/dalvik/vm/alloc/
DMarkSweep.c845 Object *queue = dvmGetFieldObject(reference, in enqueueReference() local
849 if (queue == NULL || queueNext != NULL) { in enqueueReference()