/frameworks/base/core/proto/android/os/ |
D | incident.proto | 62 import "frameworks/base/core/proto/android/section.proto"; 79 (section).type = SECTION_COMMAND, 80 (section).args = "getprop" 84 (section).type = SECTION_FILE, 85 (section).args = "/proc/version", 91 (section).type = SECTION_FILE, 92 (section).args = "/system/etc/event-log-tags" 96 (section).type = SECTION_LOG, 97 (section).args = "main" 101 (section).type = SECTION_LOG, [all …]
|
D | metadata.proto | 23 // 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/ |
D | ELFObjectReader.cpp | 111 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 …]
|
D | ELFObjectWriter.cpp | 53 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 …]
|
D | GarbageCollection.cpp | 190 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()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | XmpDepthDecode.java | 223 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/provider/ |
D | SectionStyleProvider.kt | 48 fun isMinimizedSection(section: NotifSection): Boolean { in isMinimizedSection() 49 return lowPrioritySections.contains(section.sectioner) in isMinimizedSection() 57 val section = entry.section ?: return ifNotInSection in isMinimized() constant 58 return isMinimizedSection(section) in isMinimized() 72 fun isSilentSection(section: NotifSection): Boolean { in isSilentSection() 73 return silentSections.contains(section.sectioner) in isSilentSection() 81 val section = entry.section ?: return ifNotInSection in isSilent() constant 83 if (entry.section?.bucket == BUCKET_PEOPLE) { in isSilent() 86 return isSilentSection(section) in isSilent() 88 return isSilentSection(section) in isSilent()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationPersistence.java | 128 private static void writePackageStates(@NonNull SettingsXml.WriteSection section, in writePackageStates() argument 136 writePkgStateToXml(section, state, userId, pkgNameToSignature); in writePackageStates() 161 private static void readPackageStates(@NonNull SettingsXml.ReadSection section, in readPackageStates() argument 163 SettingsXml.ChildSection child = section.children(); in readPackageStates() 179 @NonNull SettingsXml.ReadSection section) { in createPkgStateFromXml() 180 String packageName = section.getString(ATTR_PACKAGE_NAME); in createPkgStateFromXml() 181 String idString = section.getString(ATTR_ID); in createPkgStateFromXml() 182 boolean hasAutoVerifyDomains = section.getBoolean(ATTR_HAS_AUTO_VERIFY_DOMAINS); in createPkgStateFromXml() 183 String signature = section.getString(ATTR_SIGNATURE); in createPkgStateFromXml() 193 SettingsXml.ChildSection child = section.children(); in createPkgStateFromXml() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ |
D | NodeSpecBuilder.kt | 66 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>()
|
D | NodeSpecBuilderLogger.kt | 46 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/ |
D | DiagLayouts.inc | 11 "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'")
|
D | DiagCommonKinds.inc | 42 "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 …]
|
D | DiagReaders.inc | 7 "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.")
|
D | DiagRelocations.inc | 55 "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/ |
D | Reporter_test.cpp | 65 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ListAttachState.kt | 37 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()
|
D | SuppressedAttachState.kt | 30 var section: NotifSection?, variable in com.android.systemui.statusbar.notification.collection.SuppressedAttachState 49 section = other.section in clone() 56 section = null in reset()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsSpan.java | 163 for (String section : mSections) { in write() 165 serializer.attribute(null, XML_ATTR_SECTION_TYPE, section); in write() 231 for (String section : mSections) { in dump() 232 pw.print("section", section); in dump() 250 for (String section : mSections) { in toString() 251 ipw.print("section", section); in toString() 324 void addSection(Section section) { in addSection() argument 325 mMetadata.addSection(section.getType()); in addSection() 326 mSections.add(section); in addSection() 346 for (Section section : mSections) { in writeXml() [all …]
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderInfoTemplated.h | 50 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/ |
D | IncidentReportArgs.cpp | 127 int32_t section; in readFromParcel() local 128 err = in->readInt32(§ion); in readFromParcel() 133 mSections.insert(section); in readFromParcel() 186 IncidentReportArgs::addSection(int section) in addSection() argument 189 mSections.insert(section); in addSection() 218 IncidentReportArgs::containsSection(int section, bool specific) const in containsSection() argument 221 return mSections.find(section) != mSections.end(); in containsSection() 223 return mAll || mSections.find(section) != mSections.end(); in containsSection()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | PowerStats.java | 635 Section section = new Section(); in parseFormat() local 636 section.label = matcher.group(1); in parseFormat() 637 section.position = Integer.parseUnsignedInt(matcher.group(2)); in parseFormat() 640 section.length = Integer.parseUnsignedInt(length); in parseFormat() 642 section.length = 1; in parseFormat() 650 section.optional = true; in parseFormat() 653 section.typePower = true; in parseFormat() 662 sections.add(section); in parseFormat() 675 Section section = sections.get(i); in format() local 676 if (section.length == 0) { in format() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | StackCoordinatorTest.kt | 70 @Mock private lateinit var section: NotifSection variable in com.android.systemui.statusbar.notification.collection.coordinator.StackCoordinatorTest 79 entry = NotificationEntryBuilder().setSection(section).build() in setUp() 118 whenever(section.bucket).thenReturn(BUCKET_ALERTING) in testSetNotificationStats_clearableAlerting() 129 whenever(section.bucket).thenReturn(BUCKET_ALERTING) in testSetNotificationStats_isSensitiveStateActive_nonClearableAlerting() 138 whenever(section.bucket).thenReturn(BUCKET_SILENT) in testSetNotificationStats_clearableSilent() 149 whenever(section.bucket).thenReturn(BUCKET_SILENT) in testSetNotificationStats_isSensitiveStateActive_nonClearableSilent() 158 whenever(section.bucket).thenReturn(BUCKET_ALERTING) in testSetNotificationStats_footerFlagOn_clearableAlerting() 173 whenever(section.bucket).thenReturn(BUCKET_ALERTING) in testSetNotificationStats_footerFlagOn_isSensitiveStateActive_nonClearableAlerting() 183 whenever(section.bucket).thenReturn(BUCKET_SILENT) in testSetNotificationStats_footerFlagOn_clearableSilent() 198 whenever(section.bucket).thenReturn(BUCKET_SILENT) in testSetNotificationStats_footerFlagOn_isSensitiveStateActive_nonClearableSilent()
|
/frameworks/base/cmds/incidentd/src/ |
D | Reporter.cpp | 443 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/ |
D | main.cpp | 51 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/ |
D | IncidentReportArgs.java | 173 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()
|