Searched refs:section (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/base/core/proto/android/os/
H A Dincident.proto54 import "frameworks/base/libs/incident/proto/android/section.proto";
70 (section).type = SECTION_COMMAND,
71 (section).args = "getprop"
76 (section).type = SECTION_FILE,
77 (section).args = "/system/etc/event-log-tags"
81 (section).type = SECTION_LOG,
82 (section).args = "LOG_ID_MAIN"
86 (section).type = SECTION_LOG,
87 (section).args = "LOG_ID_RADIO"
91 (section)
[all...]
/frameworks/base/core/java/android/os/
H A DIIncidentReportStatusListener.aidl30 void onReportSectionStatus(int section, int status);
H A DIncidentReportArgs.java161 * Add this section to the incident report. Skip if the input is smaller than 2 since section
164 public void addSection(int section) { argument
165 if (!mAll && section > 1) {
166 mSections.add(section);
178 * Returns whether this section will be included in the incident report.
180 public boolean containsSection(int section) { argument
181 return mAll || mSections.indexOf(section) >= 0;
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp92 /// readHeader - read section header and create LDSections.
111 LDContext::sect_iterator section, sectEnd = pInput.context()->sectEnd(); local
112 for (section = pInput.context()->sectBegin(); section != sectEnd; ++section) {
113 // ignore the section if the LDSection* in input context is NULL
114 if (*section == NULL)
117 switch ((*section)->kind()) {
120 assert((*section)->getLink() != NULL);
122 pInput, *(*section)
[all...]
H A DGarbageCollection.cpp43 // SectionMap will cause the output order change in .text section and leads to
50 /// shouldKeep - check the section name for the keep sections
61 /// shouldProcessGC - check if the section kind is handled in GC
109 // section
131 // bypass the discarded relocation section
132 // 1. its section kind is changed to Ignore. (The target section is a
133 // discarded group section.)
168 // of this section, create an entry in ReachedSections map
190 LDSection* section local
332 LDSection* section = *sect; local
[all...]
H A DELFObjectWriter.cpp53 LDSection* section) {
56 switch (section->kind()) {
58 if (section->getSectionData() == NULL)
69 region = pOutput.request(section->offset(), section->size());
85 llvm::errs() << "WARNING: unsupported section kind: " << section->kind()
86 << " of section " << section->name() << ".\n";
91 switch (section
51 writeSection(Module& pModule, FileOutputBuffer& pOutput, LDSection* section) argument
371 Module::const_iterator section, sectEnd = pModule.end(); local
[all...]
H A DELFReader.cpp53 /// readRegularSection - read a regular section and create fragments.
103 // If the section should not be included, set the st_shndx SHN_UNDEF
104 // - A section in interrelated groups are not included.
121 // get ld_value - ld_value must be section relative.
127 // get section
128 LDSection* section = NULL; local
130 section = pInput.context()->getSection(st_shndx);
135 // Section symbol's st_name is the section index.
136 assert(section != NULL && "get a invalid section");
405 LDSection* section = IRBuilder::CreateELFHeader( local
628 LDSection* section = NULL; local
899 LDSection* section = IRBuilder::CreateELFHeader( local
[all...]
H A DEhFrameReader.cpp120 LDSection& section = pEhFrame.getSection(); local
121 if (section.size() == 0x0) {
128 uint64_t file_off = pInput.fileOffset() + section.offset();
130 pInput.memArea()->request(file_off, section.size());
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DXmpDepthDecode.java126 // to hold the section data from image file.
156 // The main XMP section referenced an extended section that is not present.
165 // The main XMP section referenced an extended section that is not present.
189 * all sections. The last section with image data will have -1 length.
223 Section section = new Section();
224 section.marker = marker;
225 section.length = -1;
226 section
[all...]
/frameworks/base/libs/incident/proto/android/
H A Dsection.proto55 // If true, then the section will only be generated for userdebug and eng
61 // Flags for automatically section list generation
62 optional SectionFlags section = 155792027;
/frameworks/base/libs/incident/src/
H A DIncidentReportArgs.cpp108 int32_t section; local
109 err = in->readInt32(&section);
114 mSections.insert(section);
156 IncidentReportArgs::addSection(int section) argument
159 mSections.insert(section);
176 IncidentReportArgs::containsSection(int section) const
178 return mAll || mSections.find(section) != mSections.end();
/frameworks/base/cmds/incident/
H A DAndroid.mk38 $(gen): $(HOST_OUT_EXECUTABLES)/incident-section-gen
40 $(HOST_OUT_EXECUTABLES)/incident-section-gen incident > $@
41 $(gen): $(HOST_OUT_EXECUTABLES)/incident-section-gen
H A Dmain.cpp47 virtual Status onReportSectionStatus(int32_t section, int32_t status);
68 StatusListener::onReportSectionStatus(int32_t section, int32_t status) argument
70 fprintf(stderr, "section %d status %d\n", section, status);
133 IncidentSection const* section = INCIDENT_SECTIONS + mid; local
135 int cmp = strcmp(section->name, name);
141 return section;
225 int section = strtol(arg, &end, 0); local
227 args.addSection(section);
231 fprintf(stderr, "Invalid section
[all...]
/frameworks/base/cmds/incidentd/tests/
H A DReporter_test.cpp53 virtual Status onReportSectionStatus(int section, int status) { argument
56 if (startSections.count(section) == 0) startSections[section] = 0;
57 startSections[section] = startSections[section] + 1;
60 if (finishSections.count(section) == 0) finishSections[section] = 0;
61 finishSections[section] = finishSections[section] + 1;
/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_smoke_test.cpp47 * section details generated by dumpstate are added to a vector to be used by Tests later.
193 * Runs tests on section data generated by dumpstate and captured by DumpstateListener.
199 for (auto const& section : *ZippedBugreportGenerationTest::sections) {
200 if (section.name.find(substring) != std::string::npos) {
207 for (auto const& section : *ZippedBugreportGenerationTest::sections) {
208 if (sectionName == section.name) {
209 EXPECT_GE(section.size_bytes, minsize);
219 for (auto const& section : *ZippedBugreportGenerationTest::sections) {
220 EXPECT_EQ(section.status, 0) << section
[all...]
/frameworks/base/cmds/incident_helper/src/
H A Dmain.cpp42 fprintf(out, " -s section id, must be positive\n");
46 static TextParserBase* selectParser(int section) { argument
47 switch (section) {
53 case 1: // 1 is reserved for incident header so it won't be section id
56 // IDs larger than 1 are section ids reserved in incident.proto
98 fprintf(stderr, "Pasring section %d...\n", sectionID);
104 fprintf(stderr, "Parse error in section %d: %s\n", sectionID, strerror(-err));
110 fprintf(stderr, "Finish section %d, exiting...\n", sectionID);
/frameworks/base/libs/incident/include/android/os/
H A DIncidentReportArgs.h51 void addSection(int section);
55 bool containsSection(int section) const;
/frameworks/base/cmds/incidentd/src/
H A DReporter.cpp180 for (const Section** section = SECTION_LIST; *section; section++) {
181 const int id = (*section)->id;
182 if ((*section)->userdebugAndEngOnly && !isUserdebugOrEng) {
183 ALOGD("Skipping incident report section %d '%s' because it's limited to userdebug/eng",
184 id, (*section)->name.string());
188 ALOGD("Taking incident report section %d '%s'", id, (*section)->name.string());
199 err = (*section)
[all...]
/frameworks/compile/mclinker/unittests/
H A DNamePoolTest.cpp147 const llvm::MCSectionData* section = 0; local
154 name, isDyn, type, binding, section, value, size, other);
173 const llvm::MCSectionData* section = 0; local
184 name, isDyn, type, binding, section, value, size, other);
194 name, isDyn, type, binding, section, value, size, other);
203 name, isDyn, type, binding, section, value, size, other);
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator.cpp59 inline static UnifiedSpan UntranslatableSectionToUnifiedSpan(const UntranslatableSection& section) { argument
61 {}, static_cast<uint32_t>(section.start), static_cast<uint32_t>(section.end) - 1};
167 // An untranslatable section has begun!
193 // An end to an untranslatable section.
251 for (const UntranslatableSection& section : string->untranslatable_sections) {
252 // Pseudolocalize the content before the untranslatable section.
253 const size_t len = section.start - start;
259 result += original_string.substr(section.start, section
[all...]
/frameworks/base/cmds/idmap/
H A Dinspect.cpp128 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument
132 printf("%-12s %-12s 0x%08x ", section, subsection, value);
138 void print_path(const char *section, const char *subsection, const char *fmt, ...) { argument
142 printf("%-12s %-12s .......... ", section, subsection);
/frameworks/base/cmds/statsd/src/subscriber/
H A DIncidentdReporter.cpp34 VLOG("The alert %lld contains zero section in config(%d,%lld)", (unsigned long long)rule_id,
48 incidentReport.addSection(config.section(i));
/frameworks/base/cmds/incidentd/
H A DAndroid.mk63 $(GEN_LIST): $(HOST_OUT_EXECUTABLES)/incident-section-gen
65 $(HOST_OUT_EXECUTABLES)/incident-section-gen incidentd > $@
66 $(GEN_LIST): $(HOST_OUT_EXECUTABLES)/incident-section-gen
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A DDot_p_opt.s29 .section .text
H A Dscale_sig_opt.s27 .section .text

Completed in 501 milliseconds

123