| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- New screen on app op to record the last time each app has
caused the screen to be turned on.
- New battery stats event that tells us the reason the screen
has been asked to turn on.
- Propagate out power manager API to specify the reason a caller
is asking to have the screen turned on.
Note that currently the window flag to turn the screen on bypasses
much of this because it is being handled in the window manager by
just directly telling the power manager to turn the screen on. To
make this better we need a new API where it can specify who it is
calling the API for.
Change-Id: I667e56cb1f80508d054da004db667efbcc22e971
|
|
|
|
|
|
|
|
|
| |
Do not switch language if the new language is the same as
the current one. This helps avoid accidental country variant
switching such as from en_US to en_AU due to the limitation of CEC.
Bug: 22373619
Change-Id: Ia98aff67e37b470b3f550a5c097e8140c1a51ecf
|
|
|
|
|
| |
Bug: 16819131, Bug: 21505123
Change-Id: I3dc6439c13c2ebe5591d9e27c0c86419ed440f9b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Removed legacy TODOs and the associated hack to enable CEC service
for buggy partner low-level implementation.
Bug: 21153475
Change-Id: I105f77389dd5c604336f86ce375016fa87c86759
|
|/
|
|
|
|
|
|
| |
Let playback device send a command <Standby> based on the setting.
ACTION_SHUTDOWN leads to broadcast command to put all the devices
to sleep, and ACTION_SCREEN_OFF optionally turns off TV only.
Change-Id: Id458b23ce86b0c3179efa21cce85b721a47001be
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ARC feature flag should have been updated whenever hotplug[on]
was detected, so that the ARC can be established upon device
discovery. This CL rectifies the bug.
Bug: 20817208
Change-Id: I5053ad3f576d0e405b6d8fc0c4e6584e66ed0a86
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Added a new system property to make the feature optional. True
by default.
Bug: 20897914
Change-Id: I8bfca5144b802b95361e63b29abd6371971c7dbb
|
|/
|
|
|
| |
Bug: 20681302
Change-Id: I2e6d460f9ec06d1ef988b7a7ff73a03586958484
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes a bug that was updating ARC status on hotplug event
regardless of the port for which the event occurred.
Bug: 20520664
Change-Id: I17c4f391af4dd221215412ed9e3ff3d730bbf152
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handles the situation where standby is prematurely completed
by handleTerminateArc initiated in HdmiCecLocalDeviceTv.disableDevice().
Power status is now checked to stop the flow before removing
RequestArcTerminateAction which can call mPendingActionClearedCallback.
Also Make sure mPendingActionClearedCallback is set to null at the beginning
so that disable callback is not invoked unintentionally in
HdmiCecLocalDevice.checkIfPendingActionsCleared() which is supposed to work
at standby process only. It is now invoked by handleDisableDeviceTimeout
to make sure standby process is completed with PendingActionClearedCallback
at HdmiControlService.onStandby().
Bug: 20159835, Bug: 19930352
Change-Id: Iac29dfb6acff76182ff4e9563edc611406c23f3c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Silently ignores the transmission error busy/failure for
the command <Report ARC Initiated> to keep the ARC on.
Termination is done only for the explicit error (NAK).
Bug: 20267416
Change-Id: I649d6494855b2d6aa0cecc8fd76d36001c0edb68
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
System audio was not being immediately removed by polling mechanism
mechanism but was being checked three times in order to avoid accidental
polling failure. This came with a side effect of the system audio
not removed instantly even when the device is physically removed.
This CL relies on hotplug event to tell whether the device removal
should be done right away or has to wait for 3 polling intervals.
Bug: 20133405
Change-Id: I9dbd7a8b9e424d523d0c22e4cac19b341461b71e
|
|
|
|
|
|
|
|
|
|
| |
Bug fixed - When TV was turned off and AVR was on, audio was routed back
to TV momentarily before the TV turned off.
b/19791264
Change-Id: Iad639b6ba151b6615a7f4ce49fddfa4fc485e16c
(cherry picked from commit b0efbf3898e80181210103f6ac535af69d3abb2d)
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 19930352
Change-Id: Ie344f06a66beafecf64eccadc1881c4d2ec170b3
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
mArcFeatureEnabled is extended to a flag array to correctly
indicate the state of each port that supports ARC.
Bug: 19957954
Change-Id: I63e4dc2ebd4d71c5ebf59118a3076b52b489c2f2
|
|/
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
System audio may reject <Request ARC Initiation> with a response
<Feature Abort> or just time out. Do not send <Request ARC Terminated>
in response so as not to turn off the ARC mode, as it may not be
the intended behavior.
Bug: 19928094
Change-Id: I469dfa53bf35dfbca7daa86a69763b10551663ec
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DeviceSelect() returns immediately if the active routing path
is selected even if the device is turned off and not displaying
anything.
This fix allows device to be selected again if target device's
power status is not on in order to wake it up, hence improve
the user experience.
Bug: 19724238
Change-Id: I3b62b9aa0aecaf2957a445d82e966d52b9be6879
|
|/
|
|
|
|
|
|
| |
Ensures that the playback device turns on display output signal
upon receiving CEC command <User Control Pressed>.
Bug: 19518981
Change-Id: I4f898380c9ffc071da2357a51e61309ae5d233f5
|
|
|
|
|
|
|
|
| |
Allows playback/TV device to use the API to turn off
TV/other device that accepts the command.
Bug: 19802768
Change-Id: I6440626c08efb1473bea5ab577e571d0bb92d4a1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Handling the queued actions is useful for playback device only.
It is not useful and does nothing for TV device which has its
own delayed message buffer to process the messages to be handled
later in time.
Change-Id: Ic4d507177cfdbc3b8a474e45dfd3862f4b1bd4a7
|
|/
|
|
| |
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Audio Return Channel hardware circuit was being switched after
the device update initiated by hotplug event. The device instance
was already removed by the time ARC update was attempted, hence
caused an exception.
This CL ensure the config change is done in advance, when
the AVR device instance is still present.
Bug: 19250400
Change-Id: I31cf682f5c8d1a279a0703d10fe182f3da23d3db
|
|
|
|
|
|
|
|
|
| |
Playback device doesn't go to suspend (standby) mode if it's
the active source. This CL makes the behavior configurable through
the system property persist.sys.hdmi.keep_awake.
Bug: 19299723
Change-Id: Icb8b593ab44429ec0520e60d19d0368982ff5667
|
|
|
|
|
|
|
|
|
|
|
| |
Add "device name" member to AudioPort.
Moved unique device ID from DevicePort to AudioPort.
Straighten out confusion between "name" and "address"
Created string constants for Intent "extra" data keys.
Combine card/address data into "address" at sender.Add additional info to AudioPort for enum/selection API.
Parse out USB Device name in UsbCardsParser.
Change-Id: Ifd76b0298312090a8f39e638339f993b86d47080
|
|\
| |
| |
| | |
lmp-mr1-dev
|
| |
| |
| |
| |
| |
| | |
This reverts commit 8913a0e1e8559d96e82b1ff408dd312ed279021b.
Change-Id: Ibfabdd94206141274a69040e0ed90ba29aeae75b
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Should discard keyevents if the target address is the device itself.
Bug: 19188660
Change-Id: Id47d79c996f60c9d90540f28c4b2509976d2f378
|
|\ \ \
| | | |
| | | |
| | | | |
lmp-mr1-dev
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Help devices be processed sooner when new device detection operation
takes longer than usual.
Bug: 19181472
Change-Id: I96c29081a9c7c9f73ebcd027ed9d18056dc89bf9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make sure AVR device removal due to hotplug detection failure occur
in a less strict manner - doing it only if the failure is detected
3 times in a row.
Bug: 19171321
Change-Id: I1479663b05cdc957cc52123799c756f6b74f6708
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Updated to stop ARC as specified in HEAC 2.4 transmission condition.
Bug: 19170947
Change-Id: Ibf797ce3b49f32561ef0c36b6874e7ebe19ed65a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The HdmiControlService.getActiveSource() has a regression (exception)
when calling getDeviceInfoByPath since method should be called on
a service thread. Introduced a method that can be invoked safely
from the main thread.
Bug: 19170884
Change-Id: I393161e08c916270faf46147a97076bc573b808f
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
<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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously the time gap between the first and the second key event
for repeated keys(press-and-hold) can be bigger than the threshold,
which violates CEC spec. This CL rectifies it by managing its own
state rather than relying on Android key handler.
Bug: 19117830
Change-Id: Iedfa48f9ab826252e8616d1c3b7491e8b8333c81
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
Saves users from having to switch TV input manually to a playback device
after it boots up.
Bug: 19046176
Change-Id: I0a4fae1036138ce2e19cbac9fdd9dda41bdcf89f
|