Searched refs:crash_directory (Results 1 – 4 of 4) sorted by relevance
/system/core/crash_reporter/ |
D | udev_collector.cc | 74 FilePath crash_directory; in HandleCrash() local 75 if (!GetCreatedCrashDirectoryByEuid(0, &crash_directory, nullptr)) { in HandleCrash() 87 return ProcessDevCoredump(crash_directory, instance_number); in HandleCrash() 90 return ProcessUdevCrashLogs(crash_directory, in HandleCrash() 96 bool UdevCollector::ProcessUdevCrashLogs(const FilePath& crash_directory, in ProcessUdevCrashLogs() argument 113 FilePath crash_path = GetCrashPath(crash_directory, log_file_name, "log"); in ProcessUdevCrashLogs() 136 WriteCrashMetaData(GetCrashPath(crash_directory, log_file_name, "meta"), in ProcessUdevCrashLogs() 141 bool UdevCollector::ProcessDevCoredump(const FilePath& crash_directory, in ProcessDevCoredump() argument 154 if (!AppendDevCoredump(crash_directory, coredump_path, instance_number)) { in ProcessDevCoredump() 164 bool UdevCollector::AppendDevCoredump(const FilePath& crash_directory, in AppendDevCoredump() argument [all …]
|
D | crash_collector.cc | 150 FilePath CrashCollector::GetCrashPath(const FilePath &crash_directory, in GetCrashPath() argument 153 return crash_directory.Append(StringPrintf("%s.%s", in GetCrashPath() 187 FilePath *crash_directory, in GetCreatedCrashDirectoryByEuid() argument 193 *crash_directory = forced_crash_directory_; in GetCreatedCrashDirectoryByEuid() 200 *crash_directory = in GetCreatedCrashDirectoryByEuid() 205 if (!base::PathExists(*crash_directory)) { in GetCreatedCrashDirectoryByEuid() 209 if (mkdir(crash_directory->value().c_str(), directory_mode) < 0 || in GetCreatedCrashDirectoryByEuid() 210 chown(crash_directory->value().c_str(), in GetCreatedCrashDirectoryByEuid() 219 if (!base::PathExists(*crash_directory)) { in GetCreatedCrashDirectoryByEuid() 221 << crash_directory->value().c_str(); in GetCreatedCrashDirectoryByEuid() [all …]
|
D | udev_collector.h | 49 bool ProcessUdevCrashLogs(const base::FilePath& crash_directory, 56 bool ProcessDevCoredump(const base::FilePath& crash_directory, 60 bool AppendDevCoredump(const base::FilePath& crash_directory,
|
D | crash_collector.h | 111 base::FilePath GetCrashPath(const base::FilePath &crash_directory, 123 bool CheckHasCapacity(const base::FilePath &crash_directory);
|