Lines Matching refs:options_
710 PropertiesHelper::IsDryRun(), options_->args.c_str(), options_->extra_options.c_str()); in PrintHeader()
1388 if (ds.options_->do_fb && !ds.do_early_screenshot_) { in dumpstate()
2129 if (ds.options_->do_add_date) { in PrepareToWriteToFile()
2137 if (ds.options_->telephony_only) { in PrepareToWriteToFile()
2139 } else if (ds.options_->wifi_only) { in PrepareToWriteToFile()
2143 if (ds.options_->do_fb) { in PrepareToWriteToFile()
2149 std::string destination = ds.options_->bugreport_fd.get() != -1 in PrepareToWriteToFile()
2150 ? StringPrintf("[fd:%d]", ds.options_->bugreport_fd.get()) in PrepareToWriteToFile()
2162 if (ds.options_->do_zip_file) { in PrepareToWriteToFile()
2209 if (ds.options_->do_zip_file) { in FinalizeFile()
2236 if (ds.options_->use_control_socket) { in FinalizeFile()
2264 if (ds.options_->do_fb && !android::os::IsFileEmpty(ds.screenshot_path_)) { in SendBugreportFinishedBroadcast()
2269 if (!ds.options_->notification_title.empty()) { in SendBugreportFinishedBroadcast()
2272 am_args.push_back(ds.options_->notification_title); in SendBugreportFinishedBroadcast()
2273 if (!ds.options_->notification_description.empty()) { in SendBugreportFinishedBroadcast()
2276 am_args.push_back(ds.options_->notification_description); in SendBugreportFinishedBroadcast()
2279 if (ds.options_->is_remote_mode) { in SendBugreportFinishedBroadcast()
2515 options_ = std::move(options); in SetOptions()
2567 LogDumpOptions(*options_); in RunInternal()
2568 if (!options_->ValidateOptions()) { in RunInternal()
2599 if (options_->show_header_only) { in RunInternal()
2604 if (options_->bugreport_fd.get() != -1) { in RunInternal()
2611 bool is_redirecting = options_->OutputToFile(); in RunInternal()
2637 if (options_->do_start_service) { in RunInternal()
2649 MYLOGI("dumpstate info: id=%d, args='%s', extra_options= %s)\n", id_, options_->args.c_str(), in RunInternal()
2650 options_->extra_options.c_str()); in RunInternal()
2654 do_early_screenshot_ = options_->do_progress_updates; in RunInternal()
2658 if (options_->use_socket) { in RunInternal()
2664 if (options_->use_control_socket) { in RunInternal()
2670 options_->do_progress_updates = 1; in RunInternal()
2676 if (options_->do_progress_updates) { in RunInternal()
2677 if (options_->do_broadcast) { in RunInternal()
2689 if (options_->use_control_socket) { in RunInternal()
2702 if (options_->do_vibrate) { in RunInternal()
2706 if (options_->do_fb && do_early_screenshot_) { in RunInternal()
2711 if (options_->do_zip_file && zip_file != nullptr) { in RunInternal()
2755 if (options_->telephony_only) { in RunInternal()
2758 } else if (options_->wifi_only) { in RunInternal()
2777 if (options_->OutputToFile()) { in RunInternal()
2783 if (options_->bugreport_fd.get() != -1) { in RunInternal()
2793 if (options_->do_fb && options_->screenshot_fd.get() != -1) { in RunInternal()
2795 options_->screenshot_fd.get()); in RunInternal()
2817 if (options_->do_vibrate) { in RunInternal()
2825 if (options_->do_broadcast) { in RunInternal()
2839 if (options_->use_control_socket && control_socket_fd_ != -1) { in RunInternal()
2894 uint64_t timeout_ms = options_->telephony_only ? TELEPHONY_REPORT_USER_CONSENT_TIMEOUT_MS in CopyBugreportIfUserConsented()
2909 bool copy_succeeded = android::os::CopyFileToFd(path_, options_->bugreport_fd.get()); in CopyBugreportIfUserConsented()
2933 assert(options_->bugreport_fd.get() == -1); in ParseCommandlineAndRun()
2969 options_(new Dumpstate::DumpOptions()), in Dumpstate()
3734 if (!options_->do_progress_updates) return; in UpdateProgress()