Lines Matching refs:sectionId

74 static bool contains_section(const IncidentReportArgs& args, int sectionId) {  in contains_section()  argument
75 return args.containsSection(sectionId, section_requires_specific_mention(sectionId)); in contains_section()
78 static bool contains_section(const sp<ReportRequest>& args, int sectionId) { in contains_section() argument
79 return args->containsSection(sectionId); in contains_section()
171 bool ReportRequest::containsSection(int sectionId) const { in containsSection()
172 return args.containsSection(sectionId, section_requires_specific_mention(sectionId)); in containsSection()
285 void ReportBatch::forEachListener(int sectionId, in forEachListener() argument
289 if (it->second->containsSection(sectionId)) { in forEachListener()
298 if ((*request)->containsSection(sectionId)) { in forEachListener()
314 bool ReportBatch::containsSection(int sectionId) { in containsSection() argument
319 if (it->second->containsSection(sectionId)) { in containsSection()
325 if ((*request)->containsSection(sectionId)) { in containsSection()
402 void ReportWriter::startSection(int sectionId) { in startSection() argument
403 mCurrentSectionId = sectionId; in startSection()
707 const int sectionId = section->id; in execute_section() local
710 if (!mBatch->containsSection(sectionId)) { in execute_section()
714 ALOGD("Start incident report section %d '%s'", sectionId, section->name.string()); in execute_section()
718 mBatch->forEachListener(sectionId, [sectionId](const auto& listener) { in execute_section()
720 sectionId, IIncidentReportStatusListener::STATUS_STARTING); in execute_section()
724 mWriter.startSection(sectionId); in execute_section()
745 mBatch->forEachListener(sectionId, [sectionId](const auto& listener) { in execute_section()
747 sectionId, IIncidentReportStatusListener::STATUS_FINISHED); in execute_section()
750 ALOGD("Finish incident report section %d '%s'", sectionId, section->name.string()); in execute_section()