Searched refs:MAX_PRIORITY (Results 1 – 13 of 13) sorted by relevance
182 if (priority > Thread.MAX_PRIORITY) { in setPriority_starting()212 for (int p = Thread.MIN_PRIORITY; p <= Thread.MAX_PRIORITY; p++) { in setPriority_joined()223 for (int priority = Thread.MIN_PRIORITY; priority <= Thread.MAX_PRIORITY; priority++) { in checkSetPriority_inBounds_succeeds()235 checkSetPriority_outOfBounds_fails(thread, Thread.MAX_PRIORITY + 1); in checkSetPriority_outOfBounds_fails()
83 this.maxPriority = Thread.MAX_PRIORITY; in ThreadGroup()275 if (pri > Thread.MAX_PRIORITY) { in setMaxPriority()276 pri = Thread.MAX_PRIORITY; in setMaxPriority()
307 public static final int MAX_PRIORITY = 10; field in Thread1330 if (newPriority > MAX_PRIORITY || newPriority < MIN_PRIORITY) { in setPriority()
110 t.setPriority(Thread.MAX_PRIORITY); in newThread()
403 st.setPriority(Thread.MAX_PRIORITY); in test_getPriority()405 st.getPriority() == Thread.MAX_PRIORITY); in test_getPriority()811 st.setPriority(Thread.MAX_PRIORITY); in test_setPriorityI()813 st.getPriority() == Thread.MAX_PRIORITY); in test_setPriorityI()
409 testRoot.setMaxPriority(Thread.MAX_PRIORITY + 1); in test_setMaxPriorityI()481 testRoot.setMaxPriority(Thread.MAX_PRIORITY); in test_setMaxPriorityI()
360 t.setPriority(Thread.MAX_PRIORITY - 2); in newThread()
223 tr.setPriority(Thread.MAX_PRIORITY); in raisePriority()
154 public static final int MAX_PRIORITY = 10; // 0xa field in Thread
144 public static final int MAX_PRIORITY = 10; // 0xa field in Thread
348 public static final int MAX_PRIORITY = 10; // 0xa field in Thread
136 Thread.currentThread().setPriority0(Thread.MAX_PRIORITY); in run()
4414 field public static final int MAX_PRIORITY = 10; // 0xa