Home
last modified time | relevance | path

Searched refs:sections (Results 1 – 25 of 49) 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/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManager.kt171 sections: Array<NotificationSection>, in <lambda>()
184 size = sections.size, in <lambda>()
189 val oldFirstChildren = sections.mapNotNull { it.firstVisibleChild }.toSet().toMutableSet() in <lambda>()
190 val oldLastChildren = sections.mapNotNull { it.lastVisibleChild }.toSet().toMutableSet() in <lambda>()
193 val changed = sections.fold(false) { changed, section -> in <lambda>()
200 val newFirstChildren = sections.mapNotNull { it.firstVisibleChild } in <lambda>()
201 val newLastChildren = sections.mapNotNull { it.lastVisibleChild } in <lambda>()
231 logSections(sections) in <lambda>()
236 private fun logSections(sections: Array<NotificationSection>) { in <lambda>()
237 for (i in sections.indices) { in <lambda>()
[all …]
DNotificationRoundnessManager.java288 public void updateRoundedChildren(NotificationSection[] sections) { in updateRoundedChildren() argument
291 for (int i = 0; i < sections.length; i++) { in updateRoundedChildren()
294 mFirstInSectionViews[i] = sections[i].getFirstVisibleChild(); in updateRoundedChildren()
295 mLastInSectionViews[i] = sections[i].getLastVisibleChild(); in updateRoundedChildren()
297 anyChanged |= handleRemovedOldViews(sections, mTmpFirstInSectionViews, true); in updateRoundedChildren()
298 anyChanged |= handleRemovedOldViews(sections, mTmpLastInSectionViews, false); in updateRoundedChildren()
299 anyChanged |= handleAddedNewViews(sections, mTmpFirstInSectionViews, true); in updateRoundedChildren()
300 anyChanged |= handleAddedNewViews(sections, mTmpLastInSectionViews, false); in updateRoundedChildren()
305 mNotifLogger.onSectionCornersUpdated(sections, anyChanged); in updateRoundedChildren()
309 NotificationSection[] sections, in handleRemovedOldViews() argument
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderInfoTemplated.h45 SortedVector<String8> sections; in createDescriptorFromIdl() local
57 sections.add(sectionString); in createDescriptorFromIdl()
85 desc->mSections = sections; in createDescriptorFromIdl()
92 ssize_t index = sections.indexOf(sectionString); in createDescriptorFromIdl()
/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/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()
206 static std::shared_ptr<std::vector<SectionInfo>> sections; member in android::os::dumpstate::ZippedBugreportGenerationTest
215 sp<DumpstateListener> listener(new DumpstateListener(dup(fileno(stdout)), sections)); in GenerateBugreport()
227 std::shared_ptr<std::vector<SectionInfo>> ZippedBugreportGenerationTest::sections = member in android::os::dumpstate::ZippedBugreportGenerationTest
338 ZippedBugreportGenerationTest::sections.get()); in SetUpTestCase()
343 for (auto const& section : *ZippedBugreportGenerationTest::sections) { in numMatches()
352 for (auto const& section : *ZippedBugreportGenerationTest::sections) { in SectionExists()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DSectionStyleProvider.kt36 fun setMinimizedSections(sections: Collection<NotifSectioner>) { in setMinimizedSections()
37 lowPrioritySections = sections.toSet() in setMinimizedSections()
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationRoundnessLogger.kt59 fun onSectionCornersUpdated(sections: Array<NotificationSection?>, anyChanged: Boolean) { in onSectionCornersUpdated()
64 int1 = sections.size in onSectionCornersUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/binder/
DUserSwitcherViewBinder.kt193 private var sections = listOf<List<UserActionViewModel>>() in <lambda>() variable in com.android.systemui.user.ui.binder.UserSwitcherViewBinder.MenuAdapter
196 return sections.size in <lambda>()
200 return sections[position] in <lambda>()
253 this.sections = listOf(primarySection, secondarySection) in <lambda>()
/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/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DSdCardEjectionTests.kt172 val sections = newVolume.split(" ") in retrieveNewVolume() constant
173 return Volume(diskId = sections.first(), fsUuid = sections.last()).also { in retrieveNewVolume()
/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/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()
312 StringList::const_iterator sect, sectEnd = pInput.spec().sections().end(); in matched()
313 for (sect = pInput.spec().sections().begin(); sect != sectEnd; ++sect) { in matched()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifPipeline.kt167 fun setSections(sections: List<NotifSectioner>) { in setSections()
168 mShadeListBuilder.setSectioners(sections) in setSections()
/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/base/libs/incident/include_priv/android/os/
DIncidentReportArgs.h61 inline const set<int>& sections() const { return mSections; } in sections() function
/frameworks/compile/mclinker/include/mcld/Script/
DInputSectDesc.h48 const StringList& sections() const { in sections() function
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationRoundnessManagerTest.java351 NotificationSection[] sections = new NotificationSection[]{ in testLoggingOnRoundingUpdate() local
355 mRoundnessManager.updateRoundedChildren(sections); in testLoggingOnRoundingUpdate()
356 verify(mLogger).onSectionCornersUpdated(sections, /*anyChanged=*/ true); in testLoggingOnRoundingUpdate()
/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.

12