Home
last modified time | relevance | path

Searched refs:sections (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DXmpDepthDecode.java134 List<Section> sections = parse(is, true, skipExtendedContent); in read() local
135 if (sections == null) { in read()
139 XMPMeta xmpMeta = parseFirstValidXMPSection(sections); in read()
155 if (!checkExtendedSectionExists(sections, extensionName)) { in read()
163 XMPMeta xmpExtended = parseExtendedXMPSections(sections, extensionName); in read()
198 List<Section> sections = new ArrayList<Section>(); in parse() local
200 return sections; in parse()
205 return sections; in parse()
210 return sections; in parse()
216 return sections; in parse()
[all …]
/frameworks/compile/mclinker/lib/Script/
DScriptFile.cpp90 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in addEntryPoint() local
91 sections->push_back(entry); in addEntryPoint()
149 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in addAssignment() local
151 assert(!sections->empty()); in addAssignment()
153 llvm::cast<OutputSectDesc>(sections->back()); in addAssignment()
159 sections->push_back(new Assignment(Assignment::OUTPUT_SECTION, in addAssignment()
190 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in enterOutputSectDesc() local
191 sections->push_back(new OutputSectDesc(pName, pProlog)); in enterOutputSectDesc()
199 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in leaveOutputSectDesc() local
201 assert(!sections->empty() && m_bInOutputSectDesc); in leaveOutputSectDesc()
[all …]
DInputSectDesc.cpp60 for (StringList::const_iterator it = m_Spec.sections().begin(), in dump()
61 ie = m_Spec.sections().end(); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationRoundnessManager.java157 public void updateRoundedChildren(NotificationSection[] sections) { in updateRoundedChildren() argument
159 for (int i = 0; i < sections.length; i++) { in updateRoundedChildren()
162 mFirstInSectionViews[i] = sections[i].getFirstVisibleChild(); in updateRoundedChildren()
163 mLastInSectionViews[i] = sections[i].getLastVisibleChild(); in updateRoundedChildren()
165 anyChanged |= handleRemovedOldViews(sections, mTmpFirstInSectionViews, true); in updateRoundedChildren()
166 anyChanged |= handleRemovedOldViews(sections, mTmpLastInSectionViews, false); in updateRoundedChildren()
167 anyChanged |= handleAddedNewViews(sections, mTmpFirstInSectionViews, true); in updateRoundedChildren()
168 anyChanged |= handleAddedNewViews(sections, mTmpLastInSectionViews, false); in updateRoundedChildren()
174 private boolean handleRemovedOldViews(NotificationSection[] sections, in handleRemovedOldViews() argument
181 for (NotificationSection section : sections) { in handleRemovedOldViews()
[all …]
DNotificationSectionsManager.kt468 sections: Array<NotificationSection>, in <lambda>()
481 size = sections.size, in <lambda>()
485 val changed = sections.fold(false) { changed, section -> in <lambda>()
490 logSections(sections) in <lambda>()
495 private fun logSections(sections: Array<NotificationSection>) { in <lambda>()
496 for (i in sections.indices) { in <lambda>()
497 val s = sections[i] in <lambda>()
/frameworks/base/libs/incident/tests/
DIncidentReportArgs_test.cpp57 set<int> sections; in TEST() local
58 sections.insert(1000); in TEST()
59 sections.insert(1001); in TEST()
60 EXPECT_EQ(sections, args2.sections()); in TEST()
DIncidentReportRequest_test.cpp106 set<int> sections; in TEST() local
107 sections.insert(1000); in TEST()
108 sections.insert(1001); in TEST()
109 EXPECT_EQ(sections, args->sections()); in TEST()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp103 void ParseSections(const std::string& zip_path, std::vector<SectionInfo>* sections) { in ParseSections() argument
125 sections->push_back({current_section_name, section_bytes}); in ParseSections()
144 DumpstateListener(int fd, std::shared_ptr<std::vector<SectionInfo>> sections) in DumpstateListener() argument
145 : out_fd_(fd), sections_(sections) { in DumpstateListener()
209 static std::shared_ptr<std::vector<SectionInfo>> sections; member in android::os::dumpstate::ZippedBugreportGenerationTest
221 sp<DumpstateListener> listener(new DumpstateListener(dup(fileno(stdout)), sections)); in SetUpTestCase()
233 std::shared_ptr<std::vector<SectionInfo>> ZippedBugreportGenerationTest::sections = member in android::os::dumpstate::ZippedBugreportGenerationTest
328 ZippedBugreportGenerationTest::sections.get()); in SetUpTestCase()
333 for (auto const& section : *ZippedBugreportGenerationTest::sections) { in numMatches()
342 for (auto const& section : *ZippedBugreportGenerationTest::sections) { in SectionExists()
[all …]
/frameworks/base/cmds/incident/
Dmain.cpp116 IncidentSection sections[INCIDENT_SECTION_COUNT]; in section_list() local
123 if (curr.id > sections[k].id) { in section_list()
127 curr = sections[k]; in section_list()
128 sections[k] = tmp; in section_list()
130 sections[j] = curr; in section_list()
137 fprintf(out, "id: %4d, name: %s\n", sections[i].id, sections[i].name); in section_list()
/frameworks/compile/mclinker/tools/mcld/
DOptions.td71 def GCSections : Flag<["--"], "gc-sections">,
73 HelpText<"Enable garbage collection of unused input sections">;
75 def NoGCSections : Flag<["--"], "no-gc-sections">,
77 HelpText<"Disable garbage collection of unused input sections">;
79 def PrintGCSections : Flag<["--"], "print-gc-sections">,
81 HelpText<"List all sections removed by garbage collection">;
83 def NoPrintGCSections : Flag<["--"], "no-print-gc-sections">,
85 HelpText<"Do not list sections removed by garbage collection">;
89 … HelpText<"Request creation of unwind info for linker generated code sections like PLT">;
93 … HelpText<"Don't create unwind info for linker generated sections to save size">;
[all …]
/frameworks/ml/nn/tools/api/
Dgenerate_api.py49 self.sections = dict() # key is section name, value is array of strings (lines) in the section
195 self.sections[self.section].extend(self.deflines[key]);
204 … assert not key in self.sections, "Duplicate definition of \"" + key + "\" on " + self.context()
205 self.sections[key] = []
298 self.sections[self.section].append(self.macro_substitution())
324 assert key in specification.sections, "Unknown section \"" + key + "\" on " + self.context()
325 for line in specification.sections[key]:
/frameworks/base/tools/incident_report/
Dmain.cpp314 vector<string> sections; in main() local
351 sections.push_back(argv[optind++]); in main()
384 char const** args = (char const**)malloc(sizeof(char*) * (10 + sections.size())); in main()
401 for (vector<string>::const_iterator it=sections.begin(); it!=sections.end(); it++) { in main()
/frameworks/base/cmds/incidentd/src/
Dreport_file.proto47 * Whether all available sections should be returned.
53 * list of sections that were requested.
90 * or header sections.
/frameworks/native/cmds/dumpstate/
Dbugreport-format.md50 - Some dumpsys sections (memory and cpuinfo) are reported earlier in the file.
74 - Two additional dumpsys sections are generated. The two new sections can be
76 - Services in the new sections will have a new header containing the
97 **1.0-dev1**. When `dumpsys` was split in 2 sections but not all tools were
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifPipeline.java159 public void setSections(List<NotifSection> sections) { in setSections() argument
160 mShadeListBuilder.setSections(sections); in setSections()
/frameworks/compile/mclinker/lib/Object/
DSectionMap.cpp47 StringList* sections = StringList::create(); in Input() local
48 sections->push_back( in Input()
50 m_Spec.m_pWildcardSections = sections; in Input()
313 StringList::const_iterator sect, sectEnd = pInput.spec().sections().end(); in matched()
314 for (sect = pInput.spec().sections().begin(); sect != sectEnd; ++sect) { in matched()
/frameworks/base/tools/incident_section_gen/
Dmain.cpp112 map<string,FieldDescriptor const*> sections; in generateIncidentSectionsCpp() local
117 sections[field->name()] = field; in generateIncidentSectionsCpp()
121 N = sections.size(); in generateIncidentSectionsCpp()
123 for (map<string,FieldDescriptor const*>::const_iterator it = sections.begin(); in generateIncidentSectionsCpp()
124 it != sections.end(); it++, i++) { in generateIncidentSectionsCpp()
/frameworks/compile/mclinker/include/mcld/Script/
DInputSectDesc.h48 const StringList& sections() const { in sections() function
/frameworks/base/libs/incident/include_priv/android/os/
DIncidentReportArgs.h61 inline const set<int>& sections() const { return mSections; } in sections() function
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java460 final Stack<Integer> sections = new Stack<>(); in decodeSmdxSubjectAndReasonCode() local
465 sections.push(sectionDigit); in decodeSmdxSubjectAndReasonCode()
469 String subjectCode = sections.pop() + "." + sections.pop() + "." + sections.pop(); in decodeSmdxSubjectAndReasonCode()
470 String reasonCode = sections.pop() + "." + sections.pop() + "." + sections.pop(); in decodeSmdxSubjectAndReasonCode()
/frameworks/hardware/interfaces/cameraservice/service/2.0/
DICameraService.hal84 * Read in the provider ids and corresponding vendor tag sections from the camera server.
93 * vendor tag sections.
/frameworks/base/core/java/android/widget/
DFastScroller.java1006 final Object[] sections = mSections; in scrollTo() local
1007 final int sectionCount = sections == null ? 0 : sections.length; in scrollTo()
1009 if (sections != null && sectionCount > 1) { in scrollTo()
1127 final Object[] sections = mSections; in transitionPreviewLayout() local
1129 if (sections != null && sectionIndex >= 0 && sectionIndex < sections.length) { in transitionPreviewLayout()
1130 final Object section = sections[sectionIndex]; in transitionPreviewLayout()
/frameworks/rs/script_api/include/
Drs_object_types.rsh151 …SIGNED_5_6_5 = 13, // A 16 bit unsigned integer packing graphical data in 5, 6, and 5 bit sections.
152 …D_5_5_5_1 = 14, // A 16 bit unsigned integer packing graphical data in 5, 5, 5, and 1 bit sections.
153 …D_4_4_4_4 = 15, // A 16 bit unsigned integer packing graphical data in 4, 4, 4, and 4 bit sections.
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/
DIncidentHelper.java21 import com.android.commands.incident.sections.PersistLogSection;
/frameworks/compile/libbcc/
DREADME.rst135 A cache file (denoted as \*.oBCC) for libbcc consists of several sections:
139 Here is the brief description of each sections:
144 and offset of other sections. The header section is guaranteed

12