Home
last modified time | relevance | path

Searched refs:layersProto (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DStress_test.cpp55 surfaceflinger::LayersProto layersProto; in generateLayerProto() local
58 layers[i] = layersProto.add_layers(); in generateLayerProto()
98 return layersProto; in generateLayerProto()
106 surfaceflinger::LayersProto layersProto = generateLayerProto(); in TEST() local
107 auto layerTree = surfaceflinger::LayerProtoParser::generateLayerTree(layersProto); in TEST()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp40 LayerProtoParser::LayerTree LayerProtoParser::generateLayerTree(const LayersProto& layersProto) { in generateLayerTree() argument
42 layerTree.allLayers = generateLayerList(layersProto); in generateLayerTree()
56 const LayersProto& layersProto) { in generateLayerList() argument
61 layerList.reserve(layersProto.layers_size()); in generateLayerList()
62 layerMap.reserve(layersProto.layers_size()); in generateLayerList()
63 for (int i = 0; i < layersProto.layers_size(); i++) { in generateLayerList()
64 layerList.emplace_back(generateLayer(layersProto.layers(i))); in generateLayerList()
70 for (int i = 0; i < layersProto.layers_size(); i++) { in generateLayerList()
71 updateChildrenAndRelative(layersProto.layers(i), layerMap); in generateLayerList()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h130 static LayerTree generateLayerTree(const LayersProto& layersProto);
134 static std::vector<Layer> generateLayerList(const LayersProto& layersProto);
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp4349 const LayersProto layersProto = dumpProtoFromMainThread(); in doDump() local
4351 result.append(layersProto.SerializeAsString()); in doDump()
4354 const auto layerTree = LayerProtoParser::generateLayerTree(layersProto); in doDump()
4624 LayersProto layersProto; in dumpDrawingStateProto() local
4626 layer->writeToProto(layersProto, traceFlags, display.get()); in dumpDrawingStateProto()
4629 return layersProto; in dumpDrawingStateProto()
4636 void SurfaceFlinger::dumpOffscreenLayersProto(LayersProto& layersProto, uint32_t traceFlags) const { in dumpOffscreenLayersProto() argument
4639 LayerProto* rootProto = layersProto.add_layers(); in dumpOffscreenLayersProto()
4651 offscreenLayer->writeToProto(layersProto, traceFlags, nullptr /*device*/); in dumpOffscreenLayersProto()
DLayer.cpp2197 LayerProto* Layer::writeToProto(LayersProto& layersProto, uint32_t traceFlags, in writeToProto() argument
2199 LayerProto* layerProto = layersProto.add_layers(); in writeToProto()
2212 layer->writeToProto(layersProto, traceFlags, display); in writeToProto()
DLayer.h531 LayerProto* writeToProto(LayersProto& layersProto, uint32_t traceFlags,
DSurfaceFlinger.h964 void dumpOffscreenLayersProto(LayersProto& layersProto,