141604 Commits

Author SHA1 Message Date
Jinsuk Kim
5344cd98e6 Launch routing control in HdmiControlService at boot up
Change-Id: I918c2a0da26a7cda20ee703dfeeacae276ec8373
2014-07-04 13:57:17 +09:00
Jinsuk Kim
ba147582b1 Remove the usage of TX_STATUS in HdmiControlService
Reflects the change to come in CEC HAL

Change-Id: I3a64e19bbdd8067855911ef11653fe64049b8880
2014-07-03 08:26:44 +00:00
Sailesh Nepal
2bed9563ed Remove handoff APIs
This CL removes the old handoff APIs and renames
handoffCall() to phoneAccountClicked().

Change-Id: Iab1595faaadcdfe428d97891d314babea21e9633
2014-07-02 21:33:21 -07:00
Jinsuk Kim
0f94217e90 Merge "Add API setProhibitMode in HdmiControlService" 2014-07-02 19:52:36 +00:00
Jinsuk Kim
4d43d93743 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
2014-07-04 12:36:38 +09:00
Jinsuk Kim
09b36e2347 Fix broken build
Added the missing file

Change-Id: I96a918b6e8a368b44eb3d51cd8bfd567dbc8de94
2014-07-04 11:43:36 +09:00
Jungshik Jang
65f7c3ff20 Merge "Remove duplicated cec keycode definitions." 2014-07-02 21:09:42 +00:00
Jungshik Jang
210d73df0b Remove duplicated cec keycode definitions.
Remove keycode (ui command) defined and use HdmiCecKeycode one.

Change-Id: I9a7c4be3e5cfd561c7353b9cda715d431c00ff0c
2014-07-04 11:26:45 +09:00
Jinsuk Kim
04fd28046a Update routing control action for HdmiControlService
Added an argument queryDevicePowerStatus on which routing control action flow
should be based.

Bug: 15845652

Change-Id: Ib8a2d31792aad67289308167d07f660c3438be78
2014-07-04 02:25:41 +00:00
Jungshik Jang
517cc7f99e Merge "Remove two TODOs from HotpulgDetectionAction." 2014-07-02 21:09:42 +00:00
Jungshik Jang
26dc71e7fe Remove two TODOs from HotpulgDetectionAction.
Bug: 15844023
Bug: 15841646

Change-Id: I4022c48a9fdb1963f755895ec5ff0370157050c7
2014-07-04 11:00:18 +09:00
Jungshik Jang
40d43b27b4 Merge "Prevent press&hold for non-repeatable keycode." 2014-07-02 21:09:42 +00:00
Jungshik Jang
250cda56d2 Prevent press&hold for non-repeatable keycode.
For non-repeat keys like power or mute key Hdmi-Cec
doesn't support press&hold feature. This change sends
user control pressed immediataly if the given keycode
is non-repeatable key.

Change-Id: Id571e67d94125a8c6a3553135b8e714b721405f3
2014-07-03 10:30:13 +09:00
Jungshik Jang
7d4faa6c86 Merge "Set source address for <Polling Message>" 2014-07-02 21:09:42 +00:00
Jungshik Jang
1de514256f Set source address for <Polling Message>
CEC spec mentions that logical address allocation uses
the same address for source and destination while <Polling Message>
uses device's source address.

Bug: 16045547
Change-Id: Id18f328755501c62a98a1040b287c180cb889c9b
2014-07-03 11:14:26 +09:00
Alan Viverette
dd6ebc5a72 Update progress bar styling and labelFor attr type
BUG: 16045463
BUG: 15900514
BUG: 15936901
Change-Id: Ib84e78cd3110d36f49ea5d9fc76a4321132af9ab
2014-07-03 01:47:06 +00:00
Jeff Sharkey
6ee242a58c CleanSpec to fix build.
Change-Id: I3995214498d22fa1bdb82eb44cda2e5ca6ba02a4
2014-07-02 18:37:09 -07:00
Jeff Sharkey
d04fc42ab0 Merge "Fixing missing current api.txt related to CL/495976." 2014-07-03 01:26:58 +00:00
Tyler Gunn
ee5a7ee868 Fixing missing current api.txt related to CL/495976.
Bug: 16014224
Change-Id: Ib3b0b65caea194f458a4258a341c21d9898f24d9
2014-07-02 18:33:41 -07:00
Jungshik Jang
70d34bb485 Define force usage and category for System Audio Control.
This is to be sync with change of system/core/include/system/audio_policy.h

