Searched refs:getPriority (Results 1 – 8 of 8) sorted by relevance
159 int priority = thread.getPriority() + 1; in testSetPriority_starting()165 assertEquals(priority, thread.getPriority()); in testSetPriority_starting()187 int originalPriority = joinedThread.getPriority(); in testSetPriority_joined()191 assertEquals(originalPriority, joinedThread.getPriority()); in testSetPriority_joined()197 int oldPriority = thread.getPriority(); in checkSetPriority_inBounds_succeeds()201 assertEquals(priority, thread.getPriority()); in checkSetPriority_inBounds_succeeds()206 assertEquals(oldPriority, thread.getPriority()); in checkSetPriority_inBounds_succeeds()217 int oldPriority = thread.getPriority(); in checkSetPriority_outOfBounds_fails()223 assertEquals(oldPriority, thread.getPriority()); // priority shouldn't have changed in checkSetPriority_outOfBounds_fails()
529 this.priority = parent.getPriority(); in init()1271 public final int getPriority() { in getPriority() method in Thread1598 return "Thread[" + getName() + "," + getPriority() + "," + in toString()1601 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()
90 public final int getPriority() { throw new RuntimeException("Stub!"); } in getPriority() method in Thread
404 st.getPriority() == Thread.MAX_PRIORITY); in test_getPriority()812 st.getPriority() == Thread.MAX_PRIORITY); in test_setPriorityI()
572 if (t.getPriority() != Thread.NORM_PRIORITY)
186 public final int getPriority() { in getPriority() method in Thread