Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java1505 File tracesFile = ActivityManagerService.dumpStackTraces(firstPids, in appNotResponding() local
1522 if (tracesFile == null) { in appNotResponding()
1542 parentShortComponentName, parentPr, annotation, cpuInfo, tracesFile, null); in appNotResponding()
DActivityManagerService.java3822 File tracesFile = createAnrDumpFile(tracesDir); in dumpStackTraces() local
3823 if (tracesFile == null) { in dumpStackTraces()
3827 dumpStackTraces(tracesFile.getAbsolutePath(), firstPids, nativePids, extraPids); in dumpStackTraces()
3828 return tracesFile; in dumpStackTraces()
3915 public static void dumpStackTraces(String tracesFile, ArrayList<Integer> firstPids, in dumpStackTraces() argument
3918 Slog.i(TAG, "Dumping to " + tracesFile); in dumpStackTraces()
3932 final long timeTaken = dumpJavaTracesTombstoned(firstPids.get(i), tracesFile, in dumpStackTraces()
3956 pid, tracesFile, (int) (nativeDumpTimeoutMs / 1000)); in dumpStackTraces()
3977 final long timeTaken = dumpJavaTracesTombstoned(pid, tracesFile, remainingTime); in dumpStackTraces()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java5979 File tracesFile = null; in logAppTooSlow() local
5981 tracesFile = File.createTempFile("app_slow", null, tracesDir); in logAppTooSlow()
5991 FileOutputStream fos = new FileOutputStream(tracesFile); in logAppTooSlow()
5997 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in logAppTooSlow()
5999 Slog.w(TAG, "Unable to prepare slow app traces file: " + tracesFile, e); in logAppTooSlow()
6006 dumpStackTraces(tracesFile.getAbsolutePath(), firstPids, null, null); in logAppTooSlow()
6023 tracesFile.renameTo(curTracesFile); in logAppTooSlow()