CEC: Make HDMI CEC volume control configurable
Add API (backed by Setting) to enable/disable volume changes via HDMI CEC for HDMI CEC source devices. This state is persisted via Settings. If volume control is disabled, no incoming HDMI CEC commands related to volume will be processed. If disabled, no HDMI CEC volume control messages will be sent by the device. Test: atest com.android.server.hdmi Bug: 149800547 Merged-In: I83ae9b423122b540b9adb156fb1c6f5964dd6105 Change-Id: I83ae9b423122b540b9adb156fb1c6f5964dd6105
Showing
- core/java/android/hardware/hdmi/HdmiControlManager.java 62 additions, 0 deletionscore/java/android/hardware/hdmi/HdmiControlManager.java
- core/java/android/hardware/hdmi/IHdmiControlService.aidl 2 additions, 0 deletionscore/java/android/hardware/hdmi/IHdmiControlService.aidl
- core/java/android/provider/Settings.java 37 additions, 0 deletionscore/java/android/provider/Settings.java
- core/tests/hdmitests/src/android/hardware/hdmi/HdmiAudioSystemClientTest.java 9 additions, 0 deletions.../src/android/hardware/hdmi/HdmiAudioSystemClientTest.java
- packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java 1 addition, 0 deletions...rovider/test/src/android/provider/SettingsBackupTest.java
- services/core/java/com/android/server/hdmi/HdmiCecLocalDevice.java 18 additions, 1 deletion...core/java/com/android/server/hdmi/HdmiCecLocalDevice.java
- services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceAudioSystem.java 4 additions, 1 deletion...om/android/server/hdmi/HdmiCecLocalDeviceAudioSystem.java
- services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java 6 additions, 3 deletions...re/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java
- services/core/java/com/android/server/hdmi/HdmiControlService.java 59 additions, 1 deletion...core/java/com/android/server/hdmi/HdmiControlService.java
- services/tests/servicestests/src/com/android/server/hdmi/HdmiCecLocalDeviceAudioSystemTest.java 112 additions, 0 deletions...ndroid/server/hdmi/HdmiCecLocalDeviceAudioSystemTest.java
- services/tests/servicestests/src/com/android/server/hdmi/HdmiCecLocalDevicePlaybackTest.java 72 additions, 0 deletions...m/android/server/hdmi/HdmiCecLocalDevicePlaybackTest.java
- services/tests/servicestests/src/com/android/server/hdmi/HdmiCecLocalDeviceTest.java 61 additions, 0 deletions...s/src/com/android/server/hdmi/HdmiCecLocalDeviceTest.java
- services/tests/servicestests/src/com/android/server/hdmi/HdmiControlServiceTest.java 9 additions, 0 deletions...s/src/com/android/server/hdmi/HdmiControlServiceTest.java
Loading
Please register or sign in to comment