Searched refs:layerProto (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/surfaceflinger/layerproto/ |
D | LayerProtoParser.cpp | 77 LayerProtoParser::Layer LayerProtoParser::generateLayer(const LayerProto& layerProto) { in generateLayer() argument 79 layer.id = layerProto.id(); in generateLayer() 80 layer.name = layerProto.name(); in generateLayer() 81 layer.type = layerProto.type(); in generateLayer() 82 layer.transparentRegion = generateRegion(layerProto.transparent_region()); in generateLayer() 83 layer.visibleRegion = generateRegion(layerProto.visible_region()); in generateLayer() 84 layer.damageRegion = generateRegion(layerProto.damage_region()); in generateLayer() 85 layer.layerStack = layerProto.layer_stack(); in generateLayer() 86 layer.z = layerProto.z(); in generateLayer() 87 layer.position = {layerProto.position().x(), layerProto.position().y()}; in generateLayer() [all …]
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
D | TimeStatsHelper.cpp | 140 SFTimeStatsLayerProto layerProto; in toProto() local 141 layerProto.set_layer_name(layerName); in toProto() 142 layerProto.set_package_name(packageName); in toProto() 143 layerProto.set_total_frames(totalFrames); in toProto() 144 layerProto.set_dropped_frames(droppedFrames); in toProto() 146 SFTimeStatsDeltaProto* deltaProto = layerProto.add_deltas(); in toProto() 154 return layerProto; in toProto() 190 SFTimeStatsLayerProto* layerProto = globalProto.add_stats(); in toProto() local 191 layerProto->CopyFrom(ele->toProto()); in toProto()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 534 const SFTimeStatsLayerProto& layerProto = globalProto.stats().Get(0); in TEST_F() local 535 ASSERT_TRUE(layerProto.has_layer_name()); in TEST_F() 536 EXPECT_EQ(genLayerName(LAYER_ID_0), layerProto.layer_name()); in TEST_F() 537 ASSERT_TRUE(layerProto.has_total_frames()); in TEST_F() 538 EXPECT_EQ(1, layerProto.total_frames()); in TEST_F() 539 ASSERT_EQ(6, layerProto.deltas_size()); in TEST_F() 540 for (const SFTimeStatsDeltaProto& deltaProto : layerProto.deltas()) { in TEST_F() 598 const SFTimeStatsLayerProto& layerProto = globalProto.stats().Get(0); in TEST_F() local 599 ASSERT_TRUE(layerProto.has_layer_name()); in TEST_F() 600 EXPECT_EQ(genLayerName(LAYER_ID_0), layerProto.layer_name()); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 135 static LayerProtoParser::Layer generateLayer(const LayerProto& layerProto); 142 static void updateChildrenAndRelative(const LayerProto& layerProto,
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 2199 LayerProto* layerProto = layersProto.add_layers(); in writeToProto() local 2200 writeToProtoDrawingState(layerProto, traceFlags, display); in writeToProto() 2201 writeToProtoCommonState(layerProto, LayerVector::StateSet::Drawing, traceFlags); in writeToProto() 2207 layerProto->set_hwc_composition_type(static_cast<HwcCompositionType>(compositionType)); in writeToProto() 2215 return layerProto; in writeToProto()
|
D | SurfaceFlinger.cpp | 4650 LayerProto* layerProto = in dumpOffscreenLayersProto() local 4652 layerProto->set_parent(offscreenRootLayerId); in dumpOffscreenLayersProto()
|