Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp2144 ds.screenshot_path_ = ds.GetPath(".png"); in PrepareToWriteToFile()
2160 ds.tmp_path_.c_str(), ds.screenshot_path_.c_str()); in PrepareToWriteToFile()
2197 if (!ds.screenshot_path_.empty()) { in FinalizeFile()
2199 if (rename(ds.screenshot_path_.c_str(), new_screenshot_path.c_str())) { in FinalizeFile()
2200 MYLOGE("rename(%s, %s): %s\n", ds.screenshot_path_.c_str(), in FinalizeFile()
2203 ds.screenshot_path_ = new_screenshot_path; in FinalizeFile()
2264 if (ds.options_->do_fb && !android::os::IsFileEmpty(ds.screenshot_path_)) { in SendBugreportFinishedBroadcast()
2267 am_args.push_back(ds.screenshot_path_); in SendBugreportFinishedBroadcast()
2794 bool copy_succeeded = android::os::CopyFileToFd(screenshot_path_, in RunInternal()
2797 android::os::UnlinkAndLogOnError(screenshot_path_); in RunInternal()
[all …]
DDumpstateService.cpp210 dprintf(fd, "screenshot_path: %s\n", ds_->screenshot_path_.c_str()); in dump()
Ddumpstate.h444 std::string screenshot_path_; variable