Home
last modified time | relevance | path

Searched refs:MIN_PRIORITY (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java250 testRoot.setMaxPriority(Thread.MIN_PRIORITY); in test_getMaxPriority()
257 testRoot.getMaxPriority() == Thread.MIN_PRIORITY); in test_getMaxPriority()
418 testRoot.setMaxPriority(Thread.MIN_PRIORITY - 1); in test_setMaxPriorityI()
419 passed = testRoot.getMaxPriority() == Thread.MIN_PRIORITY; in test_setMaxPriorityI()
432 final int TOTAL_DEPTH = testRoot.getMaxPriority() - Thread.MIN_PRIORITY in test_setMaxPriorityI()
/libcore/ojluni/src/main/java/java/lang/
DThreadGroup.java275 if (pri < Thread.MIN_PRIORITY) { in setMaxPriority()
276 pri = Thread.MIN_PRIORITY; in setMaxPriority()
DThread.java258 public final static int MIN_PRIORITY = 1; field in Thread
1113 if (newPriority > MAX_PRIORITY || newPriority < MIN_PRIORITY) { in setPriority()