04f813c9b3d1d15bd9462a728ab983f21d937281 |
|
02-Apr-2015 |
Jinsuk Kim <jinsukkim@google.com> |
CEC: Back up active input correctly against repeated active source commands The repeated <Active Source> commands were incorrectly backing up active input to use for <Inactive Source>. The input should not be handled if the command comes from the current active source. Bug: 20017736 Change-Id: I30e92dab2dce7c1b6835af553efae66c0934188e
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
c9914a22d827eba54fd7b928c84996bf6a62dc39 |
|
28-Jan-2015 |
Jinsuk Kim <jinsukkim@google.com> |
CEC: Let <Active Source> from the active source work <Active Source> from the device which is already in active source state is being ignored now, but it should work with an effect of putting input view foreground in case it is hidden behind home launcher overlay. For better user experience, this change lets the command from the active source takes effect to hide the overlay if present. Bug: 19171319 Change-Id: I43d2646f2ad470b3636e82ff71ac83cf0031ef6c
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
546d867cb89099ed9036d54d1d49e11748c9a27e |
|
23-Nov-2014 |
Jinsuk Kim <jinsukkim@google.com> |
CEC: Do not issue non-effective <Routing Change> CEC command <Routing Change> should not be issued if old and new path are identical since it not only have no effect but also can lead certain devices to taking unexpected action. Bug: 18283251 Change-Id: I7a210b7aa20ce4b96ef0d260c4abfc10d4393e63
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
bdf27fbf746bee11430c4db2ea6dfd026bae77fe |
|
20-Oct-2014 |
Jinsuk Kim <jinsukkim@google.com> |
CEC: add getDeviceList() Returns the list of all the connected CEC device information. This is different from getInputDevices() which returns devices of source type only. For this, turned the local device address list to unmodifiable so that it can be used by any threads. Now respects the device type info passed through <Report Physical Address> rather than always defaulting to the one from HdmiUtil.getTypeFromAddress(). This ensures future compatibility when a device of reserved logical address comes with a specific type. Bug: 18046603 Change-Id: I5f7d5e31706efba1ad5dcf4bcfd4ffc918d1d940
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
61f4fbd2e8436a1ecd478c2a1f516d064a24d43b |
|
06-Aug-2014 |
Jungshik Jang <jayjang@google.com> |
Rename HdmiCecDeviceInfo into HdmiDeviceInfo. In order to include mhl device info to device info, rename HdmiCecDeviceInfo into HdmiDeviceInfo. BUG: 16215362 Change-Id: I30fb0216061fbbdd6fdc1b82c63af83f1b678597
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
8e93c84739902f5adaa499b474f39e3c4807bc1c |
|
06-Aug-2014 |
Jungshik Jang <jayjang@google.com> |
Prevent hot plug detection action from multiple device polling Along with this removed unused code and wrong references in java doc. Change-Id: I8b2fd8065f582f60cde5ada0e1669515b6a60f3f
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
7c3a95633d307c4be30c9dbbf1071063aa7a3c64 |
|
01-Aug-2014 |
Jinsuk Kim <jinsukkim@google.com> |
Fix bugs in active source command handling in HdmiControl - Make sure input change listener is invoked - The command from new device at the active path should start routing control Change-Id: Ic0ca52d42cc1738f9effced322b00f3bd1957f60
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
72b7d738d5b9254594726304cdb1777b54d95631 |
|
24-Jul-2014 |
Jinsuk Kim <jinsukkim@google.com> |
Give clear distinction between active source/active routing path Previously in HdmiControlSerivce, active routing path was mixed with the physical address of the active source, but these two concepts needs clearer distinction. Defined a new variable for active source that contains both logical/physical address to keep active routing path separate. This change makes it possible to write the flow more closely to the guideline. Also added to this CL is flag notifyInputChange, which allows the device/ routing change triggered by external event to trigger InputChangeListener to get TIF notified. For routing control, the device info passed to TIF has the path information in the field mPhysicalAddress (other fields are invalid). Bug: 16519939 Change-Id: I8b400bc48e874b0866500655773aea38ab945fe4
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
97affee67b6d88da40af41b36f02ecb2b823daff |
|
11-Jul-2014 |
Jungshik Jang <jayjang@google.com> |
Start system audio initialization mode on new device discovery. If a new device is avr and current tv setting is system audio mode, we should launch SystemAudioAutoInitiationAction. Bug: 15843140 Change-Id: I8db89e9be21572e304e6eebb5948a7981df14e90
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.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/ActiveSourceHandler.java
|
0f94217e9043e9dee329fa7167ee5be75eef0c23 |
|
04-Jul-2014 |
Jinsuk Kim <jinsukkim@google.com> |
Merge "Add API setProhibitMode in HdmiControlService"
|
4d43d93743222311c6377d4904c19ccb93699d3b |
|
03-Jul-2014 |
Jinsuk Kim <jinsukkim@google.com> |
Add API setProhibitMode in HdmiControlService setProhibitMode sets a flag inside the service that indicates if input switch request will be processed or not. Sets to true when TV is doing something for which TV display should be fixed, like channel scan, software update - collectively called 'prohibit mode'. Change-Id: I8ac623023210b58b684b9af3ac475a5fe0d09435
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
04fd28046acc2ac74339ed94cec76a0bfda846f7 |
|
03-Jul-2014 |
Jinsuk Kim <jinsukkim@google.com> |
Update routing control action for HdmiControlService Added an argument queryDevicePowerStatus on which routing control action flow should be based. Bug: 15845652 Change-Id: Ib8a2d31792aad67289308167d07f660c3438be78
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
92b77cf9cbf512e7141cad6fef5a38d0682dde43 |
|
27-Jun-2014 |
Jinsuk Kim <jinsukkim@google.com> |
Refactor handling sequences in HdmiControlService - Rewrote some methods to match more closely to the handling sequences in guideline - Added setControlEnabled() API in the aidl - Handled <Routing Control> command - Handled some scenarios invoking RoutingControlAction Change-Id: I5db0c6fc775cef709c2e0f338b85937deebf2a54
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
8333571bd5e0a08773a1679964f8d96227af3356 |
|
24-Jun-2014 |
Jinsuk Kim <jinsukkim@google.com> |
Handle incoming active source-related commands for HdmiControlService Handles incoming commands <Active Source>, <Inactive Source>, <Request Active Source> that concern the active source update/report. Defined mPrevPortId which is used to allow switching back to the input set previously by <Active Source> or deviceSelect() when receiving <Inactive Source>. Also fixed a bug sending <Active Source> with wrong parameters. Change-Id: I47fd804755c5c6beca38ddb21bb388a455d74f63
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
a062a9339add79a84862a34e363e3e454a6ec435 |
|
18-Jun-2014 |
Jinsuk Kim <jinsukkim@google.com> |
Implement portSelect/sendKeyEvent for HdmiControlService TIF (TV Input Framework) uses these API to switch inputs, send keys for selected device on CEC bus. Also renamed getActiveInput to getActivePortId to use a unified term for port/input. Change-Id: I8196825c0d960988cc1c0bb58a628ccd8ab1957e
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
79c58a4b97f27ede6a1b680d2fece9c2a0edf7b7 |
|
16-Jun-2014 |
Jungshik Jang <jayjang@google.com> |
Rearrange ownership between Hdmi control modules. Here is a list of changes on this. (R: rationale) 1. HdmiCecLocalDeviceTv takes over responsibilty of device info management. R: All devices infos are added or removed by only Tv's device discovery and hot plug detection mecanism 2. Each HdmiCecLocalDevice manages FeatureAction and Cec message cache. R: There is no direct connection between actions that are created in different device action. If there is an same actions created from different local device, they should be managed independently. 3. Active path and logical address is managed by HdmiCecLocalDevice. R: All device should know active path of current source. 4. All system audio & ARC features are handled by HdmiCecLocalDeviceTv R: In terms of ARC, theoretically, any device can be transmiter of ARC but TV is the de facto device On other hands, for system audio Tv is the recipeint of request. Change-Id: Iac9ff43fb41798ed4f94c61d23345fe5fe777fbb
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
60cffce420db4c3395f86d3b9bb36003adf26f5d |
|
12-Jun-2014 |
Jungshik Jang <jayjang@google.com> |
Refine new device action. There are many ways to initiate new device action 1. When receives <Report Physcial Address> 2. When receives <Active Source> from unregistered device. If new device is audio system, it should start ARC and system audio initiation action. Along with this consolidate device remove actions. Change-Id: I189afd8bec7270d6a1734a28632593b71932d9e8
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|
a6ce7708d6124224399241503fadcafe0c4684d4 |
|
10-May-2014 |
Jinsuk Kim <jinsukkim@google.com> |
DeviceSelectAction for HdmiControlService DeviceSelectAction is the main handler for the API deviceSelect() which is used to choose a new active source among logical devices on the bus. Change-Id: I77582a1f873423fc316d89f67a89a867461a76b2
/frameworks/base/services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
|