| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
This CL adds a system API to set system audio mode. Previously
not available to have the settings app use aidl directly. Now
added since other related APIs like setSystemAudioVolume are
already in.
Change-Id: I51f4f992f66f97a094cad5788548c259ac8bf10f
|
| |
|
|
|
|
|
|
| |
Allows playback/TV device to use the API to turn off
TV/other device that accepts the command.
Bug: 19802768
Change-Id: I6440626c08efb1473bea5ab577e571d0bb92d4a1
|
| |
|
|
|
|
|
| |
This prevents out-of-bound exception from occurring.
Bug: 19188370
Change-Id: I051dccf7760cb542ea3dc9b0adc9625fa2ad8b1f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL introduces a logic that, upon receiving <Inactive Source>
from the active source or a corresponding MHL subcommand, lets
the service return to one of internal inputs.
Introduced to handle it is a new type for HdmiDevice (INACTIVE)
that will be passed to input change listeners. The callback
is expected to transform to other mechanism such as intent,
to let TV app to decide which input to switch to, which will
be one of non-HDMI input that was viewed previously.
Bug: 19008579
Change-Id: I1922f4cd20e9220411061bb9d9fbe5fbc5676d48
|
| |
|
|
|
| |
Bug: 18960664
Change-Id: If2c1259b312138bad9416b10f14a8af0f1a222f4
|
| |
|
|
|
|
|
|
|
| |
MHL devices should be of type source that can stream AV contents
to the connected TV. This should be supported by the API
HdmiDeviceInfo.isSourceType().
Bug: 18897172
Change-Id: I7dcbd7773127bf26797c204504a12c3e2ebbd83b
|
| |
|
|
|
|
|
|
|
| |
- Remove 'oneway' from IHdmiVendorCommandListener.
- Add flush() method to HdmiCecController.
- Use IoThread for HdmiCecController.
Bug: 18495592
Change-Id: I497f7b49e94dd4402058ecc89cb5b7a3d58bf1e1
|
| |
|
|
|
|
|
| |
- Added equals() for the testing.
Bug: 18376178
Change-Id: Icc7d5fe78b3132bf51754fc3bb0d5a40e0d3b20a
|
| |
|
|
|
|
|
| |
It enables to recognize which recorder reports record status.
Bug: 18248734
Change-Id: I248ad77212ce584dc16863cbe00639e7ac3c184a
|
| |
|
|
|
|
|
|
|
|
|
| |
- Change 'protected' to 'package private'.
- Change '@hide' to '{@hide}' for methods which should be still hidden
for linting.
- Rename addVendorCommandListener to setVendorCommandListener and make sure to be called once.
- Fix the implementation of removeHotplugEventListener().
Bug: 18063669
Change-Id: I5c032736f17bab9518f21596f7adeac2f88ba4c1
|
| |
|
|
|
|
|
| |
- Removed the link tag to the non-public objects.
Bug: 18063758
Change-Id: I17c79510c184df8a62cde9a6a1d18109c299c15d
|
| |
|
|
|
|
|
|
|
| |
- removed unregisterContentObserver() to reactivate the service later.
- added the parameter destAddress to onReceived() callback to
distinguish whether the message is broadcast or not.
Bug: 17962624
Change-Id: I552d14661583f63bb66b07866092f972b259b15a
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
RecordSource should be accessible outside of
android.hardware.hdmi.
Bug: 17775014
Change-Id: I4c8879dc1504aad9672555c17d5b7f6643ed5188
|
| |
|
|
|
|
|
|
|
|
| |
- Add sendStandby()
- Respond with <Feature Abort>[INCORRECT_MODE] when the listener
is not ready
Bug: 17379243
Bug: 17358887
Change-Id: I26a4157a70f11206978763fbbe69e4190e3e1d5c
|
| |
|
|
|
| |
Bug: 17479050
Change-Id: If6fe2949d17ad2d407df5b797c1915eb0e9bf421
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Here is a list of changes
1. Change volume control into event base not level base
2. Hide volume ui if volume change is triggered by CEC
3. Report volume change triggered by CEC in OSD message
4. Revamp HdmiLogger so that normal class uses static method only.
5. Apply format message to HdmiLogger's helper methods.
Bug: 17367215
Change-Id: I9f3cd41f7c66f76919059b463df956ed5176b054
|
| |
|
|
|
|
|
| |
In addition, use hexadecimal address representation in HdmiPortInfo.toString()
Bug: 17310007
Change-Id: Iaba8f718f86a18a23b50f983053c7589dcdcfaf8
|
| |
|
|
|
|
|
|
|
|
|
| |
1. Fix HdmniLogger null pointer exception
2. Should check arc enabled port for arc requests
3. Disallow ARC action coming from indirect AVR device.
4. Check original opcode of feature action
5. Add bitmasking to all parameters of cec message.
Bug: 17243701, Bug: 17238394, Bug: 17241401
Change-Id: Iff0da78b0de9a29fb00e683c261528e0baea66af
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1. Add sendScratchpadCommand to IHdmiControlService interface,
which is used to send scratchpad command.
2. Add IHdmiMhlScratchpadCommandListener to handle incoming
MHL scratchpad command.
Bug: 17146522
Change-Id: I8e8e743dc08a18c80867be470997ce79d3292c15
|
| |
|
|
|
|
|
|
| |
This lets the input selection on UI perform MHL RAP signalling, and
CEC routing control.
Bug: 17141884
Change-Id: Ic1605175c5779a9a3c43df954baf9fdb6f154d36
|
| |
|
|
|
|
|
|
|
| |
With this change, mobile devices state changes are propagated through
TIF to UI, hence the input pickers shows the mobile devices as
expected.
Bug: 16986744
Change-Id: Id633207acf4f814f57d43cc1de5f8cb88ac23ad6
|
| |
|
|
|
|
|
|
|
| |
Introduced 'id' of HdmiDeviceInfo to replace the direct use of logical address
as id. This accomodates the identification of MHL device with ease. Also updated
TIF to use id instead of logical address.
Bug: 16986744
Change-Id: Ifa827fb5e5fcf1d2f612f0845accbfe5c03734aa
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HDMI input change event should be handled best in TIS implementation
of HDMI input since the input change request from TV/other device
needs to be properly coordinated. This requires the listener be
moved the input service.
Provided an interface in HdmiTvClient for the input service to access
the API through getSystemService(Context.HDMI_CONTROL_SERVICE).
Conflicts:
services/core/java/com/android/server/tv/TvInputHardwareManager.java
Bug: 15570939
Change-Id: Ie2ad10d77907de3d4501f9c892ca553b75365467
|
| |
|
|
|
|
|
|
| |
Instead of introducing new api update existing
IDeviceEventListener
Bug: 16445063
Change-Id: I93bfc736a06a78e83c95877a53f4f241b51ed9c0
|
| |
|
|
|
|
|
|
|
| |
Replaced the API setOption with content observer to read/get informed of
the CEC settings.
Bug: 16855247
Change-Id: Ieff2399bbfe83f05af4448e7337f91ef40d1e24d
|
| |
|
|
|
|
|
|
|
| |
In order to include mhl device info to device info,
rename HdmiCecDeviceInfo into HdmiDeviceInfo.
BUG: 16215362
Change-Id: I30fb0216061fbbdd6fdc1b82c63af83f1b678597
|
| |
|
|
|
|
|
| |
Along with this removed unused code and wrong references in
java doc.
Change-Id: I8b2fd8065f582f60cde5ada0e1669515b6a60f3f
|
| |
|
|
|
|
|
| |
1. Mask TimerClearedStatus message result.
2. Use proper mask for media info.
Change-Id: I7ed6f6839c333460a7bef5e5a84af2a9a34c6d97
|
| |
|
|
|
|
|
|
|
| |
1. add return type, int, to toByteArray method so
that caller can know how many of bytes it consumes.
2. put final keyword
Change-Id: Ia942016fa35ecb04b49be51170739101644c3e31
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: Id22635414567a8b525032df792f2309102d7ae62
|
| |/
|
|
|
|
|
| |
Added a few more methods in HdmiTvClient to use the API provided
by HdmiControlService
Change-Id: Ib506699b9661b99cefc837b96ac64347a4e9420c
|
| |
|
|
|
|
|
|
|
|
|
| |
This change implements clear timer, which sends
<Clear xxx Timer> to recorder, and reponse of it,
<Timer Cleared Status>.
Along with it, add result parser for [Timer Status Data].
Bug: 16160962
Change-Id: I1f48ec055aa93dc836156525de8b7ef921aad8b5
|
| |
|
|
| |
Change-Id: I331d5c61fa11513584c926fdeea55a5d7adbbad9
|
| |
|
|
|
|
|
| |
Added getActiveSource to provide Tv Input Service with the information
on HDMI active source/routing path. TIS side will be handled separately.
Change-Id: I3d7c12a6c9da9f96a7f22ba1f66ac2559928858d
|
| |
|
|
|
|
|
|
|
|
| |
When signalled by an external CEC device about to become a new active
source, TIF(TvInputHardwareManager) sends an intent for TV app to tune to
the input mapped to the device. For non-CEC devices or MHL device
the device info comes with port ID only, which should be used to find
the right input.
Change-Id: I71c8454fead037d880ee440b0a8d64dd361ed558
|
| |
|
|
|
|
|
| |
Allows MHL support flag to be put into port information
Bug: 16215362
Change-Id: I1873c8e60b02f47a97509576fc40d57efb056817
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change makes it convenient to get the HDMI port ID from the device
info without having to look it up through a separate HdmiPortInfo, which
happens in many places.
Also removed port information lookup loop by introducing two maps variable
in Control Service: port path ->port ID, and port ID -> port info.
Bug: 16547583
Change-Id: Ibfff722a16b626230766058efcc819e9c8ca0663
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new interface, IHdmiRecordCallback, in order to handle
result of all recording features, One Touch Record and
Timer Recording.
HdmiRecordCallback is clientside interface which uses
RecordSource as return of getOneTouchRecordSource,
instead of raw byte array.
Along with it, add TimerRecordingAction.
Bug: 16160962
Change-Id: If0ed7abc5f45b020b39555cac585becbe8ee7da4
|
| |
|
|
|
|
|
|
|
|
| |
In addition to it, add api for clearTimerRecording as well.
Separately, I will replace logic for notifying message with callback
interface.
Bug: 16160962
Change-Id: I2368f7c697eb44ed4542c0ec4412c63a6ae41a5c
|
| |
|
|
| |
Change-Id: I3938b26af4ca2fe8d70224bd7bac30ba627d6d44
|
| |
|
|
| |
Change-Id: Icc1bf76ef748b10cc7ea745bc37c4e7bc0d7ff43
|
| |
|
|
| |
Change-Id: I8c017a83175c447d02d8eb28f571e31921ae77c6
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
In order to support timer recording we need separate API,
startTimerRecording. Also added HdmiTimerRecordingSources
which is used to help creating timer recording information
such as timing information and program information.
Besides, in order to distinguish one touch record
and timer recording, rename startRecord with startOneTouchRecording.
Bug: 16160962
Change-Id: I8c3d4034665a2f84ddf07135aee73e17ac17cd82
|
| |
|
|
| |
Change-Id: Ic7d6a5378361d7ed8ae4b635312b956b063fc95a
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change introduces new two apis for one touch record.
1. setRecordRequestListener
It's used to get notified when a recorder device initiates
"one touch record". As return of callback, client should
generate "record source" and return it.
2. startRecord
It's used to initiate "one touch record" from Tv.
Along with this, add HdmiRecordSources which is a helper
class assisting buidling byte array form from the given
record source information.
Bug: 16160962
Change-Id: I403d37b752c9b7f799c6d8188a071ef420fe8ac2
|
| |
|
|
|
|
|
|
| |
Added another parameter deviceType for HdmiControlService to
run the specified local device for sendKeyEvent.
Bug: 15844076
Change-Id: I598ef320ae94bba0ace38701ae0ca12fd0625559
|
| |
|
|
|
|
|
| |
- Remove all param's length-check-logics in the package.
Bug: 16051295, Bug: 16117332, Bug: 15841545
Change-Id: If48ad9731f4f4613fd22aa3d9ada7ba3142bc999
|