Home
last modified time | relevance | path

Searched refs:snooz_log_path_ (Results 1 – 2 of 2) sorted by relevance

/system/bt/gd/hal/
Dsnoop_logger.cc177 snooz_log_path_(std::move(snooz_log_path)), in SnoopLogger()
188 delete_btsnoop_files(snooz_log_path_); in SnoopLogger()
196 delete_btsnoop_files(snooz_log_path_); in SnoopLogger()
324 auto last_file_path = get_last_log_path(snooz_log_path_); in DumpSnoozLogToFile()
326 if (os::FileExists(snooz_log_path_)) { in DumpSnoozLogToFile()
327 if (!os::RenameFile(snooz_log_path_, last_file_path)) { in DumpSnoozLogToFile()
330 snooz_log_path_.c_str(), in DumpSnoozLogToFile()
334 LOG_INFO("Previous log file \"%s\" does not exist, skip renaming", snooz_log_path_.c_str()); in DumpSnoozLogToFile()
339 std::ofstream btsnooz_ostream(snooz_log_path_, std::ios::binary | std::ios::out); in DumpSnoozLogToFile()
341 …LOG_ALWAYS_FATAL("Unable to open snoop log at \"%s\", error: \"%s\"", snooz_log_path_.c_str(), str… in DumpSnoozLogToFile()
[all …]
Dsnoop_logger.h106 std::string snooz_log_path_; variable