Home
last modified time | relevance | path

Searched refs:ReportFile (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp248 ReportFile::ReportFile(const sp<WorkDirectory>& workDirectory, int64_t timestampNs, in ReportFile() function in android::os::incidentd::ReportFile
261 ReportFile::~ReportFile() { in ~ReportFile()
267 int64_t ReportFile::getTimestampNs() const { in getTimestampNs()
271 void ReportFile::addReport(const IncidentReportArgs& args) { in addReport()
309 void ReportFile::removeReport(const string& pkg, const string& cls) { in removeReport()
321 void ReportFile::removeReports(const string& pkg) { in removeReports()
332 void ReportFile::setMetadata(const IncidentMetadata& metadata) { in setMetadata()
336 void ReportFile::markCompleted() { in markCompleted()
340 status_t ReportFile::markApproved(const string& pkg, const string& cls) { in markApproved()
352 void ReportFile::setMaxPersistedPrivacyPolicy(int persistedPrivacyPolicy) { in setMaxPersistedPrivacyPolicy()
[all …]
DWorkDirectory.h48 class ReportFile : public virtual RefBase {
50 ReportFile(const sp<WorkDirectory>& workDirectory, int64_t timestampNs,
53 virtual ~ReportFile();
214 sp<ReportFile> createReportFile();
221 status_t getReports(vector<sp<ReportFile>>* files, int64_t after);
228 sp<ReportFile> getReport(const string& pkg, const string& cls, const string& id,
241 void commit(const sp<ReportFile>& report, const string& pkg, const string& cls);
252 void remove(const sp<ReportFile>& report);
267 void delete_files_for_report_if_necessary(const sp<ReportFile>& report);
DReporter.h197 void setPersistedFile(sp<ReportFile> file);
217 sp<ReportFile> mPersistedFile;
274 sp<ReportFile> mPersistedFile;
DBroadcaster.cpp167 vector<sp<ReportFile>> files; in sendBroadcasts()
173 for (const sp<ReportFile>& file: files) { in sendBroadcasts()
330 sp<ReportFile> file = mWorkDirectory->getReport(reportId.pkg, reportId.cls, reportId.id, in report_approved()
357 sp<ReportFile> file = mWorkDirectory->getReport(reportId.pkg, reportId.cls, reportId.id, in report_denied()
385 status_t Broadcaster::send_to_dropbox(const sp<ReportFile>& file, in send_to_dropbox()
DIncidentService.cpp412 vector<sp<ReportFile>> all; in getIncidentReportList()
419 for (sp<ReportFile>& file: all) { in getIncidentReportList()
447 sp<ReportFile> file = mWorkDirectory->getReport(pkg, cls, id, &args); in getIncidentReport()
475 sp<ReportFile> file = mWorkDirectory->getReport(pkg, cls, id, nullptr); in deleteIncidentReports()
DBroadcaster.h114 status_t send_to_dropbox(const sp<ReportFile>& file, const IncidentReportArgs& args);
DReporter.cpp123 PersistedFilterFd(uint8_t privacyPolicy, int fd, const sp<ReportFile>& reportFile);
128 sp<ReportFile> mReportFile;
132 const sp<ReportFile>& reportFile) in PersistedFilterFd()
394 void ReportWriter::setPersistedFile(sp<ReportFile> file) { in setPersistedFile()