Home
last modified time | relevance | path

Searched refs:sectionId (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/cmds/incidentd/src/
DReporter.cpp74 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
[all …]
Dproto_util.cpp56 status_t write_section_header(int fd, int sectionId, size_t size) { in write_section_header() argument
58 uint8_t* p = write_length_delimited_tag_header(buf, sectionId, size); in write_section_header()
62 status_t write_section(int fd, int sectionId, const MessageLite& message) { in write_section() argument
65 err = write_section_header(fd, sectionId, message.ByteSize()); in write_section()
Dproto_util.h41 status_t write_section_header(int fd, int sectionId, size_t size);
46 status_t write_section(int fd, int sectionId, const MessageLite& message);
DReporter.h63 bool containsSection(int sectionId) const;
134 void forEachFd(int sectionId, const function<void (const sp<ReportRequest>&)>& func);
145 void forEachListener(int sectionId,
200 void startSection(int sectionId);
DPrivacyFilter.h65 PrivacyFilter(int sectionId, const Privacy* restrictions);
DIncidentService.cpp599 int sectionId = atoi(args[2].string()); in cmd_privacy() local
601 const Privacy* p = get_privacy_of_section(sectionId); in cmd_privacy()
603 fprintf(err, "Can't find section id %d\n", sectionId); in cmd_privacy()
606 fprintf(err, "Get privacy for %d\n", sectionId); in cmd_privacy()
DPrivacyFilter.cpp252 PrivacyFilter::PrivacyFilter(int sectionId, const Privacy* restrictions) in PrivacyFilter() argument
253 :mSectionId(sectionId), in PrivacyFilter()
DSection.h218 bool section_requires_specific_mention(int sectionId);
DSection.cpp68 bool section_requires_specific_mention(int sectionId) { in section_requires_specific_mention() argument
69 switch (sectionId) { in section_requires_specific_mention()
/frameworks/base/cmds/incidentd/tests/
DReporter_test.cpp87 int sectionStarted(int sectionId) const { in sectionStarted()
88 map<int, int>::const_iterator found = startSections.find(sectionId); in sectionStarted()
96 int sectionFinished(int sectionId) const { in sectionFinished()
97 map<int, int>::const_iterator found = finishSections.find(sectionId); in sectionFinished()
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/sections/
DPersistLogSection.java173 Long sectionId = SECTION_NAME_TO_ID.get(sectionName); in setCurrentSection() local
174 if (sectionId == null) { in setCurrentSection()
176 sectionId = SECTION_NAME_TO_ID.get(DEFAULT_BUFFER); in setCurrentSection()
178 mCurrFieldId = sectionId; in setCurrentSection()
/frameworks/base/tools/incident_section_gen/
Dmain.cpp600 int sectionId = atoi(argv[2]); in main() local
604 || field->number() == sectionId) { in main()
/frameworks/av/camera/
DVendorTagDescriptor.cpp341 uint32_t sectionId = mTagToSectionMap.valueFor(tag); in dump() local
342 String8 sectionName = mSections[sectionId]; in dump()