Searched refs:log_path (Results 1 - 4 of 4) sorted by relevance
/system/bt/hci/src/ |
H A D | btsnoop.c | 163 const char *log_path = stack_config->get_btsnoop_log_path(); local 168 snprintf(last_log_path, PATH_MAX, "%s.%" PRIu64, log_path, 170 if (!rename(log_path, last_log_path) && errno != ENOENT) 171 LOG_ERROR(LOG_TAG, "%s unable to rename '%s' to '%s': %s", __func__, log_path, last_log_path, strerror(errno)); 174 logfile_fd = open(log_path, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH); 176 LOG_ERROR(LOG_TAG, "%s unable to open '%s': %s", __func__, log_path, strerror(errno));
|
/system/update_engine/ |
H A D | main.cc | 41 void SetupLogSymlink(const string& symlink_path, const string& log_path) { argument 49 base::FilePath(log_path), 53 if (symlink(log_path.c_str(), symlink_path.c_str()) == -1) { 55 << " pointing at " << log_path; local
|
/system/core/crash_reporter/ |
H A D | udev_collector.cc | 182 FilePath log_path = GetCrashPath(crash_directory, dump_basename, "log"); local 195 bool result = GetLogContents(log_config_path_, udev_log_name, log_path); 197 AddCrashMetaUploadFile("logs", log_path.value());
|
H A D | user_collector.cc | 202 FilePath log_path = GetCrashPath(crash_path, dump_basename, "log"); local 207 if (WriteNewFile(log_path, error_log.data(), error_log.length()) < 0) { 208 LOG(ERROR) << "Error writing new file " << log_path.value(); 211 WriteCrashMetaData(meta_path, exec, log_path.value()); 503 FilePath log_path = GetCrashPath(crash_path, dump_basename, "log"); local 505 if (GetLogContents(FilePath(log_config_path_), exec, log_path)) 506 AddCrashMetaData("log", log_path.value());
|
Completed in 72 milliseconds