HDMI: Send device to sleep if TV reported it turned off.

Since TVs are not mandated to send <Standby> when going to sleep, this patch allows source devices to query TV's power status once every 60s to check if the TV turned off, s.t. they can go to sleep.

Flag: android.media.tv.flags.hdmi_control_enhanced_behavior
Bug: 332780751
Bug: 362555748
Change-Id: I5ffdadc74c86b0b0a6d7d118f06daed16954728b
4 files changed