5352081c662299b618335bf3024058fa04ef2dfd |
|
22-Sep-2014 |
Jungshik Jang <jayjang@google.com> |
Enable all actions to have chance to consume incoming message. Some actions such as "DevicePowerStatusAction", "PowerStatusMonitorAction", "Routing Contron Action" might wait for receiving <Report Power Status> message, but the oldest aciton, which is normally PowerStatusMonitorAction, can consume it. This change enables all actions to have chance to touch incoming message. Along with this, it fixes audio mute bug during volume control. Bug: 17597377 Change-Id: Iafb71f6ea6309a4fba79833da2d634222058ac78
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
b509c2ecd99619248b7a07fb0fa978bb27f25cc3 |
|
07-Aug-2014 |
Jungshik Jang <jayjang@google.com> |
Rename FeatureAction into HdmiCecFeatureAction Change-Id: I92ca11e513f8cf520e84399fe688397f2d9f714a
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
377dcbd53af4529c352d453424539b069909fce4 |
|
15-Jul-2014 |
Jungshik Jang <jayjang@google.com> |
Hook up system audio mode Whenever system audio mode is changed, it should notify to AudioManager so that AudioManager changes internal output or mute status accordingly. To have more clear cut between last setting and current system audio mode, renamed mSystemAudioMode into mSystemAudioActivated and added getLastSystemAudioMode() which returns last system audio mode value stored in global settings (NVM). Bug: 16002150 Change-Id: I5d01d879c1c5a9a3f4b0cf2d25e9e74c26c52fa0
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
5fba96df30b6b50b3cb9fe1d783320b1cc3bd6ea |
|
11-Jul-2014 |
Jinsuk Kim <jinsukkim@google.com> |
HdmiConfig class holding constants that may need customization Put in one place some constants used in HdmiControlService that may need customization. This makes it easy to do the job. Bug: 16160911 Change-Id: I59786a48d336cfca722daa82c1f0dceb88c5e5e4
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
75a77e7d6cbfc287c6126efd28b338b48b7ea70c |
|
09-Jul-2014 |
Yuncheol Heo <ycheo@google.com> |
Add HdmiCecMessageValidator to verify the incoming messages. - Remove all param's length-check-logics in the package. Bug: 16051295, Bug: 16117332, Bug: 15841545 Change-Id: If48ad9731f4f4613fd22aa3d9ada7ba3142bc999
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
c0c20d0522d7756d80f011e7a54bf3b51c78df41 |
|
04-Jul-2014 |
Jinsuk Kim <jinsukkim@google.com> |
Removed class HdmiCec Most of the constants in HdmiCec are internal use only. Moved them to service, and dispersed the rest to other relevant classes. Also moved HdmiCecMessage class to service as it doesn't need to be open ouside the service. Change-Id: I7b2ce3bf465330aa4d7fcd05f9aefa1e6c8b056a
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
210d73df0b77b4c8be67ecc92afb238dc8c7ccfa |
|
04-Jul-2014 |
Jungshik Jang <jayjang@google.com> |
Remove duplicated cec keycode definitions. Remove keycode (ui command) defined and use HdmiCecKeycode one. Change-Id: I9a7c4be3e5cfd561c7353b9cda715d431c00ff0c
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
8fa36b110be29d92a9aba070fa4666eefb14b584 |
|
25-Jun-2014 |
Jungshik Jang <jayjang@google.com> |
Implement volume control action in cec service. Hdmi CEC's volume control is based on key event handling but in android we can only get delta of volume change. VolumeControlAction simulates key event action from delta of volume change. However, it's highly dependent on <Report Audio Status> message coming from AVR. This implementation waits 900ms for <Report Audio Status> message and if no message arrives it finishes action. Instead, HdmiCecLocalDeviceTv consumes it after action termination so that Tv can reflect system audio's volume all the time. Change-Id: I0442d31721365acdc009c8fa1c1e0a4361e4a1cc
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
ea67c183fe5511ad99aeaae1a32b5245bd020e36 |
|
19-Jun-2014 |
Jungshik Jang <jayjang@google.com> |
Add for System Audio Mode Note that this is skeleton change and do not merge till get full review from outside of CEC team. This change introduce four apis for System Audio Mode 1. boolean canChangeSystemAudioMode() - Whether to change system audio mode or not. 2. setSystemAudioMode(boolean enabled, IHdmiControlCallback callback); - Change system audio mode. 3. add/removeSystemAudioModeChangeLister. - Register/deregister listner for AudioModeChange. 4. getSystemAudioMode() - Whether to system audio is enabled or not. Change-Id: I1e82365155a9f7f6c3ac5d9db4871cf6bad46865
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
16321b80077815eebeceee249ff7a29e336e04a4 |
|
19-Jun-2014 |
Jungshik Jang <jayjang@google.com> |
Use SystemAudioStatusAction in SystemAudioAction. SystemAudioAction includes SystemAudioStatusAction which is required for SystemAudioAutoInitiationAction. Change-Id: I9f2ae1ddea305e1c1e18410060842288c271cd4b
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|
187d01765b935d07936f74343b4f4af590c239a1 |
|
17-Jun-2014 |
Jungshik Jang <jayjang@google.com> |
Add SystemAudioAutoInitiationAction and SystemAudioStatusAction Once all device discovery action is done if there is audio amplifier on device list, it should trigger system audio initiation action. On or off of system audio is decided by Tv's last audio setting (speaker). If system audio was the last audio setting, it will try to turn on system audio; otherwise will turn it off. In other hands, SystemAudioStatusAction is added to update system audio status (mute or volume) after SystemAudioAutoInitiationAction. In fact, RequestArcAction has almost same code as it has and will refactore RequesArcAction in the following changes. Change-Id: I3d591242e79549cb73e14546f0d057ba08f878ef
/frameworks/base/services/core/java/com/android/server/hdmi/SystemAudioStatusAction.java
|