Searched refs:MAX_PRIORITY (Results 1 – 9 of 9) sorted by relevance
160 if (priority > Thread.MAX_PRIORITY) { in testSetPriority_starting()188 for (int p = Thread.MIN_PRIORITY; p <= Thread.MAX_PRIORITY; p++) { in testSetPriority_joined()199 for (int priority = Thread.MIN_PRIORITY; priority <= Thread.MAX_PRIORITY; priority++) { in checkSetPriority_inBounds_succeeds()211 checkSetPriority_outOfBounds_fails(thread, Thread.MAX_PRIORITY + 1); in checkSetPriority_outOfBounds_fails()
84 this.maxPriority = Thread.MAX_PRIORITY; in ThreadGroup()277 if (pri > Thread.MAX_PRIORITY) { in setMaxPriority()278 pri = Thread.MAX_PRIORITY; in setMaxPriority()
311 public final static int MAX_PRIORITY = 10; field in Thread1235 if (newPriority > MAX_PRIORITY || newPriority < MIN_PRIORITY) { in setPriority()
110 t.setPriority(Thread.MAX_PRIORITY); in newThread()
402 st.setPriority(Thread.MAX_PRIORITY); in test_getPriority()404 st.getPriority() == Thread.MAX_PRIORITY); in test_getPriority()810 st.setPriority(Thread.MAX_PRIORITY); in test_setPriorityI()812 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()
154 public static final int MAX_PRIORITY = 10; // 0xa field in Thread
142 public static final int MAX_PRIORITY = 10; // 0xa field in Thread
348 public static final int MAX_PRIORITY = 10; // 0xa field in Thread