Searched refs:getPriority (Results 1 – 10 of 10) sorted by relevance
181 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()
560 this.priority = parent.getPriority(); in Thread()1355 public final int getPriority() { in getPriority() method in Thread1683 return "Thread[" + getName() + "," + getPriority() + "," + in toString()1686 return "Thread[" + getName() + "," + getPriority() + "," + in toString()
95 public final int getPriority() { throw new RuntimeException("Stub!"); } in getPriority() method in Thread
315 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testDefaultThreadFactory()353 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testPrivilegedThreadFactory()
338 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testDefaultThreadFactory()375 assertTrue(current.getPriority() <= Thread.NORM_PRIORITY); in testPrivilegedThreadFactory()
92 public final int getPriority() { throw new RuntimeException("Stub!"); } in getPriority() method in Thread
405 st.getPriority() == Thread.MAX_PRIORITY); in test_getPriority()813 st.getPriority() == Thread.MAX_PRIORITY); in test_setPriorityI()
186 public final int getPriority() { in getPriority() method in Thread
615 if (t.getPriority() != Thread.NORM_PRIORITY)
4384 method public final int getPriority();