Searched refs:logDir (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Instrument.java | 234 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/ |
D | CriticalEventLog.java | 91 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/ |
D | CriticalEventLogTest.java | 777 TestableCriticalEventLog(String logDir, ILogLoader logLoader) { in TestableCriticalEventLog() argument 778 super(logDir, in TestableCriticalEventLog()
|