Searched refs:setMaxPriority (Results 1 - 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DThreadGroupTest.java250 testRoot.setMaxPriority(Thread.MIN_PRIORITY);
398 // Test for method void java.lang.ThreadGroup.setMaxPriority(int)
408 testRoot.setMaxPriority(Thread.MAX_PRIORITY + 1);
411 "setMaxPriority: Any value higher than the current one is ignored. Before: "
418 testRoot.setMaxPriority(Thread.MIN_PRIORITY - 1);
421 "setMaxPriority: Any value smaller than MIN_PRIORITY is adjusted to MIN_PRIORITY. Before: "
448 current.setMaxPriority(current.getParent().getMaxPriority() - 1);
461 current.setMaxPriority(maxPrio - 1);
480 testRoot.setMaxPriority(Thread.MAX_PRIORITY);
/libcore/libart/src/main/java/java/lang/
H A DThreadGroup.java100 this.setMaxPriority(parent.getMaxPriority());
381 * @see #setMaxPriority
580 public final void setMaxPriority(int newMax) { method in class:ThreadGroup
590 group.setMaxPriority(newMax);

Completed in 320 milliseconds