Lines Matching refs:path_

2049             ds.path_ = ds.GetPath(".zip");  in run_main()
2050 MYLOGD("Creating initial .zip file (%s)\n", ds.path_.c_str()); in run_main()
2051 create_parent_dirs(ds.path_.c_str()); in run_main()
2052 ds.zip_file.reset(fopen(ds.path_.c_str(), "wb")); in run_main()
2054 MYLOGE("fopen(%s, 'wb'): %s\n", ds.path_.c_str(), strerror(errno)); in run_main()
2077 dprintf(ds.control_socket_fd_, "BEGIN:%s\n", ds.path_.c_str()); in run_main()
2104 if (chown(ds.path_.c_str(), AID_SHELL, AID_SHELL)) { in run_main()
2105 MYLOGE("Unable to change ownership of zip file %s: %s\n", ds.path_.c_str(), in run_main()
2236 if (ds.path_ != new_path) { in run_main()
2237 MYLOGD("Renaming zip file from %s to %s\n", ds.path_.c_str(), new_path.c_str()); in run_main()
2238 if (rename(ds.path_.c_str(), new_path.c_str())) { in run_main()
2239 MYLOGE("rename(%s, %s): %s\n", ds.path_.c_str(), new_path.c_str(), in run_main()
2242 ds.path_ = new_path; in run_main()
2248 ds.path_ = ds.GetPath(".txt"); in run_main()
2249 MYLOGD("Generating .txt bugreport at %s from %s\n", ds.path_.c_str(), in run_main()
2251 if (rename(ds.tmp_path_.c_str(), ds.path_.c_str())) { in run_main()
2252 MYLOGE("rename(%s, %s): %s\n", ds.tmp_path_.c_str(), ds.path_.c_str(), in run_main()
2254 ds.path_.clear(); in run_main()
2264 dprintf(ds.control_socket_fd_, "OK:%s\n", ds.path_.c_str()); in run_main()
2279 if (!ds.path_.empty()) { in run_main()
2280 MYLOGI("Final bugreport path: %s\n", ds.path_.c_str()); in run_main()
2288 "--es", "android.intent.extra.BUGREPORT", ds.path_, in run_main()
2310 am_args.push_back(SHA256_file_hash(ds.path_)); in run_main()