Lines Matching refs:copy_succeeded
765 bool copy_succeeded = android::os::CopyFileToFd(ds.screenshot_path_, in onReportApproved() local
767 ds.options_->is_screenshot_copied = copy_succeeded; in onReportApproved()
768 if (copy_succeeded) { in onReportApproved()
3123 bool copy_succeeded = in RetrieveInternal() local
3126 if (copy_succeeded && (!android::app::admin::flags::onboarding_bugreport_v2_enabled() in RetrieveInternal()
3131 return copy_succeeded ? Dumpstate::RunStatus::OK in RetrieveInternal()
3714 bool copy_succeeded = android::os::CopyFileToFd(path_, options_->bugreport_fd.get()); in CopyBugreportIfUserConsented() local
3715 if (copy_succeeded) { in CopyBugreportIfUserConsented()
3720 copy_succeeded = android::os::CopyFileToFd(screenshot_path_, in CopyBugreportIfUserConsented()
3722 options_->is_screenshot_copied = copy_succeeded; in CopyBugreportIfUserConsented()
3723 if (copy_succeeded) { in CopyBugreportIfUserConsented()
3728 return copy_succeeded ? Dumpstate::RunStatus::OK : Dumpstate::RunStatus::ERROR; in CopyBugreportIfUserConsented()
3735 bool copy_succeeded = android::os::CopyFileToFile(path_, final_path); in CopyBugreportIfUserConsented() local
3736 if (copy_succeeded) { in CopyBugreportIfUserConsented()