Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java257 testRoot.getMaxPriority() == Thread.MIN_PRIORITY); in test_getMaxPriority()
407 int currentMax = testRoot.getMaxPriority(); in test_setMaxPriorityI()
409 passed = testRoot.getMaxPriority() == currentMax; in test_setMaxPriorityI()
412 + currentMax + " , after: " + testRoot.getMaxPriority(), in test_setMaxPriorityI()
417 currentMax = testRoot.getMaxPriority(); in test_setMaxPriorityI()
419 passed = testRoot.getMaxPriority() == Thread.MIN_PRIORITY; in test_setMaxPriorityI()
422 + currentMax + " , after: " + testRoot.getMaxPriority(), passed); in test_setMaxPriorityI()
432 final int TOTAL_DEPTH = testRoot.getMaxPriority() - Thread.MIN_PRIORITY in test_setMaxPriorityI()
448 current.setMaxPriority(current.getParent().getMaxPriority() - 1); in test_setMaxPriorityI()
451 maxPrio = current.getMaxPriority(); in test_setMaxPriorityI()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DThread.java1117 if (newPriority > g.getMaxPriority()) { in setPriority()
1118 newPriority = g.getMaxPriority(); in setPriority()
DThreadGroup.java187 public final int getMaxPriority() { in getMaxPriority() method in ThreadGroup