Change-Id: Ibd371197775fb70a96df6e3eef82ec8ae10b0508
2014-07-03 00:42:20 +00:00
Jungshik Jang
3a959fca91 Log unhandled message which has specific destination.
Broadcast message is unnecessary to log as broadcast message.

Bug: 16039302
Change-Id: Ifffc09b49bceaaf220ce929206eaecb78146016f
2014-07-03 09:34:05 +09:00
Jungshik Jang
cce5119053 Merge "Add volume callback for Hdmi-Cec system audio mode." 2014-07-02 21:09:42 +00:00
Jungshik Jang
41d974631c Add volume callback for Hdmi-Cec system audio mode.
Hdmi-Cec's system audio mode delegates audio control to
audio receiver from tv. It requires to delegate
volume change including mute to audio receiver
instead of consuming by tv.
In order to do this this change introduces three apis.
One is added to IAudioService, the others are added
to IHdmiControlService as hidden apis.

 1. IAudioService#setHdmiSystemAudioSupported;
    This is to notify system audio mode change to audio
    service so that it determines to notify volume or mute
    change to HdmiControlService.

 2. IHdmiControlService#setSystemAudioVolume;
    This is to notify volume change to HdmiControlService.
    It's called only where system audio mode is on.

 3. IHdmiControlService#setSystemAudioMute;
    This is to notify volume change to HdmiControlService .
    It's called only where system audio mode is on.

Change-Id: I3d8534b37ddf1a812e32012059a8778772044bf0
2014-07-03 10:09:32 +09:00
Jose Lima
3c23ddeb00 Merge "Consume HOME key when it is used to dismiss Dream activity" 2014-07-02 21:11:19 +00:00
Jose Lima
9546b20fcc Consume HOME key when it is used to dismiss Dream activity
Bug: 15002352
Change-Id: I0e86ec62a1a45dd1e68752d36be07355a9c6e2fd
2014-07-02 17:23:04 -07:00
Jean-Michel Trivi
6c09004ec0 Send media button events with FLAG_RECEIVER_FOREGROUND set
bug 11357318

Change-Id: Iccd000bebb31a2f6cb057e97d3ab276861d0b651
2014-07-02 21:10:43 +00:00
Jinsuk Kim
ea1e84b8ca Merge "Implement some apis for TV Input Framework and HdmiControlService" 2014-07-02 19:52:36 +00:00
Jinsuk Kim
9c37e1f53e Implement some apis for TV Input Framework and HdmiControlService
- setInputChangeListener()
- getInputDevices()

Change-Id: I6f7d6d9c7094018e2b6b5ba37f63c8ee5df00e37
2014-07-04 11:22:51 +09:00
Jorim Jaggi
8726f8a571 Merge "Pressing back when QS is open only collapses QS" 2014-07-02 19:50:27 +00:00
Jorim Jaggi
bd00310041 Pressing back when QS is open only collapses QS
Bug: 15856079
Change-Id: Ic4853cbb6569ecbd779d470e0b6911199e6bf09b
2014-07-04 01:58:04 +02:00
Ye Wen
9974690ec1 Support MMS send/download by carrier app (1/3)
Added send/download status update APIs similar to that for SMS

b/14095333

