Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java226 private static final int[] NICE_VALUES = { field in RuntimeInit.RuntimeThreadPrioritySetter
242 if (NICE_VALUES.length != (1 + Thread.MAX_PRIORITY - Thread.MIN_PRIORITY)) { in setPriority()
243 throw new AssertionError("Unexpected NICE_VALUES.length=" + NICE_VALUES.length); in setPriority()
249 Process.setThreadPriority(nativeTid, NICE_VALUES[priority - Thread.MIN_PRIORITY]); in setPriority()