Searched refs:log_path (Results 1 – 7 of 7) sorted by relevance
/aosp12/system/update_engine/cros/ |
H A D | logging.cc | 39 void SetupLogSymlink(const string& symlink_path, const string& log_path) { in SetupLogSymlink() argument 47 base::FilePath(symlink_path), base::FilePath(log_path), nullptr); in SetupLogSymlink() 50 if (symlink(log_path.c_str(), symlink_path.c_str()) == -1) { in SetupLogSymlink() 52 << " pointing at " << log_path; in SetupLogSymlink()
|
/aosp12/system/bt/hci/src/ |
H A D | btsnoop.cc | 172 static std::string get_btsnoop_last_log_path(std::string log_path); 358 auto log_path = get_btsnoop_log_path(filtered); in delete_btsnoop_files() local 359 remove(log_path.c_str()); in delete_btsnoop_files() 360 remove(get_btsnoop_last_log_path(log_path).c_str()); in delete_btsnoop_files() 384 auto log_path = get_btsnoop_log_path(is_btsnoop_filtered); in open_next_snoop_file() local 385 auto last_log_path = get_btsnoop_last_log_path(log_path); in open_next_snoop_file() 387 if (rename(log_path.c_str(), last_log_path.c_str()) != 0 && errno != ENOENT) in open_next_snoop_file() 388 LOG(ERROR) << __func__ << ": unable to rename '" << log_path << "' to '" in open_next_snoop_file() 392 logfile_fd = open(log_path.c_str(), O_WRONLY | O_CREAT | O_TRUNC, in open_next_snoop_file() 396 LOG(ERROR) << __func__ << ": unable to open '" << log_path in open_next_snoop_file()
|
/aosp12/art/odrefresh/ |
H A D | odr_compilation_log_test.cc | 343 const char* log_path = scratch_file.GetFilename().c_str(); in TEST_F() local 345 OdrCompilationLog ocl(log_path); in TEST_F() 355 OdrCompilationLog ocl(log_path); in TEST_F() 366 OdrCompilationLog ocl(log_path); in TEST_F() 386 OdrCompilationLog ocl(log_path); in TEST_F() 395 OdrCompilationLog ocl(log_path); in TEST_F() 411 OdrCompilationLog ocl(log_path); in TEST_F() 420 OdrCompilationLog ocl(log_path); in TEST_F() 435 OdrCompilationLog ocl(log_path); in TEST_F() 444 OdrCompilationLog ocl(log_path); in TEST_F()
|
/aosp12/system/bt/gd/hal/ |
H A D | snoop_logger.cc | 91 void delete_btsnoop_files(const std::string& log_path) { in delete_btsnoop_files() argument 93 if (os::FileExists(log_path)) { in delete_btsnoop_files() 94 if (!os::RemoveFile(log_path)) { in delete_btsnoop_files() 95 LOG_ERROR("Failed to remove main log file at \"%s\"", log_path.c_str()); in delete_btsnoop_files() 98 LOG_INFO("Main log file does not exist at \"%s\"", log_path.c_str()); in delete_btsnoop_files() 100 auto last_log_path = get_last_log_path(log_path); in delete_btsnoop_files() 103 LOG_ERROR("Failed to remove last log file at \"%s\"", log_path.c_str()); in delete_btsnoop_files() 106 LOG_INFO("Last log file does not exist at \"%s\"", log_path.c_str()); in delete_btsnoop_files()
|
/aosp12/system/update_engine/aosp/ |
H A D | logging_android.cc | 84 string log_path = kLogsRoot + "/" + old_logs[i]; in DeleteOldLogs() local 85 if (unlink(log_path.c_str()) == -1) { in DeleteOldLogs() 86 PLOG(WARNING) << "Failed to unlink " << log_path; in DeleteOldLogs()
|
/aosp12/art/tools/jvmti-agents/ti-alloc-sample/ |
H A D | README.md | 19 > `sample_rate,stack_depth_limit,log_path` 25 * log_path is an absolute file path specifying where the log is to be written.
|
/aosp12/packages/modules/adb/ |
H A D | test_device.py | 497 log_path = "/data/local/tmp/adb_signal_test.log" 500 self.device.shell_nocheck(["echo", ">", log_path]) 507 """.format(path=log_path) 523 stdout, _ = self.device.shell(["cat", log_path])
|