d9be028d41b3ca81026016c4ddd2312ec3298fdb
Playback devices have HdmiProperties.cec_device_types() set to 'playback' and as a consequence, initializing HdmiControlService will automatically initialize a local playback device. This local playback device interferes with the playback device that is added in tests. Concretely, in the failing test the <Report Power Status> messages was being fed to the local playback device, instead of the test one. To resolve this, HdmiControlService is initialized with empty local devices, practically ignoring HdmiProperties.cec_device_types(). This will also avoid interference with other local devices while running these unit tests on f.e. a TV panel device. Also, isActiveSource() doesn't guarantee that oneTouchPlay() was executed, since the active source might have been set in a different method. We should additionally check if the correct CEC messages were sent. Bug: 187909454 Test: atest OneTouchPlayActionTest on cuttlefish and ADT3 Change-Id: I4599a240fa8a32f47a23c1f183d41e0d280152c3
Merge "Remove unnecessary entries in frameworks/base/config/OWNERS" am:
a2baa71441 am: e9ec371853 am: a8329471e4
Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am:
7226ad3729 am: a087245e03 am: 3dd40d172b
Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am:
7226ad3729 am: a087245e03 am: 3dd40d172b
Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am:
7226ad3729 am: a087245e03 am: 3dd40d172b
Merge "Use filegroups for test-{base,mock,runner} srcs" am:
af9b5f0a04 am: 06e56695cc am: 4eecbfcd41
Merge "Use filegroups for test-{base,mock,runner} srcs" am:
af9b5f0a04 am: 06e56695cc am: 4eecbfcd41
…
Merge "Apply the same filtering for docstubs and jarstubs" am:
46dff8e09f am: 8f1928f4ca am: 9e8186aaaf
Merge "Apply the same filtering for docstubs and jarstubs" am:
46dff8e09f am: 8f1928f4ca am: 9e8186aaaf
…
Merge "Move hiddenapi sort preupload tools to tools/platform-compat" am:
b82853357b am: 89aedd6cb8 am: af77c134d9
Merge "Apply the same filtering for docstubs and jarstubs" am:
46dff8e09f am: 8f1928f4ca am: 9e8186aaaf
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%