Searched refs:MAX_PRIORITY (Results 1 – 14 of 14) sorted by relevance
184 if (priority > Thread.MAX_PRIORITY) { in setPriority_starting()214 for (int p = Thread.MIN_PRIORITY; p <= Thread.MAX_PRIORITY; p++) { in setPriority_joined()225 for (int priority = Thread.MIN_PRIORITY; priority <= Thread.MAX_PRIORITY; priority++) { in checkSetPriority_inBounds_succeeds()237 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()
110 t.setPriority(Thread.MAX_PRIORITY); in newThread()
308 public static final int MAX_PRIORITY = 10; field in Thread1441 if (newPriority > MAX_PRIORITY || newPriority < MIN_PRIORITY) { in setPriority()
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
155 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
137 Thread.currentThread().setPriority0(Thread.MAX_PRIORITY); in run()
4545 field public static final int MAX_PRIORITY = 10; // 0xa