summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
diff options
context:
space:
mode:
author Paul <donpaul@google.com> 2021-09-15 15:45:35 +0000
committer Paul <donpaul@google.com> 2021-09-24 11:39:58 +0000
commitbbdceb959385f79a3268ca0b6413e1a84431b160 (patch)
tree31aae154b643a8c82ead8c82c45ea6e1d91a9e4e /tests/DynamicCodeLoggerIntegrationTests/src
parentc39842abd94509113b2d9e5cc904015c3e20cecd (diff)
HDMICEC: Add a new validation to CEC messages
Add one more parameter to the isValid() method to indicate if the message that needs to be validated is sent or received by the device. Add a filter that ignores received messages which have source's logical address equal to device's logical address. Revise isValid() calls and tests affected by the change. Edit HdmiControlServiceTest#handleCecCommand_errorParameter_returnsAbortInvalidOperand() test. Since the logical address Constants.ADDR_PLAYBACK_1 is already used by mPlaybackDeviceSpy the message's source is set to Constants.ADDR_PLAYBACK_2; otherwise HdmiCecMessageValidator#isValid() fails with a different error code than expected. Bug: 196943901 Bug: 198261021 Test: make && atest CtsHdmiCecHostTestCases Change-Id: I274a9a2385d616784dfc891aabd8f335c32658da Merged-In: I274a9a2385d616784dfc891aabd8f335c32658da
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions