/aosp14/frameworks/base/core/proto/android/os/ |
H A D | incident.proto | 80 (section).args = "getprop" 97 (section).args = "main" 102 (section).args = "radio" 107 (section).args = "events" 112 (section).args = "system" 117 (section).args = "crash" 122 (section).args = "stats" 132 (section).args = "kernel" 186 (section).args = "hal" 191 (section).args = "java" [all …]
|
H A 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.
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
H A D | SectionStyleProvider.kt | 45 fun isMinimizedSection(section: NotifSection): Boolean { 46 return lowPrioritySections.contains(section.sectioner) 54 val section = entry.section ?: return ifNotInSection regex 55 return isMinimizedSection(section) 69 fun isSilentSection(section: NotifSection): Boolean { 70 return silentSections.contains(section.sectioner) 78 val section = entry.section ?: return ifNotInSection regex 79 return isSilentSection(section)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ |
H A D | NodeSpecBuilder.kt | 66 val section = entry.section!! regex 67 if (prevSections.contains(section)) { 72 if (section != currentSection) { 73 if (section.headerController != currentSection?.headerController && showHeaders) { 74 section.headerController?.let { headerController -> 77 sectionHeaders[section] = headerController 82 currentSection = section 84 sectionOrder.add(section) 91 sectionCounts[section] = sectionCounts.getOrDefault(section, 0) + 1
|
H A D | NodeSpecBuilderLogger.kt | 46 for (section in newSectionOrder) { 48 str1 = section?.sectioner?.name ?: "(null)" 49 str2 = newHeaders[section]?.nodeLabel ?: "(none)" 50 int1 = newCounts[section] ?: -1 56 for (section in oldSections - newSectionOrder.toSet()) { 58 str1 = section?.sectioner?.name ?: "(null)"
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
H A D | DomainVerificationPersistence.java | 151 SettingsXml.ChildSection child = section.children(); in readPackageStates() 167 @NonNull SettingsXml.ReadSection section) { in createPkgStateFromXml() 169 String idString = section.getString(ATTR_ID); in createPkgStateFromXml() 171 String signature = section.getString(ATTR_SIGNATURE); in createPkgStateFromXml() 180 SettingsXml.ChildSection child = section.children(); in createPkgStateFromXml() 198 SettingsXml.ChildSection child = section.children(); in readUserStates() 258 writeUserStateToXml(section, userState); in writeUserStates() 287 @NonNull SettingsXml.ReadSection section) { in createUserStateFromXml() 288 int userId = section.getInt(ATTR_USER_ID); in createUserStateFromXml() 296 SettingsXml.ChildSection child = section.children(); in createUserStateFromXml() [all …]
|
H A D | DomainVerificationLegacySettings.java | 165 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()
|
/aosp14/frameworks/base/cmds/incidentd/tests/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | ListAttachState.kt | 37 var section: NotifSection?, 72 val sectionIndex: Int get() = section?.index ?: -1 77 section = other.section 88 section = null 103 section = null
|
H A D | SuppressedAttachState.kt | 30 var section: NotifSection?, 49 section = other.section 56 section = null
|
H A D | ShadeListBuilder.java | 251 mNotifSections.add(section); in setSectioners() 265 for (NotifSection section : mNotifSections) { in setSectioners() 266 if (lastBucket != section.getBucket() && seenBuckets.contains(section.getBucket())) { in setSectioners() 270 lastBucket = section.getBucket(); in setSectioners() 496 if (section == entry.getSection()) { in notifySectionEntriesUpdated() 500 Trace.beginSection(section.getLabel()); in notifySectionEntriesUpdated() 1068 currentSection = section; in assignIndexes() 1214 if (section != o2.getSection()) { in getSectionComparator() 1217 if (section != null) { in getSectionComparator() 1218 return section.getComparator(); in getSectionComparator() [all …]
|
/aosp14/frameworks/base/libs/incident/src/ |
H A D | IncidentReportArgs.cpp | 127 int32_t section; in readFromParcel() local 128 err = in->readInt32(§ion); 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()
|
/aosp14/frameworks/base/cmds/incidentd/src/ |
H A D | Reporter.cpp | 446 vflog(section, err, ANDROID_LOG_ERROR, "error", format, args); in warning() 453 vflog(section, err, ANDROID_LOG_WARN, "warning", format, args); in error() 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 645 if (execute_section(section, &metadata, reportByteSize) != NO_ERROR) { in runReport() 707 const int sectionId = section->id; in execute_section() 725 status_t err = section->Execute(&mWriter); in execute_section() [all …]
|
H A D | Reporter.h | 205 void warning(const Section* section, status_t err, const char* format, ...); 206 void error(const Section* section, status_t err, const char* format, ...); 254 void vflog(const Section* section, status_t err, int level, const char* levelText, 277 status_t execute_section(const Section* section, IncidentMetadata* metadata,
|
H A D | IncidentService.cpp | 330 for (const Section** section = SECTION_LIST; *section; section++) { in reportIncidentToDumpstate() local 331 const int id = (*section)->id; in reportIncidentToDumpstate() 337 for (const Section* section : mRegisteredSections) { in reportIncidentToDumpstate() local 338 if (!section_requires_specific_mention(section->id)) { in reportIncidentToDumpstate() 339 incidentArgs.addSection(section->id); in reportIncidentToDumpstate() 570 const Section* section = SECTION_LIST[idx]; in command() local 571 if (section->id == id) { in command() 572 fprintf(out, "Section[%d] %s\n", id, section->name.string()); in command()
|
/aosp14/frameworks/base/cmds/incident/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/ |
H A D | NodeSpecBuilderTest.kt | 327 private fun notif(id: Int, section: NotifSection? = null): NotificationEntry { 331 if (section != null) { 332 getAttachState(entry).section = section 340 section: NotifSection, 351 getAttachState(group).section = section 355 getAttachState(child).section = section
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationSectionsManager.kt | 144 fun updateSection(section: NotificationSection): Boolean = when (this) { 145 is None -> section.setFirstAndLastVisibleChildren(null, null) 146 is One -> section.setFirstAndLastVisibleChildren(lone, lone) 147 is Many -> section.setFirstAndLastVisibleChildren(first, last) 188 val changed = sections.fold(false) { changed, section -> 189 val bounds = sectionBounds[section.bucket] ?: SectionBounds.None 190 val isSectionChanged = bounds.updateSection(section)
|
/aosp14/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator.cpp | 61 inline static UnifiedSpan UntranslatableSectionToUnifiedSpan(const UntranslatableSection& section) { in UntranslatableSectionToUnifiedSpan() argument 63 {}, static_cast<uint32_t>(section.start), static_cast<uint32_t>(section.end) - 1}; in UntranslatableSectionToUnifiedSpan() 257 for (const UntranslatableSection& section : string->untranslatable_sections) { in Visit() local 259 const size_t len = section.start - start; in Visit() 265 result += original_string.substr(section.start, section.end - section.start); in Visit() 266 start = section.end; in Visit()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A D | DataStoreCoordinatorTest.kt | 53 @Mock private lateinit var section: NotifSection 58 entry = NotificationEntryBuilder().setSection(section).build() 87 ).setSection(section).build(), 108 NotificationEntryBuilder().setPkg(pkg).setId(id).setSection(section).build()
|
H A D | StackCoordinatorTest.kt | 56 @Mock private lateinit var section: NotifSection 66 entry = NotificationEntryBuilder().setSection(section).build() 77 whenever(section.bucket).thenReturn(BUCKET_ALERTING) 84 whenever(section.bucket).thenReturn(BUCKET_SILENT)
|
/aosp14/frameworks/base/core/proto/android/ |
H A D | section.proto | 50 // incidentd calls legacy text dumpsys for annotated field. The section will only be generated 58 // If true, then the section will only be generated for userdebug and eng 64 // Flags for automatically section list generation 65 optional SectionFlags section = 155792027; field
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A D | StackCoordinator.kt | 60 val section = checkNotNull(it.section) { "Null section for ${it.key}" } regex 62 val isSilent = section.bucket == BUCKET_SILENT
|
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | IProcessStats.aidl | 37 long getCommittedStats(long highWaterMarkMs, int section, boolean doAggregate, in getCommittedStats() argument 49 long getCommittedStatsMerged(long highWaterMarkMs, int section, boolean doAggregate, in getCommittedStatsMerged() argument
|