Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/frameworks/base/core/proto/android/os/
Dincident.proto62 import "frameworks/base/core/proto/android/section.proto";
81 (section).type = SECTION_COMMAND,
82 (section).args = "getprop"
86 (section).type = SECTION_FILE,
87 (section).args = "/proc/version",
93 (section).type = SECTION_FILE,
94 (section).args = "/system/etc/event-log-tags"
98 (section).type = SECTION_LOG,
99 (section).args = "main"
103 (section).type = SECTION_LOG,
[all …]
Dmetadata.proto23 // such as the section ids and privacy policy specs from caller as well as how long
24 // and how many bytes a section takes, etc.
47 // stats of each section taken in this incident report.
49 // section id.
51 // if the section is successfully taken.
55 // the total duration to execute the section.
58 // number of bytes dumped from the section directly.
62 // true if the section timed out.
64 // true if the section is truncated.
/frameworks/compile/mclinker/lib/LD/
DELFObjectReader.cpp111 LDContext::sect_iterator section, sectEnd = pInput.context()->sectEnd(); in readSections() local
112 for (section = pInput.context()->sectBegin(); section != sectEnd; ++section) { in readSections()
114 if (*section == NULL) in readSections()
117 switch ((*section)->kind()) { in readSections()
120 assert((*section)->getLink() != NULL); in readSections()
122 pInput, *(*section)->getLink(), (*section)->getInfo()); in readSections()
129 signatures().insert((*section)->name(), exist); in readSections()
138 pInput.fileOffset() + (*section)->offset(), (*section)->size()); in readSections()
158 llvm::StringRef((*section)->name()).drop_front(14)); in readSections()
162 (*section)->setKind(LDFileFormat::Debug); in readSections()
[all …]
DELFObjectWriter.cpp53 LDSection* section) { in writeSection() argument
56 switch (section->kind()) { in writeSection()
58 if (section->getSectionData() == NULL) in writeSection()
69 region = pOutput.request(section->offset(), section->size()); in writeSection()
85 llvm::errs() << "WARNING: unsupported section kind: " << section->kind() in writeSection()
86 << " of section " << section->name() << ".\n"; in writeSection()
91 switch (section->kind()) { in writeSection()
97 emitSectionData(*section, region); in writeSection()
100 emitEhFrame(pModule, *section->getEhFrame(), region); in writeSection()
104 target().sortRelocation(*section); in writeSection()
[all …]
DGarbageCollection.cpp190 LDSection* section = *sect; in getEntrySections() local
191 if (!mayProcessGC(*section)) in getEntrySections()
195 sect_map.find(input_name, section->name()).second; in getEntrySections()
197 shouldKeep(section->name())) in getEntrySections()
198 pEntry.push_back(section); in getEntrySections()
332 LDSection* section = *sect; in stripSections() local
333 if (!mayProcessGC(*section)) in stripSections()
336 if (m_ReferencedSections.find(section) == m_ReferencedSections.end()) { in stripSections()
337 section->setKind(LDFileFormat::Ignore); in stripSections()
338 debug(diag::debug_print_gc_sections) << section->name() in stripSections()
DELFReader.cpp128 LDSection* section = NULL; in readSymbols() local
130 section = pInput.context()->getSection(st_shndx); in readSymbols()
136 assert(section != NULL && "get a invalid section"); in readSymbols()
137 ld_name = section->name(); in readSymbols()
149 section, in readSymbols()
405 LDSection* section = IRBuilder::CreateELFHeader( in readSectionHeaders() local
407 section->setSize(sh_size); in readSectionHeaders()
408 section->setOffset(sh_offset); in readSectionHeaders()
409 section->setInfo(sh_info); in readSectionHeaders()
412 LinkInfo link_info = {section, sh_link, sh_info}; in readSectionHeaders()
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DXmpDepthDecode.java223 Section section = new Section(); in parse() local
224 section.marker = marker; in parse()
225 section.length = -1; in parse()
226 section.data = new byte[is.available()]; in parse()
227 is.read(section.data, 0, section.data.length); in parse()
228 sections.add(section); in parse()
287 Section section = new Section(); in readSection() local
288 section.marker = marker; in readSection()
289 section.length = length; in readSection()
290 section.data = new byte[length - 2]; in readSection()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DNodeSpecBuilder.kt66 val section = entry.section!! in <lambda>() constant
67 if (prevSections.contains(section)) { in <lambda>()
72 if (section != currentSection) { in <lambda>()
73 if (section.headerController != currentSection?.headerController && showHeaders) { in <lambda>()
74 section.headerController?.let { headerController -> in <lambda>()
77 sectionHeaders[section] = headerController in <lambda>()
82 currentSection = section in <lambda>()
84 sectionOrder.add(section) in <lambda>()
91 sectionCounts[section] = sectionCounts.getOrDefault(section, 0) + 1 in <lambda>()
DNodeSpecBuilderLogger.kt46 for (section in newSectionOrder) { in logBuildNodeSpec() method
48 str1 = section?.sectioner?.name ?: "(null)" in logBuildNodeSpec()
49 str2 = newHeaders[section]?.nodeLabel ?: "(none)" in logBuildNodeSpec()
50 int1 = newCounts[section] ?: -1 in logBuildNodeSpec()
56 for (section in oldSections - newSectionOrder.toSet()) { in logBuildNodeSpec() method
58 str1 = section?.sectioner?.name ?: "(null)" in logBuildNodeSpec()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagLayouts.inc11 "section %0 has not been laid out. Developers may use an output LDSection "
13 "section %0 has not been laid out. Developers may use an output LDSection "
17 "Duplicated definition of section map \"from %0 to %0\".",
18 "Duplicated definition of section map \"from %0 to %0\".")
21 "Illegal section mapping rule: %0 -> %1. (conflict with %2 -> %3)",
22 "Illegal section mapping rule: %0 -> %1. (conflict with %2 -> %3)")
25 "Cannot merge section %0 of %1",
26 "Cannot merge section %0 of %1")
33 "ICF folding section `%0' of `%1' into `%2' of `%3'",
34 "ICF folding section `%0' of `%1' into `%2' of `%3'")
DDiagCommonKinds.inc42 "Unable to emit section `%0'\nPlease report to `%1'",
43 "Unable to emit section `%0'\nPlease report to `%1'")
60 "can not read section `%0'.",
61 "can not read section `%0'.")
64 "can not read target-dependent section `%0'.",
65 "can not read target-dependent section `%0'.")
68 "can not read the section being relocated in file %0.\ninvalid sh_info: "
69 "%1\nrelocation section: %2",
70 "can not read the section being relocated in file %0.\ninvalid sh_info: "
71 "%1\nrelocation section: %2")
[all …]
DDiagReaders.inc7 "cannot parse .eh_frame section in input %0",
8 "cannot parse .eh_frame section in input %0.")
11 "cannot scan .eh_frame section in input %0",
12 "cannot scan .eh_frame section in input %0.")
DDiagRelocations.inc55 "TLS relocation against invalid symbol `%0' in section `%1'",
56 "TLS relocation against invalid symbol `%0' in section `%1'")
59 "unknown relocation section type: `%0' in section `%1'",
60 "unknown relocation section type: `%0' in section `%1'")
/frameworks/base/cmds/incidentd/tests/
DReporter_test.cpp65 virtual Status onReportSectionStatus(int section, int status) { in onReportSectionStatus() argument
68 if (startSections.count(section) == 0) startSections[section] = 0; in onReportSectionStatus()
69 startSections[section] = startSections[section] + 1; in onReportSectionStatus()
72 if (finishSections.count(section) == 0) finishSections[section] = 0; in onReportSectionStatus()
73 finishSections[section] = finishSections[section] + 1; in onReportSectionStatus()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationPersistence.java116 private static void writePackageStates(@NonNull SettingsXml.WriteSection section, in writePackageStates() argument
124 writePkgStateToXml(section, state, userId, pkgNameToSignature); in writePackageStates()
149 private static void readPackageStates(@NonNull SettingsXml.ReadSection section, in readPackageStates() argument
151 SettingsXml.ChildSection child = section.children(); in readPackageStates()
167 @NonNull SettingsXml.ReadSection section) { in createPkgStateFromXml()
168 String packageName = section.getString(ATTR_PACKAGE_NAME); in createPkgStateFromXml()
169 String idString = section.getString(ATTR_ID); in createPkgStateFromXml()
170 boolean hasAutoVerifyDomains = section.getBoolean(ATTR_HAS_AUTO_VERIFY_DOMAINS); in createPkgStateFromXml()
171 String signature = section.getString(ATTR_SIGNATURE); in createPkgStateFromXml()
180 SettingsXml.ChildSection child = section.children(); in createPkgStateFromXml()
[all …]
DDomainVerificationLegacySettings.java165 private void readUserStates(SettingsXml.ReadSection section) { in readUserStates() argument
166 String packageName = section.getString(ATTR_PACKAGE_NAME); in readUserStates()
169 final SettingsXml.ChildSection child = section.children(); in readUserStates()
178 private void readUserState(SettingsXml.ReadSection section, LegacyState legacyState) { in readUserState() argument
179 int userId = section.getInt(ATTR_USER_ID); in readUserState()
180 int state = section.getInt(ATTR_STATE); in readUserState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListAttachState.kt37 var section: NotifSection?, variable in com.android.systemui.statusbar.notification.collection.ListAttachState
72 val sectionIndex: Int get() = section?.index ?: -1
77 section = other.section in clone()
88 section = null in reset()
103 section = null in detach()
DSuppressedAttachState.kt30 var section: NotifSection?, variable in com.android.systemui.statusbar.notification.collection.SuppressedAttachState
49 section = other.section in clone()
56 section = null in reset()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderInfoTemplated.h50 const VendorTagSectionType& section = vts[s]; in createDescriptorFromIdl() local
51 const char *sectionName = section.sectionName.c_str(); in createDescriptorFromIdl()
59 for (size_t j = 0; j < section.tags.size(); j++) { in createDescriptorFromIdl()
60 uint32_t tag = section.tags[j].tagId; in createDescriptorFromIdl()
66 tagArray.editItemAt(idx++) = section.tags[j].tagId; in createDescriptorFromIdl()
68 const char *tagName = section.tags[j].tagName.c_str(); in createDescriptorFromIdl()
76 int tagType = (int) section.tags[j].tagType; in createDescriptorFromIdl()
/frameworks/base/libs/incident/src/
DIncidentReportArgs.cpp127 int32_t section; in readFromParcel() local
128 err = in->readInt32(&section); in readFromParcel()
133 mSections.insert(section); in readFromParcel()
187 IncidentReportArgs::addSection(int section) in addSection() argument
190 mSections.insert(section); in addSection()
219 IncidentReportArgs::containsSection(int section, bool specific) const in containsSection() argument
222 return mSections.find(section) != mSections.end(); in containsSection()
224 return mAll || mSections.find(section) != mSections.end(); in containsSection()
/frameworks/base/cmds/incidentd/src/
DReporter.cpp443 void ReportWriter::warning(const Section* section, status_t err, const char* format, ...) { in warning() argument
446 vflog(section, err, ANDROID_LOG_ERROR, "error", format, args); in warning()
450 void ReportWriter::error(const Section* section, status_t err, const char* format, ...) { in error() argument
453 vflog(section, err, ANDROID_LOG_WARN, "warning", format, args); in error()
457 void ReportWriter::vflog(const Section* section, status_t err, int level, const char* levelText, in vflog() argument
460 int prefixLen = snprintf(NULL, 0, prefixFormat, levelText, section->id, in vflog()
474 sprintf(line, prefixFormat, levelText, section->id, err, strerror(-err)); in vflog()
638 for (const Section** section = SECTION_LIST; *section; section++) { in runReport() local
639 if (execute_section(*section, &metadata, reportByteSize) != NO_ERROR) { in runReport()
644 for (const Section* section : mRegisteredSections) { in runReport() local
[all …]
/frameworks/base/cmds/incident/
Dmain.cpp51 virtual Status onReportSectionStatus(int32_t section, int32_t status);
76 StatusListener::onReportSectionStatus(int32_t section, int32_t status) in onReportSectionStatus() argument
78 fprintf(stderr, "section %d status %d\n", section, status); in onReportSectionStatus()
79 ALOGD("section %d status %d\n", section, status); in onReportSectionStatus()
150 IncidentSection const* section = INCIDENT_SECTIONS + mid; in find_section() local
152 int cmp = strcmp(section->name, name); in find_section()
158 return section; in find_section()
336 int section = strtol(arg, &end, 0); in main() local
338 args.addSection(section); in main()
/frameworks/base/core/java/android/os/
DIncidentReportArgs.java173 public void addSection(int section) { in addSection() argument
174 if (!mAll && section > 1) { in addSection()
175 mSections.add(section); in addSection()
189 public boolean containsSection(int section) { in containsSection() argument
190 return mAll || mSections.indexOf(section) >= 0; in containsSection()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp60 inline static UnifiedSpan UntranslatableSectionToUnifiedSpan(const UntranslatableSection& section) { in UntranslatableSectionToUnifiedSpan() argument
62 {}, static_cast<uint32_t>(section.start), static_cast<uint32_t>(section.end) - 1}; in UntranslatableSectionToUnifiedSpan()
253 for (const UntranslatableSection& section : string->untranslatable_sections) { in Visit() local
255 const size_t len = section.start - start; in Visit()
261 result += original_string.substr(section.start, section.end - section.start); in Visit()
262 start = section.end; in Visit()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/
DNodeSpecBuilderTest.kt326 private fun notif(id: Int, section: NotifSection? = null): NotificationEntry { in notif()
330 if (section != null) { in notif()
331 getAttachState(entry).section = section in notif()
339 section: NotifSection, in group()
350 getAttachState(group).section = section in group()
354 getAttachState(child).section = section in group()

12345678910>>...12