Home
last modified time | relevance | path

Searched refs:setMaxPriority (Results 1 – 2 of 2) 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()
408 testRoot.setMaxPriority(Thread.MAX_PRIORITY + 1); in test_setMaxPriorityI()
418 testRoot.setMaxPriority(Thread.MIN_PRIORITY - 1); in test_setMaxPriorityI()
448 current.setMaxPriority(current.getParent().getMaxPriority() - 1); in test_setMaxPriorityI()
461 current.setMaxPriority(maxPrio - 1); in test_setMaxPriorityI()
480 testRoot.setMaxPriority(Thread.MAX_PRIORITY); in test_setMaxPriorityI()
/libcore/ojluni/src/main/java/java/lang/
DThreadGroup.java266 public final void setMaxPriority(int pri) { in setMaxPriority() method in ThreadGroup
291 groupsSnapshot[i].setMaxPriority(pri); in setMaxPriority()