Home
last modified time | relevance | path

Searched refs:logFile (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/logging/
DFileLog.java183 File logFile = new File(sLogsDirectory, fileName); in handleMessage() local
184 if (logFile.exists()) { in handleMessage()
186 modifiedTime.setTimeInMillis(logFile.lastModified()); in handleMessage()
192 && logFile.length() < MAX_LOG_FILE_SIZE; in handleMessage()
194 mCurrentWriter = new PrintWriter(new FileWriter(logFile, append)); in handleMessage()
233 File logFile = new File(sLogsDirectory, fileName);
234 if (logFile.exists()) {
238 in = new BufferedReader(new FileReader(logFile));
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/
DLogArchiver.java39 File logFile = device.pullFile(remotePath); in archiveLogThenDelete() local
40 if (logFile != null) { in archiveLogThenDelete()
41 logs.addTestLog(localName, LogDataType.TEXT, new FileInputStreamSource(logFile)); in archiveLogThenDelete()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DIperfClient.java47 String serverPort, String bandWidthInMbps, String logFile) { in IperfClient() argument
72 if (logFile != null && logFile.length() > 0) { in IperfClient()
73 mLogFile = new File(logFile); in IperfClient()
/packages/apps/Messaging/src/com/android/messaging/util/
DLogSaver.java232 final File logFile = new File(logFilePath); in dump() local
233 if (!logFile.exists()) { in dump()
236 final BufferedReader reader = new BufferedReader(new FileReader(logFile)); in dump()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/v33/
DPermissionDecisionStorageImplTest.kt89 val logFile = File(filesDir, Constants.LOGS_TO_DUMP_FILE) in <lambda>() constant
90 logFile.delete() in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/
DPersistedStoragePackageUninstalledReceiverTest.kt95 val logFile = File(filesDir, Constants.LOGS_TO_DUMP_FILE) in finish() constant
96 logFile.delete() in finish()
DPermissionEventCleanupJobServiceTest.kt84 val logFile = File(filesDir, Constants.LOGS_TO_DUMP_FILE) in cleanup() constant
85 logFile.delete() in cleanup()
DPermissionChangeStorageImplTest.kt88 val logFile = File(filesDir, Constants.LOGS_TO_DUMP_FILE) in <lambda>() constant
89 logFile.delete() in <lambda>()
DPermissionStorageTimeChangeReceiverTest.kt109 val logFile = File(filesDir, Constants.LOGS_TO_DUMP_FILE) in finish() constant
110 logFile.delete() in finish()
DBasePermissionEventStorageTest.kt101 val logFile = File(filesDir, Constants.LOGS_TO_DUMP_FILE) in <lambda>() constant
102 logFile.delete() in <lambda>()
/packages/apps/Nfc/src/com/android/nfc/
DNfcEventLog.java57 AtomicFile logFile) { in NfcEventLog() argument
63 mLogFile = logFile; in NfcEventLog()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/
DHibernationControllerTest.kt101 val logFile = File(filesDir, Constants.LOGS_TO_DUMP_FILE) in finish() constant
102 logFile.delete() in finish()
DHibernationPolicyTest.kt104 val logFile = File(filesDir, Constants.LOGS_TO_DUMP_FILE) in cleanup() constant
105 logFile.delete() in cleanup()