Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp178 dprintf(fd, "log_path: %s\n", ds_->log_path_.c_str()); in dump()
Ddumpstate.cpp2165 if (!ds.AddZipEntry("dumpstate_log.txt", ds.log_path_.c_str())) { in FinishZipFile()
2171 if (!redirect_to_existing_file(stderr, const_cast<char*>(ds.log_path_.c_str()))) { in FinishZipFile()
2253 ds.log_path_ = ds.GetPath("-dumpstate_log-" + std::to_string(ds.pid_) + ".txt"); in PrepareToWriteToFile()
2265 destination.c_str(), ds.base_name_.c_str(), ds.name_.c_str(), ds.log_path_.c_str(), in PrepareToWriteToFile()
2308 ds.log_path_.c_str()); in FinalizeFile()
2515 android::os::UnlinkAndLogOnError(log_path_); in Cancel()
2681 if (!redirect_to_file(stderr, const_cast<char*>(log_path_.c_str()))) { in RunInternal()
2684 if (chown(log_path_.c_str(), AID_SHELL, AID_SHELL)) { in RunInternal()
2685 MYLOGE("Unable to change ownership of dumpstate log file %s: %s\n", log_path_.c_str(), in RunInternal()
Ddumpstate.h470 std::string log_path_; variable