Searched refs:ReportFile (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/cmds/incidentd/src/ |
D | WorkDirectory.cpp | 245 ReportFile::ReportFile(const sp<WorkDirectory>& workDirectory, int64_t timestampNs, in ReportFile() function in android::os::incidentd::ReportFile 258 ReportFile::~ReportFile() { in ~ReportFile() 264 int64_t ReportFile::getTimestampNs() const { in getTimestampNs() 268 void ReportFile::addReport(const IncidentReportArgs& args) { in addReport() 305 void ReportFile::removeReport(const string& pkg, const string& cls) { in removeReport() 317 void ReportFile::removeReports(const string& pkg) { in removeReports() 328 void ReportFile::setMetadata(const IncidentMetadata& metadata) { in setMetadata() 332 void ReportFile::markCompleted() { in markCompleted() 336 status_t ReportFile::markApproved(const string& pkg, const string& cls) { in markApproved() 348 void ReportFile::setMaxPersistedPrivacyPolicy(int persistedPrivacyPolicy) { in setMaxPersistedPrivacyPolicy() [all …]
|
D | WorkDirectory.h | 48 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);
|
D | Reporter.h | 190 void setPersistedFile(sp<ReportFile> file); 210 sp<ReportFile> mPersistedFile; 265 sp<ReportFile> mPersistedFile;
|
D | Broadcaster.cpp | 167 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()
|
D | IncidentService.cpp | 362 vector<sp<ReportFile>> all; in getIncidentReportList() 369 for (sp<ReportFile>& file: all) { in getIncidentReportList() 397 sp<ReportFile> file = mWorkDirectory->getReport(pkg, cls, id, &args); in getIncidentReport() 425 sp<ReportFile> file = mWorkDirectory->getReport(pkg, cls, id, nullptr); in deleteIncidentReports()
|
D | Reporter.cpp | 119 PersistedFilterFd(uint8_t privacyPolicy, int fd, const sp<ReportFile>& reportFile); 124 sp<ReportFile> mReportFile; 128 const sp<ReportFile>& reportFile) in PersistedFilterFd() 347 void ReportWriter::setPersistedFile(sp<ReportFile> file) { in setPersistedFile()
|
D | Broadcaster.h | 114 status_t send_to_dropbox(const sp<ReportFile>& file, const IncidentReportArgs& args);
|