SF: Test coverage for onHotplugReceived

Add unit tests to cover SurfaceFlinger::onHotplugReceived()

Test: libsurfaceflinger_unittest passes on Pixel XL
Bug: 74827900
Change-Id: I6989f11d1dab27defb7b6bd9d7cbbc7865b20c57
2 files changed