Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java183 int priority = thread.getPriority() + 1; in setPriority_starting()
189 assertEquals(priority, thread.getPriority()); in setPriority_starting()
213 int originalPriority = joinedThread.getPriority(); in setPriority_joined()
217 assertEquals(originalPriority, joinedThread.getPriority()); in setPriority_joined()
223 int oldPriority = thread.getPriority(); in checkSetPriority_inBounds_succeeds()
227 assertEquals(priority, thread.getPriority()); in checkSetPriority_inBounds_succeeds()
232 assertEquals(oldPriority, thread.getPriority()); in checkSetPriority_inBounds_succeeds()
243 int oldPriority = thread.getPriority(); in checkSetPriority_outOfBounds_fails()
249 assertEquals(oldPriority, thread.getPriority()); // priority shouldn't have changed in checkSetPriority_outOfBounds_fails()
/libcore/ojluni/src/main/java/java/lang/
DThread.java561 this.priority = parent.getPriority(); in Thread()
1466 public final int getPriority() { in getPriority() method in Thread
1802 return "Thread[" + getName() + "," + getPriority() + "," + in toString()
1805 return "Thread[" + getName() + "," + getPriority() + "," + in toString()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java315 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testDefaultThreadFactory()
353 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testPrivilegedThreadFactory()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java95 public final int getPriority() { throw new RuntimeException("Stub!"); } in getPriority() method in Thread
/libcore/ojluni/annotations/flagged_api/java/lang/
DThread.annotated.java83 public final int getPriority() { throw new RuntimeException("Stub!"); } in getPriority() method in Thread
/libcore/ojluni/src/test/java/util/concurrent/tck/
DExecutorsTest.java371 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testDefaultThreadFactory()
410 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testPrivilegedThreadFactory()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java405 st.getPriority() == Thread.MAX_PRIORITY); in test_getPriority()
813 st.getPriority() == Thread.MAX_PRIORITY); in test_setPriorityI()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java92 public final int getPriority() { throw new RuntimeException("Stub!"); } in getPriority() method in Thread
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java186 public final int getPriority() { in getPriority() method in Thread
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java652 if (t.getPriority() != Thread.NORM_PRIORITY)
/libcore/api/
Dcurrent.txt4516 method public final int getPriority();