diff --git a/graphics/allocator/4.0/IAllocator.hal b/graphics/allocator/4.0/IAllocator.hal index 9931685abc..7934867be9 100644 --- a/graphics/allocator/4.0/IAllocator.hal +++ b/graphics/allocator/4.0/IAllocator.hal @@ -19,14 +19,6 @@ package android.hardware.graphics.allocator@4.0; import android.hardware.graphics.mapper@4.0; interface IAllocator { - /** - * Retrieves implementation-defined debug information, which will be - * displayed during, for example, `dumpsys SurfaceFlinger`. - * - * @return debugInfo is a string of debug information. - */ - dumpDebugInfo() generates (string debugInfo); - /** * Allocates buffers with the properties specified by the descriptor. * diff --git a/graphics/mapper/4.0/utils/vts/MapperVts.cpp b/graphics/mapper/4.0/utils/vts/MapperVts.cpp index 8a5f54ebac..cb90fa0597 100644 --- a/graphics/mapper/4.0/utils/vts/MapperVts.cpp +++ b/graphics/mapper/4.0/utils/vts/MapperVts.cpp @@ -71,13 +71,6 @@ sp Gralloc::getAllocator() const { return mAllocator; } -std::string Gralloc::dumpDebugInfo() { - std::string debugInfo; - mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { debugInfo = tmpDebugInfo.c_str(); }); - - return debugInfo; -} - const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); EXPECT_NE(nullptr, bufferHandle); diff --git a/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/MapperVts.h b/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/MapperVts.h index 1c635c402c..cd40aa4151 100644 --- a/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/MapperVts.h +++ b/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/MapperVts.h @@ -45,8 +45,6 @@ class Gralloc { sp getAllocator() const; - std::string dumpDebugInfo(); - // When import is false, this simply calls IAllocator::allocate. When import // is true, the returned buffers are also imported into the mapper. // diff --git a/graphics/mapper/4.0/vts/functional/VtsHalGraphicsMapperV4_0TargetTest.cpp b/graphics/mapper/4.0/vts/functional/VtsHalGraphicsMapperV4_0TargetTest.cpp index 7dc733cb98..4a0aabf1a3 100644 --- a/graphics/mapper/4.0/vts/functional/VtsHalGraphicsMapperV4_0TargetTest.cpp +++ b/graphics/mapper/4.0/vts/functional/VtsHalGraphicsMapperV4_0TargetTest.cpp @@ -305,13 +305,6 @@ const std::set GraphicsMapperHidlTest::sRequiredMetadataTy StandardMetadataType::BLEND_MODE, }; -/** - * Test IAllocator::dumpDebugInfo by calling it. - */ -TEST_P(GraphicsMapperHidlTest, AllocatorDumpDebugInfo) { - mGralloc->dumpDebugInfo(); -} - /** * Test IAllocator::allocate with valid buffer descriptors. */