/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadStateTest.java | 23 Thread.State [] exStates = { Thread.State.NEW, Thread.State.RUNNABLE, 24 Thread.State.BLOCKED, Thread.State.WAITING, 25 Thread.State.TIMED_WAITING, Thread.State.TERMINATED }; 32 assertEquals(exStates[i], Thread.State.valueOf(spNames[i])); in test_valueOfLString() 38 Thread.State.valueOf(s); in test_valueOfLString() 47 Thread.State [] thStates = Thread.State.values(); in test_values() 49 for(Thread.State ts:thStates) { in test_values() 54 boolean isContain(Thread.State state) { in isContain() 55 for(Thread.State ts:exStates) { in isContain()
|
D | OldThreadTest.java | 307 Thread.State state = Thread.currentThread().getState(); in test_getState() 309 assertEquals(Thread.State.RUNNABLE, state); 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/luni/src/benchmark/native/ |
D | libcore_io_Memory_bench.cpp | 23 void swap_bench(benchmark::State& state, void (*swap_func)(T*, const T*, size_t)) { in swap_bench() 61 static void BM_swapShorts_aligned(benchmark::State& state) { in BM_swapShorts_aligned() 66 static void BM_swapInts_aligned(benchmark::State& state) { in BM_swapInts_aligned() 71 static void BM_swapLongs_aligned(benchmark::State& state) { in BM_swapLongs_aligned() 78 static void BM_swapShorts_unaligned_1(benchmark::State& state) { in BM_swapShorts_unaligned_1() 83 static void BM_swapInts_unaligned_1(benchmark::State& state) { in BM_swapInts_unaligned_1() 88 static void BM_swapLongs_unaligned_1(benchmark::State& state) { in BM_swapLongs_unaligned_1() 95 static void BM_swapShorts_unaligned_2(benchmark::State& state) { in BM_swapShorts_unaligned_2() 100 static void BM_swapInts_unaligned_2(benchmark::State& state) { in BM_swapInts_unaligned_2() 105 static void BM_swapLongs_unaligned_2(benchmark::State& state) { in BM_swapLongs_unaligned_2()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressSource.java | 36 public enum State { NEW, CONNECTED, UPDATE, DELETE }; enum in ProgressSource 51 private State state; 76 this.state = State.NEW; in ProgressSource() 84 state = State.CONNECTED; in connected() 94 state = State.DELETE; in close() 140 public State getState() { in getState() 167 state = State.CONNECTED; in updateProgress() 169 state = State.UPDATE; in updateProgress()
|
D | ProgressEvent.java | 48 private ProgressSource.State state; 53 …Source source, URL url, String method, String contentType, ProgressSource.State state, long progre… in ProgressEvent() 105 public ProgressSource.State getState() { in getState()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractWatchKey.java | 51 private static enum State { READY, SIGNALLED }; enum in AbstractWatchKey 60 private State state; 72 this.state = State.READY; in AbstractWatchKey() 94 if (state == State.READY) { in signal() 95 state = State.SIGNALLED; in signal() 175 if (state == State.SIGNALLED && isValid()) { in reset() 177 state = State.READY; in reset()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | FieldTest.java | 54 Field valuesField = Thread.State.class.getDeclaredField("$VALUES"); in testSyntheticModifier() 64 Field blockedField = Thread.State.class.getDeclaredField("BLOCKED"); in testEnumValueField() 65 assertTrue(Thread.State.class.getDeclaredField("BLOCKED").isEnumConstant()); in testEnumValueField()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | VM.java | 28 import static java.lang.Thread.State.*; 377 public static Thread.State toThreadState(int threadStatus) { in toThreadState()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | State.java | 43 interface State extends Cloneable { interface
|
D | Builder.java | 88 (State currentState, List<CertStore> certStores) in getMatchingCerts() 99 abstract void verifyCert(X509Certificate cert, State currentState, in verifyCert()
|
D | ForwardState.java | 54 class ForwardState implements State {
|
D | ForwardBuilder.java | 109 Collection<X509Certificate> getMatchingCerts(State currentState, in getMatchingCerts() 693 void verifyCert(X509Certificate cert, State currentState, in verifyCert()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 1215 Thread.State s = thread.getState(); 1216 if (s == Thread.State.BLOCKED || 1217 s == Thread.State.WAITING || 1218 s == Thread.State.TIMED_WAITING) 1220 else if (s == Thread.State.TERMINATED) 1239 Thread.State s = thread.getState(); 1240 if (s == Thread.State.BLOCKED || 1241 s == Thread.State.WAITING || 1242 s == Thread.State.TIMED_WAITING) { 1248 else if (s == Thread.State.TERMINATED) [all …]
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | TestUtils.java | 34 if (thread.getState() != Thread.State.TERMINATED) { in joinThreadOrFail()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | JSR166TestCase.java | 1322 Thread.State s = thread.getState(); 1323 if (s == Thread.State.BLOCKED || 1324 s == Thread.State.WAITING || 1325 s == Thread.State.TIMED_WAITING) 1327 else if (s == Thread.State.TERMINATED) 1348 Thread.State s = thread.getState(); 1349 if (s == Thread.State.BLOCKED || 1350 s == Thread.State.WAITING || 1351 s == Thread.State.TIMED_WAITING) { 1357 else if (s == Thread.State.TERMINATED) [all …]
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Thread.annotated.java | 138 public java.lang.Thread.State getState() { throw new RuntimeException("Stub!"); } in getState() 162 public static enum State { enum in Thread
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Thread.java | 278 public java.lang.Thread.State getState() { in getState() 486 public static enum State { enum in Thread 494 private State() { in State() method in Thread.State
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 1314 if (getState() == Thread.State.TERMINATED) { in getThreadGroup() 1928 public enum State { enum in Thread 2001 public State getState() { in getState() 2007 return State.values()[nativeGetStatus(started)]; in getState()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | VM.java | 123 public static java.lang.Thread.State toThreadState(int threadStatus) { in toThreadState()
|
/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() 148 public static enum State { enum in Thread
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectStreamClassTest.java | 172 .lookup(Thread.State.class); in test_specialTypes()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 954 Thread.State state = Thread.currentThread().getState(); in test_getState() 956 assertEquals(Thread.State.RUNNABLE, state); in test_getState()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinPool.java | 1339 Thread wt; Thread.State s; in isApparentlyUnblocked() 1342 (s = wt.getState()) != Thread.State.BLOCKED && in isApparentlyUnblocked() 1343 s != Thread.State.WAITING && in isApparentlyUnblocked() 1344 s != Thread.State.TIMED_WAITING); in isApparentlyUnblocked()
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | default.cnf | 151 stateOrProvinceName = State or Province Name (full name)
|
/libcore/ |
D | openjdk_java_files.bp | 1682 "ojluni/src/main/java/sun/security/provider/certpath/State.java",
|