Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java181 int priority = thread.getPriority() + 1; in setPriority_starting()
187 assertEquals(priority, thread.getPriority()); in setPriority_starting()
211 int originalPriority = joinedThread.getPriority(); in setPriority_joined()
215 assertEquals(originalPriority, joinedThread.getPriority()); in setPriority_joined()
221 int oldPriority = thread.getPriority(); in checkSetPriority_inBounds_succeeds()
225 assertEquals(priority, thread.getPriority()); in checkSetPriority_inBounds_succeeds()
230 assertEquals(oldPriority, thread.getPriority()); in checkSetPriority_inBounds_succeeds()
241 int oldPriority = thread.getPriority(); in checkSetPriority_outOfBounds_fails()
247 assertEquals(oldPriority, thread.getPriority()); // priority shouldn't have changed in checkSetPriority_outOfBounds_fails()
/libcore/ojluni/src/main/java/java/lang/
DThread.java560 this.priority = parent.getPriority(); in Thread()
1355 public final int getPriority() { in getPriority() method in Thread
1683 return "Thread[" + getName() + "," + getPriority() + "," + in toString()
1686 return "Thread[" + getName() + "," + getPriority() + "," + in toString()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java95 public final int getPriority() { throw new RuntimeException("Stub!"); } in getPriority() method in Thread
/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/src/test/java/util/concurrent/tck/
DExecutorsTest.java338 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testDefaultThreadFactory()
375 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testPrivilegedThreadFactory()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java92 public final int getPriority() { throw new RuntimeException("Stub!"); } in getPriority() method in Thread
/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/hiddenapi/java/lang/
DThread.java186 public final int getPriority() { in getPriority() method in Thread
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java615 if (t.getPriority() != Thread.NORM_PRIORITY)
/libcore/api/
Dcurrent.txt4384 method public final int getPriority();