Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DAsyncTask.java183 private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors(); field in AsyncTask
187 private static final int CORE_POOL_SIZE = Math.max(2, Math.min(CPU_COUNT - 1, 4));
188 private static final int MAXIMUM_POOL_SIZE = CPU_COUNT * 2 + 1;
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java79 private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors(); field in BasicBitmapDrawable
80 private static final int CORE_POOL_SIZE = CPU_COUNT + 1;
81 private static final int MAXIMUM_POOL_SIZE = CPU_COUNT * 2 + 1;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInflater.java724 private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors(); field in NotificationInflater.InflationExecutor
728 private static final int CORE_POOL_SIZE = Math.max(2, Math.min(CPU_COUNT - 1, 4));
729 private static final int MAXIMUM_POOL_SIZE = CPU_COUNT * 2 + 1;
/frameworks/base/core/jni/
Dandroid_util_Process.cpp424 int num_cpus = CPU_COUNT(&cpu_set); in android_os_Process_getExclusiveCores()