Loading libs/gui/ISurfaceComposer.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -691,8 +691,7 @@ public: return result; } virtual status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* outLayers) const { virtual status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* outLayers) { if (!outLayers) { return UNEXPECTED_NULL; } Loading libs/gui/include/gui/ISurfaceComposer.h +1 −1 Original line number Diff line number Diff line Loading @@ -354,7 +354,7 @@ public: * * Requires the ACCESS_SURFACE_FLINGER permission. */ virtual status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* outLayers) const = 0; virtual status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* outLayers) = 0; virtual status_t getColorManagement(bool* outGetColorManagement) const = 0; Loading libs/gui/tests/Surface_test.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -785,7 +785,7 @@ public: return NO_ERROR; } status_t injectVSync(nsecs_t /*when*/) override { return NO_ERROR; } status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* /*layers*/) const override { status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* /*layers*/) override { return NO_ERROR; } status_t getCompositionPreference( Loading services/gpuservice/GpuService.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,6 @@ status_t GpuService::doDump(int fd, const Vector<String16>& args, bool /*asProto size_t numArgs = args.size(); if (numArgs) { dumpAll = false; for (size_t index = 0; index < numArgs; ++index) { if (args[index] == String16("--gpustats")) { dumpStats = true; Loading @@ -102,6 +101,7 @@ status_t GpuService::doDump(int fd, const Vector<String16>& args, bool /*asProto dumpDriverInfo = true; } } dumpAll = !(dumpDriverInfo || dumpStats); } if (dumpAll || dumpDriverInfo) { Loading services/surfaceflinger/Layer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1501,7 +1501,7 @@ LayerDebugInfo Layer::getLayerDebugInfo(const DisplayDevice* display) const { LayerDebugInfo info; const State& ds = getDrawingState(); info.mName = getName(); sp<Layer> parent = getParent(); sp<Layer> parent = mDrawingParent.promote(); info.mParentName = parent ? parent->getName() : "none"s; info.mType = getType(); info.mTransparentRegion = ds.activeTransparentRegion_legacy; Loading Loading
libs/gui/ISurfaceComposer.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -691,8 +691,7 @@ public: return result; } virtual status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* outLayers) const { virtual status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* outLayers) { if (!outLayers) { return UNEXPECTED_NULL; } Loading
libs/gui/include/gui/ISurfaceComposer.h +1 −1 Original line number Diff line number Diff line Loading @@ -354,7 +354,7 @@ public: * * Requires the ACCESS_SURFACE_FLINGER permission. */ virtual status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* outLayers) const = 0; virtual status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* outLayers) = 0; virtual status_t getColorManagement(bool* outGetColorManagement) const = 0; Loading
libs/gui/tests/Surface_test.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -785,7 +785,7 @@ public: return NO_ERROR; } status_t injectVSync(nsecs_t /*when*/) override { return NO_ERROR; } status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* /*layers*/) const override { status_t getLayerDebugInfo(std::vector<LayerDebugInfo>* /*layers*/) override { return NO_ERROR; } status_t getCompositionPreference( Loading
services/gpuservice/GpuService.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,6 @@ status_t GpuService::doDump(int fd, const Vector<String16>& args, bool /*asProto size_t numArgs = args.size(); if (numArgs) { dumpAll = false; for (size_t index = 0; index < numArgs; ++index) { if (args[index] == String16("--gpustats")) { dumpStats = true; Loading @@ -102,6 +101,7 @@ status_t GpuService::doDump(int fd, const Vector<String16>& args, bool /*asProto dumpDriverInfo = true; } } dumpAll = !(dumpDriverInfo || dumpStats); } if (dumpAll || dumpDriverInfo) { Loading
services/surfaceflinger/Layer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1501,7 +1501,7 @@ LayerDebugInfo Layer::getLayerDebugInfo(const DisplayDevice* display) const { LayerDebugInfo info; const State& ds = getDrawingState(); info.mName = getName(); sp<Layer> parent = getParent(); sp<Layer> parent = mDrawingParent.promote(); info.mParentName = parent ? parent->getName() : "none"s; info.mType = getType(); info.mTransparentRegion = ds.activeTransparentRegion_legacy; Loading