1) DM Generalization of Refresh Rates: adding calls to DM and Surface Control

Bug: 142507213

Test: 1. Manually verified refresh rate switching behavior on a phone
with refresh rate switching.

2. Wrote a new test file, DisplayModeDirectorTest.java, to verify the
behavior of the display mode voting algorithm.

Change-Id: Iceac6fd74e6528ddb2302f4d7eb926753e4ffd19
8 files changed