/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Semaphore.java | 180 return getState(); in getPermits() 185 int available = getState(); in nonfairTryAcquireShared() 195 int current = getState(); in tryReleaseShared() 206 int current = getState(); in reducePermits() 217 int current = getState(); in drainPermits() 253 int available = getState(); in tryAcquireShared()
|
D | CountDownLatch.java | 170 return getState(); in getCount() 174 return (getState() == 0) ? 1 : -1; in tryAcquireShared() 180 int c = getState(); in tryReleaseShared()
|
D | ThreadPoolExecutor.java | 650 return getState() != 0; in isHeldExclusively() 674 if (getState() >= 0 && (t = thread) != null && !t.isInterrupted()) { in interruptIfStarted()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SignatureTest.java | 64 assertEquals(0, s.getState()); in testConstructor() 70 assertEquals(0, s1.getState()); in testConstructor() 75 assertEquals(0, s2.getState()); in testConstructor() 101 assertEquals("state", MySignature1.UNINITIALIZED, s.getState()); in testGetProvider() 108 assertEquals("state", MySignature1.UNINITIALIZED, s.getState()); in testGetAlgorithm() 119 assertEquals("state", MySignature1.VERIFY, s.getState()); in testInitVerifyPublicKey() 139 assertEquals("state", MySignature1.VERIFY, s.getState()); in testInitVerifyCertificate() 160 assertEquals("state", MySignature1.SIGN, s.getState()); in testInitSignPrivateKey() 194 assertEquals("state", MySignature1.SIGN, s.getState()); in testInitSignPrivateKeySecureRandom() 229 assertEquals("state", MySignature1.SIGN, s.getState()); in testSign() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | ReentrantReadWriteLock.java | 341 setState(getState()); // ensures visibility of readHolds in Sync() 374 int nextc = getState() - releases; in tryRelease() 395 int c = getState(); in tryAcquire() 435 int c = getState(); in tryReleaseShared() 467 int c = getState(); in tryAcquireShared() 506 int c = getState(); in fullTryAcquireShared() 559 int c = getState(); in tryWriteLock() 581 int c = getState(); in tryReadLock() 621 return ((exclusiveCount(getState()) == 0) ? in getOwner() 627 return sharedCount(getState()); in getReadLockCount() [all …]
|
D | ReentrantLock.java | 134 int c = getState(); in nonfairTryAcquire() 154 int c = getState() - releases; in tryRelease() 179 return getState() == 0 ? null : getExclusiveOwnerThread(); in getOwner() 183 return isHeldExclusively() ? getState() : 0; in getHoldCount() 187 return getState() != 0; in isLocked() 242 int c = getState(); in tryAcquire()
|
D | AbstractQueuedLongSynchronizer.java | 104 protected final long getState() { in getState() method in AbstractQueuedLongSynchronizer 1172 + "[State = " + getState() + ", " in toString() 1277 long savedState = getState(); in fullyRelease()
|
D | AbstractQueuedSynchronizer.java | 572 protected final int getState() { in getState() method in AbstractQueuedSynchronizer 1646 + "[State = " + getState() + ", " in toString() 1751 int savedState = getState(); in fullyRelease()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 307 Thread.State state = Thread.currentThread().getState(); in test_getState() 348 assertEquals(Thread.State.NEW, th.getState()); in test_getState() 351 assertEquals(Thread.State.RUNNABLE, th.getState()); in test_getState() 356 assertEquals(Thread.State.WAITING, th.getState()); in test_getState() 361 assertEquals(Thread.State.BLOCKED, th.getState()); in test_getState() 367 assertEquals(Thread.State.TIMED_WAITING, th.getState()); in test_getState() 372 assertEquals(Thread.State.TERMINATED, th.getState()); in test_getState()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressMonitor.java | 129 … ProgressEvent(pi, pi.getURL(), pi.getMethod(), pi.getContentType(), pi.getState(), pi.getProgress… in registerSource() 166 … ProgressEvent(pi, pi.getURL(), pi.getMethod(), pi.getContentType(), pi.getState(), pi.getProgress… in unregisterSource() 198 … ProgressEvent(pi, pi.getURL(), pi.getMethod(), pi.getContentType(), pi.getState(), pi.getProgress… in updateProgress()
|
D | ProgressEvent.java | 105 public ProgressSource.State getState() { in getState() method in ProgressEvent
|
D | ProgressSource.java | 140 public State getState() { in getState() method in ProgressSource
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | TestUtils.java | 34 if (thread.getState() != Thread.State.TERMINATED) { in joinThreadOrFail()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MySignature1.java | 114 public int getState() { in getState() method in MySignature1
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | VM.java | 60 public static final int getState() { in getState() method in VM
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | VM.java | 92 public static final int getState() { in getState() method in VM
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Thread.annotated.java | 138 public java.lang.Thread.State getState() { throw new RuntimeException("Stub!"); } in getState() method in Thread
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 1314 if (getState() == Thread.State.TERMINATED) { in getThreadGroup() 2001 public State getState() { in getState() method in Thread
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Thread.annotated.java | 132 @libcore.util.NonNull public java.lang.Thread.State getState() { throw new RuntimeException("Stub!"… in getState() method in Thread
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 1215 Thread.State s = thread.getState(); 1239 Thread.State s = thread.getState(); 1338 if (t.getState() != Thread.State.TERMINATED) {
|
D | AbstractQueuedLongSynchronizerTest.java | 46 long state = getState(); in isHeldExclusively() 57 if (getState() != LOCKED) throw new IllegalMonitorStateException(); in tryRelease() 95 public boolean isSignalled() { return getState() != 0; } in isSignalled()
|
D | AbstractQueuedSynchronizerTest.java | 49 int state = getState(); in isHeldExclusively() 60 if (getState() != LOCKED) throw new IllegalMonitorStateException(); in tryRelease() 99 public boolean isSignalled() { return getState() != 0; } in isSignalled()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Thread.java | 278 public java.lang.Thread.State getState() { in getState() method in Thread
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | JSR166TestCase.java | 1322 Thread.State s = thread.getState(); 1348 Thread.State s = thread.getState(); 1447 if (t.getState() != Thread.State.TERMINATED) {
|
D | AbstractQueuedLongSynchronizerTest.java | 69 long state = getState(); in isHeldExclusively() 80 if (getState() != LOCKED) throw new IllegalMonitorStateException(); in tryRelease() 118 public boolean isSignalled() { return getState() != 0; } in isSignalled()
|