Limit power status queries for 2.0 devices on OTP
For 2.0 devices suppress the 1st queryDevicePowerStatus() and give the TV the time to report the power status at its own initiative. Keep consecutive calls of queryDevicePowerStatus() in case the TV failed to report its power status within the first 2 seconds.
Tests consist of existing tests ported from vendor/google_experimental and new tests.
Test: atest OneTouchPlayActionTest and atest HdmiCecLocalDevicePlaybackTest
Bug: 179463842
Bug: 176920796
Change-Id: Ide13dd247a904aa9c89baabb4752ceb3d183d9e7
3 files changed