Adding new API to restrict Display modes to specific ids

Part of VRR support for DisplayManager

Allows internal application to request specific display modes

As a part of this CL, extracted ProximitySensorObserver to separate class and added tests

Test: atest SensorObserverTest
Bug: b/309466682
API-Coverage-Bug: b/313916551
Change-Id: I90b6ac36849fa9d0c10857300b9fedaafd04fdad
11 files changed