Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DPreRebootLogger.java59 static void log(Context context, @NonNull File dumpDir) { in log() argument
63 dump(dumpDir); in log()
66 wipe(dumpDir); in log()
70 private static void dump(@NonNull File dumpDir) { in dump() argument
73 dumpLogsLocked(dumpDir, buffer); in dump()
76 dumpServiceLocked(dumpDir, service); in dump()
81 private static void wipe(@NonNull File dumpDir) { in wipe() argument
83 for (File file : dumpDir.listFiles()) { in wipe()
90 final File dumpDir = new File(Environment.getDataMiscDirectory(), PREREBOOT_DIR); in getDumpDir() local
91 if (!dumpDir.exists() || !dumpDir.isDirectory()) { in getDumpDir()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DDumpTruck.java72 final File dumpDir = new File(context.getCacheDir(), FILEPROVIDER_PATH); in captureHeaps() local
73 dumpDir.mkdirs(); in captureHeaps()
100 new File(dumpDir, String.format("heap-%d.ahprof", pid)).getPath(); in captureHeaps()
116 new File(dumpDir, String.format("hprof-%d.zip", System.currentTimeMillis())) in captureHeaps()