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.java64 static void log(Context context, @NonNull File dumpDir) { in log() argument
66 dump(dumpDir, MAX_DUMP_TIME); in log()
68 wipe(dumpDir); in log()
79 static void dump(@NonNull File dumpDir, @DurationMillisLong long maxWaitTime) { in dump() argument
85 dumpLogsLocked(dumpDir, buffer); in dump()
88 dumpServiceLocked(dumpDir, service); in dump()
106 private static void wipe(@NonNull File dumpDir) { in wipe() argument
109 for (File file : dumpDir.listFiles()) { in wipe()
116 final File dumpDir = new File(Environment.getDataMiscDirectory(), PREREBOOT_DIR); in getDumpDir() local
117 if (!dumpDir.exists() || !dumpDir.isDirectory()) { in getDumpDir()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DDumpTruck.java73 final File dumpDir = new File(context.getCacheDir(), FILEPROVIDER_PATH); in captureHeaps() local
74 dumpDir.mkdirs(); in captureHeaps()
99 new File(dumpDir, String.format("heap-%d.ahprof", pid)).getPath(); in captureHeaps()
115 new File(dumpDir, String.format("hprof-%d.zip", System.currentTimeMillis())) in captureHeaps()