Home
last modified time | relevance | path

Searched refs:MAX_PRIORITY (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java160 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()
/libcore/ojluni/src/main/java/java/lang/
DThreadGroup.java84 this.maxPriority = Thread.MAX_PRIORITY; in ThreadGroup()
277 if (pri > Thread.MAX_PRIORITY) { in setMaxPriority()
278 pri = Thread.MAX_PRIORITY; in setMaxPriority()
DThread.java311 public final static int MAX_PRIORITY = 10; field in Thread
1235 if (newPriority > MAX_PRIORITY || newPriority < MIN_PRIORITY) { in setPriority()
DUNIXProcess.java110 t.setPriority(Thread.MAX_PRIORITY); in newThread()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java402 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()
DThreadGroupTest.java409 testRoot.setMaxPriority(Thread.MAX_PRIORITY + 1); in test_setMaxPriorityI()
481 testRoot.setMaxPriority(Thread.MAX_PRIORITY); in test_setMaxPriorityI()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java154 public static final int MAX_PRIORITY = 10; // 0xa field in Thread
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java142 public static final int MAX_PRIORITY = 10; // 0xa field in Thread
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java348 public static final int MAX_PRIORITY = 10; // 0xa field in Thread