SF: Adding Idle Timer, to detect when devices are idle.

If SF has not received request for the next vsync in 30ms, the device is
considered idle.

The timeout ms can be set via setprop flag: debug.sf.set_idle_timer_ms

see go/surface-flinger-scheduler for more info.

Test: Adding tests for new class.
Bug: 113612090
Change-Id: I5dae075012f3fef9bb8ed48121367c80dff39de0
9 files changed