Dump WindowInfo when tests fail

Use assertAndDumpWindowState to check the condition and dump the window
state when it fails.

Test: SurfaceControlViewHostTests
Test: TrustedOverlayTests
Bug: 314243641
Change-Id: Ia1a785c6ddaefc415ca89573ee5913dcb2632824
2 files changed