Lines Matching refs:mPersistedFile

340          mPersistedFile(),  in ReportWriter()
348 mPersistedFile = file; in setPersistedFile()
453 if (mPersistedFile != nullptr) { in writeSection()
455 mPersistedFile->getDataFileFd(), mPersistedFile)); in writeSection()
499 mPersistedFile = mWorkDirectory->createReportFile(); in runReport()
501 mPersistedFile->getEnvelopeFileName().c_str(), in runReport()
502 mPersistedFile->getDataFileName().c_str()); in runReport()
507 if (mPersistedFile != nullptr) { in runReport()
510 mPersistedFile->addReport(request->args); in runReport()
515 mPersistedFile->setMaxPersistedPrivacyPolicy(persistedPrivacyPolicy); in runReport()
516 err = mPersistedFile->saveEnvelope(); in runReport()
518 mWorkDirectory->remove(mPersistedFile); in runReport()
519 mPersistedFile = nullptr; in runReport()
524 if (mPersistedFile != nullptr) { in runReport()
525 err = mPersistedFile->startWritingDataFile(); in runReport()
527 mWorkDirectory->remove(mPersistedFile); in runReport()
528 mPersistedFile = nullptr; in runReport()
532 if (mPersistedFile != nullptr) { in runReport()
533 mWriter.setPersistedFile(mPersistedFile); in runReport()
555 if (mPersistedFile != nullptr) { in runReport()
556 reportId = mPersistedFile->getTimestampNs(); in runReport()
631 if (mPersistedFile != nullptr) { in runReport()
632 mPersistedFile->closeDataFile(); in runReport()
638 make_metadata(&persistedMetadata, metadata, mPersistedFile->getTimestampNs(), in runReport()
640 mPersistedFile->setMetadata(persistedMetadata); in runReport()
642 mPersistedFile->markCompleted(); in runReport()
643 err = mPersistedFile->saveEnvelope(); in runReport()
648 mWorkDirectory->remove(mPersistedFile); in runReport()
686 if (mPersistedFile != nullptr) { in cancel_and_remove_failed_requests()
687 if (mPersistedFile->getWriteError() != NO_ERROR) { in cancel_and_remove_failed_requests()
689 strerror(-mPersistedFile->getWriteError())); in cancel_and_remove_failed_requests()
698 mPersistedFile->closeDataFile(); in cancel_and_remove_failed_requests()
699 mWorkDirectory->remove(mPersistedFile); in cancel_and_remove_failed_requests()
700 mPersistedFile = nullptr; in cancel_and_remove_failed_requests()