Searched refs:getMaxPriority (Results 1 - 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DThreadGroupTest.java243 // Test for method int java.lang.ThreadGroup.getMaxPriority()
257 testRoot.getMaxPriority() == Thread.MIN_PRIORITY);
407 int currentMax = testRoot.getMaxPriority();
409 passed = testRoot.getMaxPriority() == currentMax;
412 + currentMax + " , after: " + testRoot.getMaxPriority(),
417 currentMax = testRoot.getMaxPriority();
419 passed = testRoot.getMaxPriority() == Thread.MIN_PRIORITY;
422 + currentMax + " , after: " + testRoot.getMaxPriority(), passed);
432 final int TOTAL_DEPTH = testRoot.getMaxPriority() - Thread.MIN_PRIORITY
448 current.setMaxPriority(current.getParent().getMaxPriority()
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DThread.java1108 * @see ThreadGroup#getMaxPriority()
1117 if (newPriority > g.getMaxPriority()) {
1118 newPriority = g.getMaxPriority();
H A DThreadGroup.java187 public final int getMaxPriority() { method in class:ThreadGroup
259 * @see #getMaxPriority

Completed in 24 milliseconds