Home
last modified time | relevance | path

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

/system/core/crash_reporter/
Duser_collector.cc270 const FilePath &core_path) const { in ValidateCoreFile()
271 int fd = HANDLE_EINTR(open(core_path.value().c_str(), O_RDONLY)); in ValidateCoreFile()
273 PLOG(ERROR) << "Could not open core file " << core_path.value(); in ValidateCoreFile()
352 bool UserCollector::CopyStdinToCoreFile(const FilePath &core_path) { in CopyStdinToCoreFile() argument
355 if (base::CopyFile(stdin_path, core_path)) { in CopyStdinToCoreFile()
361 base::DeleteFile(core_path, false); in CopyStdinToCoreFile()
365 bool UserCollector::RunCoreToMinidump(const FilePath &core_path, in RunCoreToMinidump() argument
373 core2md.AddArg(core_path.value()); in RunCoreToMinidump()
404 const FilePath &core_path, in ConvertCoreToMinidump() argument
449 if (!CopyStdinToCoreFile(core_path)) { in ConvertCoreToMinidump()
[all …]
Duser_collector.h147 ErrorType ValidateCoreFile(const base::FilePath &core_path) const;
156 bool CopyStdinToCoreFile(const base::FilePath &core_path);
157 bool RunCoreToMinidump(const base::FilePath &core_path,
163 const base::FilePath &core_path,
Dudev_collector.cc181 FilePath core_path = GetCrashPath(crash_directory, dump_basename, "devcore"); in AppendDevCoredump() local
186 if (!base::CopyFile(coredump_path, core_path)) { in AppendDevCoredump()
188 << coredump_path.value() << " to " << core_path.value(); in AppendDevCoredump()
200 WriteCrashMetaData(meta_path, coredump_prefix, core_path.value()); in AppendDevCoredump()