Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java70 int[] nativePids = Process.getPidsForCommands(MEDIA_PROCESS_NAMES); in SchedulingPolicyService() local
71 if (nativePids != null && nativePids.length == 1) { in SchedulingPolicyService()
72 mBoostedPid = nativePids[0]; in SchedulingPolicyService()
73 disableCpusetBoost(nativePids[0]); in SchedulingPolicyService()
130 int[] nativePids = Process.getPidsForCommands(MEDIA_PROCESS_NAMES); in requestCpusetBoost() local
131 if (nativePids == null || nativePids.length != 1) { in requestCpusetBoost()
138 return enableCpusetBoost(nativePids[0], client); in requestCpusetBoost()
140 return disableCpusetBoost(nativePids[0]); in requestCpusetBoost()
/frameworks/base/services/core/java/com/android/server/wm/
DAnrController.java214 ArrayList<Integer> nativePids = null; in preDumpIfLockTooSlow() local
219 nativePids = new ArrayList<>(1); in preDumpIfLockTooSlow()
221 nativePids.add(pid); in preDumpIfLockTooSlow()
226 null /* processCpuTracker */, null /* lastPids */, nativePids, in preDumpIfLockTooSlow()
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java538 int[] nativePids = Process.getPidsForCommands(Watchdog.NATIVE_STACKS_OF_INTEREST); in getInterestingNativePids() local
539 if (nativePids != null) { in getInterestingNativePids()
540 pids.ensureCapacity(pids.size() + nativePids.length); in getInterestingNativePids()
541 for (int i : nativePids) { in getInterestingNativePids()
741 ArrayList<Integer> nativePids = new ArrayList<>(); in dumpAndKillProcess() local
746 nativePids.add(pid); in dumpAndKillProcess()
752 nativePids.addAll(getInterestingNativePids()); in dumpAndKillProcess()
754 ActivityManagerService.dumpStackTraces(javaPids, null, null, nativePids, null); in dumpAndKillProcess()
/frameworks/base/services/core/java/com/android/server/am/
DProcessErrorStateRecord.java372 ArrayList<Integer> nativePids = null; in appNotResponding() local
375 nativePids = new ArrayList<>(pids.length); in appNotResponding()
377 nativePids.add(i); in appNotResponding()
388 nativePids, tracesFileException, offsets, annotation); in appNotResponding()
DActivityManagerService.java3159 ArrayList<Integer> nativePids, StringWriter logExceptionCreatingFile) { in dumpStackTraces() argument
3160 return dumpStackTraces(firstPids, processCpuTracker, lastPids, nativePids, in dumpStackTraces()
3174 ArrayList<Integer> nativePids, StringWriter logExceptionCreatingFile, in dumpStackTraces() argument
3176 return dumpStackTraces(firstPids, processCpuTracker, lastPids, nativePids, in dumpStackTraces()
3186 ArrayList<Integer> nativePids, StringWriter logExceptionCreatingFile, in dumpStackTraces() argument
3190 Slog.i(TAG, "dumpStackTraces pids=" + lastPids + " nativepids=" + nativePids); in dumpStackTraces()
3249 tracesFile.getAbsolutePath(), firstPids, nativePids, extraPids); in dumpStackTraces()
3344 ArrayList<Integer> nativePids, ArrayList<Integer> extraPids) { in dumpStackTraces() argument
3395 if (nativePids != null) { in dumpStackTraces()
3396 for (int pid : nativePids) { in dumpStackTraces()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java583 int[] nativePids = Process.getPidsForCommands(NATIVE_STACKS_OF_INTEREST); in getInterestingNativePids() local
584 if (nativePids != null) { in getInterestingNativePids()
585 for (int i : nativePids) { in getInterestingNativePids()