SF: Make message refresh loop over displays

Update message refresh handling to loop over the displays
at the top level and have each sub-function operate on the
passed in display.  This will facilitate later updates that
allow for an SFBE per display.

Bug: 112259502
Test: cts -m CtsViewTestCases
      SurfaceFlinger_test
      vrflinger_test

Change-Id: I0284540563e532aa33a635c1642212eeb3f78bf4
2 files changed