Home
last modified time | relevance | path

Searched refs:isEnqueued (Results 1 – 11 of 11) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceTest.java149 assertTrue("Enqueue failed.", (!ref.isEnqueued()) in test_enqueue()
150 && ((ref.enqueue()) && (ref.isEnqueued()))); in test_enqueue()
153 assertTrue("Should remain enqueued.", !ref.isEnqueued()); in test_enqueue()
161 assertTrue("Enqueue failed2.", (!ref.isEnqueued()) in test_enqueue()
162 && ((ref.enqueue()) && (ref.isEnqueued()))); in test_enqueue()
164 assertTrue("Should remain enqueued2.", !ref.isEnqueued()); // This in test_enqueue()
170 assertTrue("Enqueue failed3.", (!ref.isEnqueued()) in test_enqueue()
171 && ((ref.enqueue()) && (ref.isEnqueued()))); in test_enqueue()
173 assertTrue("Should remain enqueued3.", !ref.isEnqueued()); // This in test_enqueue()
302 assertTrue("Should start off not enqueued.", !ref.isEnqueued()); in test_isEnqueued()
[all …]
DPhantomReferenceTest.java137 assertTrue("Initialization failed.", !pr.isEnqueued()); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
/libcore/ojluni/src/main/java/java/lang/ref/
DReference.java184 public boolean isEnqueued() { in isEnqueued() method in Reference
189 return queue != null && queue.isEnqueued(this); in isEnqueued()
DReferenceQueue.java106 boolean isEnqueued(Reference<? extends T> reference) { in isEnqueued() method in ReferenceQueue
/libcore/ojluni/annotations/hiddenapi/java/lang/ref/
DReference.java55 public boolean isEnqueued() { in isEnqueued() method in Reference
DReferenceQueue.java42 boolean isEnqueued(java.lang.ref.Reference<? extends T> reference) { in isEnqueued() method in ReferenceQueue
/libcore/ojluni/src/main/java/jdk/internal/ref/
DPhantomCleanable.java164 public final boolean isEnqueued() { in isEnqueued() method in PhantomCleanable
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedSynchronizer.java594 final boolean isEnqueued(Node node) { in isEnqueued() method in AbstractQueuedSynchronizer
1527 return node != null && node.prev != null && isEnqueued(node); in canReacquire()
DAbstractQueuedLongSynchronizer.java229 final boolean isEnqueued(Node node) { in isEnqueued() method in AbstractQueuedLongSynchronizer
1161 return node != null && node.prev != null && isEnqueued(node); in canReacquire()
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java1456 assertTrue(!pr.isEnqueued()); in test_DirectByteBuffer_PhantomReference()
1465 assertTrue(!pr.isEnqueued()); in test_DirectByteBuffer_PhantomReference()
1471 assertTrue(pr.isEnqueued()); in test_DirectByteBuffer_PhantomReference()
/libcore/api/
Dcurrent.txt4930 method @Deprecated public boolean isEnqueued();