Searched refs:layerProto (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/surfaceflinger/layerproto/ |
D | LayerProtoParser.cpp | 87 LayerProtoParser::Layer LayerProtoParser::generateLayer(const LayerProto& layerProto) { in generateLayer() argument 89 layer.id = layerProto.id(); in generateLayer() 90 layer.name = layerProto.name(); in generateLayer() 91 layer.type = layerProto.type(); in generateLayer() 92 layer.transparentRegion = generateRegion(layerProto.transparent_region()); in generateLayer() 93 layer.visibleRegion = generateRegion(layerProto.visible_region()); in generateLayer() 94 layer.damageRegion = generateRegion(layerProto.damage_region()); in generateLayer() 95 layer.layerStack = layerProto.layer_stack(); in generateLayer() 96 layer.z = layerProto.z(); in generateLayer() 97 layer.position = {layerProto.position().x(), layerProto.position().y()}; in generateLayer() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 288 const SFTimeStatsLayerProto& layerProto = globalProto.stats().Get(0); in TEST_F() local 289 ASSERT_TRUE(layerProto.has_layer_name()); in TEST_F() 290 EXPECT_EQ(genLayerName(LAYER_ID_0), layerProto.layer_name()); in TEST_F() 291 ASSERT_TRUE(layerProto.has_total_frames()); in TEST_F() 292 EXPECT_EQ(1, layerProto.total_frames()); in TEST_F() 293 ASSERT_EQ(6, layerProto.deltas_size()); in TEST_F() 294 for (const SFTimeStatsDeltaProto& deltaProto : layerProto.deltas()) { in TEST_F() 352 const SFTimeStatsLayerProto& layerProto = globalProto.stats().Get(0); in TEST_F() local 353 ASSERT_TRUE(layerProto.has_layer_name()); in TEST_F() 354 EXPECT_EQ(genLayerName(LAYER_ID_0), layerProto.layer_name()); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
D | TimeStatsHelper.cpp | 123 SFTimeStatsLayerProto layerProto; in toProto() local 124 layerProto.set_layer_name(layerName); in toProto() 125 layerProto.set_package_name(packageName); in toProto() 126 layerProto.set_total_frames(totalFrames); in toProto() 127 layerProto.set_dropped_frames(droppedFrames); in toProto() 129 SFTimeStatsDeltaProto* deltaProto = layerProto.add_deltas(); in toProto() 137 return layerProto; in toProto() 163 SFTimeStatsLayerProto* layerProto = globalProto.add_stats(); in toProto() local 164 layerProto->CopyFrom(ele->toProto()); in toProto()
|
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 145 static LayerProtoParser::Layer generateLayer(const LayerProto& layerProto); 152 static void updateChildrenAndRelative(const LayerProto& layerProto,
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 4918 LayerProto* layerProto = layersProto.add_layers(); in dumpDrawingStateProto() local 4919 layer->writeToProtoDrawingState(layerProto, traceFlags); in dumpDrawingStateProto() 4920 layer->writeToProtoCommonState(layerProto, LayerVector::StateSet::Drawing, traceFlags); in dumpDrawingStateProto() 4951 LayerProto* layerProto = layersProto.add_layers(); in dumpVisibleLayersProtoInfo() local 4952 layer->writeToProtoCompositionState(layerProto, displayDevice); in dumpVisibleLayersProtoInfo()
|