Commit Graph

7 Commits

Author SHA1 Message Date
Amy
bd8b4fa1ae Add sendVolumeKeyEvent API to handle forwarding volume key separately.
Note that we handle volume key the same way as other keys before when
forwarding them to other cec devices. But the destination device of
volume key might be different from other function keys.

We might need to take the System Audio Control logic into this
forwarding proccess to find the proper audio receiver address.

Test: make -j44
Bug: 123369653
Change-Id: I6c9dba2b333e7eaa5137a8d2f5bfed506ae8554b
(cherry picked from commit 5db0138297836baf570f354c0b2ecb988d30936b)
2019-02-01 19:13:27 +00:00
shubang
19ccf61302 Deprecate isConnectedToHdmiSwitch
ag/5655140

Bug: 120108729
Test: make; local tests
Change-Id: I889e267ec120f8e6fedc8cd8ab80b68b3a6fb6f5
2019-01-16 15:24:40 -08:00
Amy
6f031afecf Add APIs to expose some cec control to other services.
ag/5398143

We exposed Power on/Power off/Device select/Connected device list
query from HdmiControlManager.

Test: local tested
Bug: 117775357
Change-Id: Iee495e7131f44282a60e83ad827faa1431a30389
2019-01-15 18:02:34 -08:00
Amy
d58d0aa450 Add a getPhysicalAddress api to hdmicontrolservice.
ag/5309322

This is helpful when other services need physical address to get the
index of the port according to the physical address reported from the
device connected(not necessarily directly) to the current device.

Test: local tested.
Change-Id: I224a16166e4dabccf81dc34eb479e469c29ac3a0
2019-01-14 11:35:46 -08:00
Amy
4ad4e78c38 Set System Audio Mode on when switch to Audio Only source
ag/5298361

Test: local tested.
Bug:80296134
Change-Id: Ie774b0ebe9a147dd650ff92c7af62439d9ae9af0
2019-01-14 11:33:18 -08:00
KOUSHIK PANUGANTI
7b8827a0a8 Migrate frameworks/base/core/tests/hdmitests to androidx.test
See go/jetpack-test-android-migration

Test: make checkbuild
Change-Id: I9c3e91b160fa9105e77126dbf6027d03a86078d5
2018-12-17 16:47:38 -08:00
Shubang
ed6fb86391 Add tests for HdmiAudioSystemClient
Bug: 110430593
Test: atest android.hardware.hdmi
Change-Id: Id988ed8180b4728e96423d5d0ca38e017b01a97f
2018-07-19 17:09:25 -07:00