Change-Id: Ib62951a2088330bf004383945416ff6f25b28625
2014-07-03 16:54:10 -07:00
Baligh Uddin
93360f022e Merge "Import translations. DO NOT MERGE" into klp-dev 2014-07-02 18:55:10 +00:00
Baligh Uddin
138fefe5d0 Import translations. DO NOT MERGE
Change-Id: I511bc5ac04b62fe85c7306d506af686888a79957
Auto-generated-cl: translation import
2014-07-05 09:35:17 -07:00
Baligh Uddin
bd9866d3e8 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-07-02 18:55:10 +00:00
Baligh Uddin
8e0c2d0077 Import translations. DO NOT MERGE
Change-Id: I3e2eae5b30231f3dc719c231d51c35234ed9dd94
Auto-generated-cl: translation import
2014-07-05 11:08:40 -07:00
Baligh Uddin
f599be5372 Merge "Import translations. DO NOT MERGE" into klp-dev 2014-07-02 18:55:10 +00:00
Baligh Uddin
2cf4d680fd Import translations. DO NOT MERGE
Change-Id: I300f1b8bf139efb93c8a7c0d0f5ad8b77a4c2d42
Auto-generated-cl: translation import
2014-07-05 10:45:00 -07:00
Baligh Uddin
f2e2907107 Merge "Import translations. DO NOT MERGE" into klp-dev 2014-07-02 18:55:10 +00:00
Baligh Uddin
6ed39c030f Import translations. DO NOT MERGE
Change-Id: Ic88faf73641a8570560ffe751f0c5776290c75c3
Auto-generated-cl: translation import
2014-07-05 15:09:48 -07:00
Baligh Uddin
eb17f6ab69 Merge "Import translations. DO NOT MERGE" into klp-dev 2014-07-02 18:55:10 +00:00
Baligh Uddin
0a73f6f8b1 Import translations. DO NOT MERGE
Change-Id: I1765b9912ea2356677a927edb34166ea5cab43d9
Auto-generated-cl: translation import
2014-07-05 15:25:24 -07:00
Baligh Uddin
562d8cc7bc Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2014-07-02 18:55:10 +00:00
Baligh Uddin
4ff58ecbbd Import translations. DO NOT MERGE
Change-Id: I1fd2ea26acb4d0e1c46c887c94d25e0ea1407e81
Auto-generated-cl: translation import
2014-07-05 15:30:27 -07:00
Baligh Uddin
425bb0cb5e Merge "Import translations. DO NOT MERGE" 2014-07-02 18:55:10 +00:00
Baligh Uddin
0a24efd513 Import translations. DO NOT MERGE
Change-Id: I39f20de8a02ff8d825102a4a36570bcb6180f12e
Auto-generated-cl: translation import
2014-07-05 09:25:31 -07:00
Alan Viverette
c769c1c80c Merge "Make optical insets actually work" 2014-07-02 18:55:10 +00:00
Alan Viverette
c054966b71 Make optical insets actually work
Change-Id: I9fabf4cb939cc7a868f95580e7229745acde0418
2014-07-04 01:10:38 +00:00
Yuncheol Heo
b2596e6182 Merge "Handle the power state change." 2014-07-02 20:35:42 +00:00
Yuncheol Heo
38db629d89 Handle the power state change.
- Add BrocastIntent listener to catch SCREEN_ON/OFF intents.
- Add callbacks onTransitionToStandBy(), onStandBy() in HdmiCecLocalDevice.java.
- When it gets the SCREEN_OFF intent, the state will be TRANSITION_TO_STANDBY,
  then when there is no outstanding actions, the state will be STANDBY.
- When the state is STANDBY, the TV device will broadcast <StandBy>.
- When it gets the SCREEN_ON intent, the state will be TRANSITION_TO_ON,
  then when the initialization is done, the state will be ON.
- When the state is ON and it receives <StandBy> CEC message, it will force
  the system to go to sleep.
- When the state is STANDBY and it receives the cec messages to wake-up the
  system, it will force the system to wake up from sleep.
- Manage the active source state for the playback device.

Change-Id: Ib473219a0b0deb5224df89386db5a83720000411
2014-07-04 10:33:53 +09:00
Baligh Uddin
59db17673d Merge "Import translations. DO NOT MERGE" into klp-dev 2014-07-02 18:50:12 +00:00