Home | History | Annotate | Download | only in dumpstate

Lines Matching full:screenshot_path

696 static void dumpstate(const std::string& screenshot_path, const std::string& version) {
733 if (!screenshot_path.empty()) {
735 take_screenshot(screenshot_path);
736 MYLOGI("wrote screenshot: %s\n", screenshot_path.c_str());
1212 std::string screenshot_path;
1242 // screenshot_path = GetPath(".png");
1243 screenshot_path = bugreport_dir + "/" + base_name + "-" + suffix + ".png";
1256 log_path.c_str(), tmp_path.c_str(), screenshot_path.c_str());
1308 if (screenshot_path.empty()) {
1313 take_screenshot(screenshot_path);
1314 MYLOGI("wrote screenshot: %s\n", screenshot_path.c_str());
1315 if (chown(screenshot_path.c_str(), AID_SHELL, AID_SHELL)) {
1317 screenshot_path.c_str(), strerror(errno));
1378 dumpstate(do_early_screenshot ? "": screenshot_path, version);
1406 if (!screenshot_path.empty()) {
1409 if (rename(screenshot_path.c_str(), new_screenshot_path.c_str())) {
1410 MYLOGE("rename(%s, %s): %s\n", screenshot_path.c_str(),
1413 screenshot_path = new_screenshot_path;
1483 am_args.push_back(screenshot_path);