Home
last modified time | relevance | path

Searched refs:hierarchyBuilder (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHierarchyTest.cpp48 LayerHierarchyBuilder hierarchyBuilder; in TEST_F() local
49 hierarchyBuilder.update(mLifecycleManager); in TEST_F()
51 EXPECT_EQ(getTraversalPath(hierarchyBuilder.getHierarchy()), expectedTraversalPath); in TEST_F()
52 EXPECT_EQ(getTraversalPathInZOrder(hierarchyBuilder.getHierarchy()), expectedTraversalPath); in TEST_F()
54 EXPECT_EQ(getTraversalPath(hierarchyBuilder.getOffscreenHierarchy()), expectedTraversalPath); in TEST_F()
59 UPDATE_AND_VERIFY(hierarchyBuilder); in TEST_F()
61 EXPECT_EQ(getTraversalPath(hierarchyBuilder.getHierarchy()), expectedTraversalPath); in TEST_F()
62 EXPECT_EQ(getTraversalPathInZOrder(hierarchyBuilder.getHierarchy()), expectedTraversalPath); in TEST_F()
64 EXPECT_EQ(getTraversalPath(hierarchyBuilder.getOffscreenHierarchy()), expectedTraversalPath); in TEST_F()
68 LayerHierarchyBuilder hierarchyBuilder; in TEST_F() local
[all …]
DFpsReporterTest.cpp162 frontend::LayerHierarchyBuilder hierarchyBuilder; in TEST_F() local
163 hierarchyBuilder.update(mLifecycleManager); in TEST_F()
172 mFpsReporter->dispatchLayerFps(hierarchyBuilder.getHierarchy()); in TEST_F()
178 mFpsReporter->dispatchLayerFps(hierarchyBuilder.getHierarchy()); in TEST_F()
188 frontend::LayerHierarchyBuilder hierarchyBuilder; in TEST_F() local
189 hierarchyBuilder.update(mLifecycleManager); in TEST_F()
200 mFpsReporter->dispatchLayerFps(hierarchyBuilder.getHierarchy()); in TEST_F()
203 mFpsReporter->dispatchLayerFps(hierarchyBuilder.getHierarchy()); in TEST_F()
206 mFpsReporter->dispatchLayerFps(hierarchyBuilder.getHierarchy()); in TEST_F()
209 mFpsReporter->dispatchLayerFps(hierarchyBuilder.getHierarchy()); in TEST_F()
DLayerHierarchyTest.h189 void updateAndVerify(LayerHierarchyBuilder& hierarchyBuilder) { in updateAndVerify() argument
190 hierarchyBuilder.update(mLifecycleManager); in updateAndVerify()
196 EXPECT_EQ(getTraversalPath(hierarchyBuilder.getHierarchy()), in updateAndVerify()
198 EXPECT_EQ(getTraversalPathInZOrder(hierarchyBuilder.getHierarchy()), in updateAndVerify()
/frameworks/native/services/surfaceflinger/Tracing/tools/
DLayerTraceGenerator.cpp70 frontend::LayerHierarchyBuilder hierarchyBuilder; in generate() local
138 hierarchyBuilder.update(lifecycleManager); in generate()
141 frontend::LayerSnapshotBuilder::Args args{.root = hierarchyBuilder.getHierarchy(), in generate()
165 .generate(hierarchyBuilder.getHierarchy()); in generate()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaPolicyBuilder.java224 HierarchyBuilder hierarchyBuilder = mDisplayAreaGroupHierarchyBuilders.get(i); in validate() local
225 validateIds(hierarchyBuilder, uniqueIdSet, allIdSet); in validate()
227 if (hierarchyBuilder.mTaskDisplayAreas.isEmpty()) { in validate()
233 if (hierarchyBuilder.mImeContainer != null) { in validate()
238 containsImeContainer = hierarchyBuilder.mImeContainer != null; in validate()
242 if (containsDefaultTaskDisplayArea(hierarchyBuilder)) { in validate()
247 containsDefaultTda = containsDefaultTaskDisplayArea(hierarchyBuilder); in validate()
356 HierarchyBuilder hierarchyBuilder = mDisplayAreaGroupHierarchyBuilders.get(i); in build() local
357 hierarchyBuilder.build(); in build()
358 displayAreaGroupRoots.add(hierarchyBuilder.mRoot); in build()