Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java258 testRoot.getMaxPriority() == Thread.MIN_PRIORITY); in test_getMaxPriority()
408 int currentMax = testRoot.getMaxPriority(); in test_setMaxPriorityI()
410 passed = testRoot.getMaxPriority() == currentMax; in test_setMaxPriorityI()
413 + currentMax + " , after: " + testRoot.getMaxPriority(), in test_setMaxPriorityI()
418 currentMax = testRoot.getMaxPriority(); in test_setMaxPriorityI()
420 passed = testRoot.getMaxPriority() == Thread.MIN_PRIORITY; in test_setMaxPriorityI()
423 + currentMax + " , after: " + testRoot.getMaxPriority(), passed); in test_setMaxPriorityI()
433 final int TOTAL_DEPTH = testRoot.getMaxPriority() - Thread.MIN_PRIORITY in test_setMaxPriorityI()
449 current.setMaxPriority(current.getParent().getMaxPriority() - 1); in test_setMaxPriorityI()
452 maxPrio = current.getMaxPriority(); in test_setMaxPriorityI()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThreadGroup.java63 public final int getMaxPriority() { in getMaxPriority() method in ThreadGroup
/libcore/ojluni/src/main/java/java/lang/
DThread.java1236 if (newPriority > g.getMaxPriority()) { in setPriority()
1237 newPriority = g.getMaxPriority(); in setPriority()
DThreadGroup.java187 public final int getMaxPriority() { in getMaxPriority() method in ThreadGroup