Searched refs:sectionId (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/cmds/incidentd/src/ |
D | Reporter.cpp | 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 [all …]
|
D | proto_util.cpp | 56 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()
|
D | proto_util.h | 41 status_t write_section_header(int fd, int sectionId, size_t size); 46 status_t write_section(int fd, int sectionId, const MessageLite& message);
|
D | Reporter.h | 63 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);
|
D | PrivacyFilter.h | 65 PrivacyFilter(int sectionId, const Privacy* restrictions);
|
D | IncidentService.cpp | 599 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()
|
D | PrivacyFilter.cpp | 252 PrivacyFilter::PrivacyFilter(int sectionId, const Privacy* restrictions) in PrivacyFilter() argument 253 :mSectionId(sectionId), in PrivacyFilter()
|
D | Section.h | 218 bool section_requires_specific_mention(int sectionId);
|
D | Section.cpp | 68 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/ |
D | Reporter_test.cpp | 87 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/ |
D | PersistLogSection.java | 173 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/ |
D | main.cpp | 600 int sectionId = atoi(argv[2]); in main() local 604 || field->number() == sectionId) { in main()
|
/frameworks/av/camera/ |
D | VendorTagDescriptor.cpp | 341 uint32_t sectionId = mTagToSectionMap.valueFor(tag); in dump() local 342 String8 sectionName = mSections[sectionId]; in dump()
|