Searched defs:tmp_path (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp1438 std::string tmp_path; local
1483 tmp_path = bugreport_dir + "/" + base_name + "-" + suffix + ".tmp";
1494 log_path.c_str(), tmp_path.c_str(), screenshot_path.c_str());
1575 redirect_to_file(stdout, const_cast<char*>(tmp_path.c_str()));
1576 if (chown(tmp_path.c_str(), AID_SHELL, AID_SHELL)) {
1578 tmp_path.c_str(), strerror(errno));
1682 if (!finish_zip_file(entry_name, tmp_path, now)) {
1702 MYLOGD("Generating .txt bugreport at %s from %s\n", path.c_str(), tmp_path.c_str());
1703 if (rename(tmp_path.c_str(), path.c_str())) {
1704 MYLOGE("rename(%s, %s): %s\n", tmp_path
[all...]

Completed in 234 milliseconds