Home
last modified time | relevance | path

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

/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java234 File logDir = new File(Environment.getLegacyExternalStorageDirectory(), in ProtoStatusReporter() local
236 if (!logDir.exists() && !logDir.mkdirs()) { in ProtoStatusReporter()
238 logDir.getAbsolutePath()); in ProtoStatusReporter()
245 mLog = new File(logDir, fileName); in ProtoStatusReporter()
248 File logDir = mLog.getParentFile(); in ProtoStatusReporter() local
249 if (!logDir.exists() && !logDir.mkdirs()) { in ProtoStatusReporter()
251 logDir.getAbsolutePath()); in ProtoStatusReporter()
/frameworks/base/services/core/java/com/android/server/criticalevents/
DCriticalEventLog.java91 CriticalEventLog(String logDir, int capacity, int windowMs, long minTimeBetweenSavesMs, in CriticalEventLog() argument
93 mLogFile = Paths.get(logDir, FILENAME).toFile(); in CriticalEventLog()
380 File logDir = mLogFile.getParentFile(); in saveLogToFileNow() local
381 if (!logDir.exists()) { in saveLogToFileNow()
382 if (!logDir.mkdir()) { in saveLogToFileNow()
383 Slog.e(TAG, "Error creating log directory: " + logDir.getPath()); in saveLogToFileNow()
/frameworks/base/services/tests/servicestests/src/com/android/server/criticalevents/
DCriticalEventLogTest.java777 TestableCriticalEventLog(String logDir, ILogLoader logLoader) { in TestableCriticalEventLog() argument
778 super(logDir, in TestableCriticalEventLog()