History log of /frameworks/base/telecomm/java/android/telecom/ConnectionService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3a09dc185b19012831d025154670b51ce4d9f49e 07-Mar-2018 Tyler Gunn <tgunn@google.com> API Documentation and Constant cleanup.

1. Update handover API docs for clarity.
2. Added an unknown value per API review comments.
3. Renamed HANDOVER_FAILURE_DEST_USER_REJECTED to
HANDOVER_FAILURE_USER_REJECTED
3. Removed the HANDOVER_FAILURE_DEST_INVALID_PERM constant since it isn't
used (methods which deal with permissions throw security exceptions).

Test: Make doc and verify documentation.
Fixes: 73751004
Fixes: 73750515
Fixes: 73750817
Merged-In: I7860fcd813f25adaaccf632f2c61dd4138a0a889
Change-Id: I7860fcd813f25adaaccf632f2c61dd4138a0a889
(cherry picked from commit c7a86b14a8e50d979b6b1c9e3dffe94748e2bc93)
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
4e0f11c65fe79b4de18367f67dc1e8fe8f013656 16-Feb-2018 Hall Liu <hallliu@google.com> Merge "RTT bugfixes, part 5"
a549fed5185d6c0aa602a399a8da1ef963308cd0 10-Feb-2018 Hall Liu <hallliu@google.com> RTT bugfixes, part 5

* Add a new API to allow Telecom to inform ConnectionServices when the
RTT text stream changes
* No longer set the RTT property from ConnectionService. Client apps
should be setting properties themselves.
* Add Dialer-side RTT property in order to remove the dependence on
checking the RTT streams, which have a complex lifecycle

Bug: 72951201
Bug: 72648661
Test: manual, with real RTT calls and Dialer's SimulatorConnection, also
cts
Change-Id: Ic4c7d883d2dc6baf8e8c0eaa4df58d7de8762b9e
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
0f9643190e6f0dc8c711b901b74e39fc1aec2a72 14-Feb-2018 Tyler Gunn <tgunn@google.com> Merge "Rename Conference#setConnectionElapsedTime to clarity." am: d1134525fc am: a0b41a82ce
am: 4c09901931

Change-Id: I493ade2029398983a76fd41fcf9f080ee2f06b95
d1134525fc506783c9d7e94fee6e5379b92f2038 14-Feb-2018 Treehugger Robot <treehugger-gerrit@google.com> Merge "Rename Conference#setConnectionElapsedTime to clarity."
175413959ad516645f460fe41499d69f769ef995 01-Feb-2018 Tyler Gunn <tgunn@google.com> Rename Conference#setConnectionElapsedTime to clarity.

Change name of conference connection elapsed time method to make it more
clear what it is for. Updated documentation of this method and its
companion to make it more clear what they are for.

Test: Compile - this is a docs and naming change only.
Bug: 70639525
Change-Id: I02662cb0331cba0d1fe2d4353438a68f334f9192
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
cfa16ec443298877a4256e3a755bd15330955456 08-Feb-2018 Pooja Jain <poojain@codeaurora.org> Merge "IMS: Add support in frameworks for call deflection feature" am: ba0f9d2973 am: f39bef4801
am: ac48eed9c0

Change-Id: I4695aca7d886f37341672ea5815770e3ccdf7a51
d34698def53665d99498e8adc609df24653e0f8f 28-Dec-2017 Pooja Jain <poojain@codeaurora.org> IMS: Add support in frameworks for call deflection feature

Call deflection feature is useful to deflect MT call to another
number.

Test: Manual

Bug: 62170348
Change-Id: Idfbcc175a856aa0bb9476f8c73d7a614a3af0700
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
858bfaf79c97e000af68649970994ee16bdd08ac 23-Jan-2018 Tyler Gunn <tgunn@google.com> Add handover permission, fill in some missing API gaps.

Adding the ACCEPT_HANDOVER runtime permission which an app must have in
order to accept handovers (this is per design).

Adding missing onHandoverComplete method in the android.telecom.Connection
API (per design).

Finishing plumbing for android.telecom.Call#onHandoverComplete API.

Fix issue where the new handover API methods would never get called; the
legacy handover extra was being used in this case when it should not have
been.

Bug: 65415068
Test: Verified using new CTS tests
Change-Id: If1558f6a23911862c02ac5b18fb62d86911ed7e2
Merged-In: If1558f6a23911862c02ac5b18fb62d86911ed7e2
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
79bc1ec8a927149714100b993faa572cefea8965 23-Jan-2018 Tyler Gunn <tgunn@google.com> Add handover permission, fill in some missing API gaps.

Adding the ACCEPT_HANDOVER runtime permission which an app must have in
order to accept handovers (this is per design).

Adding missing onHandoverComplete method in the android.telecom.Connection
API (per design).

Finishing plumbing for android.telecom.Call#onHandoverComplete API.

Fix issue where the new handover API methods would never get called; the
legacy handover extra was being used in this case when it should not have
been.

Bug: 65415068
Test: Verified using new CTS tests
Change-Id: If1558f6a23911862c02ac5b18fb62d86911ed7e2
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
63d25a5411ec63a78e921b4c91cd5e24d410d11d 22-Nov-2017 Pengquan Meng <mpq@google.com> Add connection serivce focus api interface

This add new api interface to ConnectionService to support the
connection service focus api.

Bug: 69651192
Test: manually

Change-Id: Iea49d95b086d32a0ebaf8e9f34fe4556953a0fd5
Merged-In: Iea49d95b086d32a0ebaf8e9f34fe4556953a0fd5
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
875aefc5fca96bb4082a68000b72c4640e9e7d43 21-Dec-2017 Tyler Gunn <tgunn@google.com> Merge "Add logging and disconnect reason for null connections." am: 7661e81f85 am: c840efcf7e
am: 5d7c823e16

Change-Id: I57395d052d284ca3b8071b71dc762c1147d1107a
7661e81f8536de9054cc33c945312e7b4eda0bcf 21-Dec-2017 Tyler Gunn <tgunn@google.com> Merge "Add logging and disconnect reason for null connections."
02d8c276d9c2e06d79b4df7ff32eb6ea072e3e11 20-Dec-2017 Sanket Padawe <sanketpadawe@google.com> Receiving side Call handover API implementation.

Bug: 65415068
Test: Manual

Design doc:
https://docs.google.com/document/d/1qY3oAzjff_4A1ttYb_CGrE_OwTRmXMG_KGsIuPT1ey8/edit#Bug:

Change-Id: Ic0c4af19098252389648007628affc19a44f89dd
Merged-in: Ic0c4af19098252389648007628affc19a44f89dd
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
85291f63c98ce11cb022bf9241ae6bce7812105b 01-Dec-2017 Sanket Padawe <sanketpadawe@google.com> Implement Call handover initiation side APIs.

Bug: 65415068
Test: Manual

Design doc:
https://docs.google.com/document/d/1qY3oAzjff_4A1ttYb_CGrE_OwTRmXMG_KGsIuPT1ey8/edit#

Change-Id: I692bb14fba66733154378c2dda525aa85c471a38
Merged-in: I692bb14fba66733154378c2dda525aa85c471a38
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
fba1a8e61a92c13e431b8b3dd36ecaa6eb500168 20-Dec-2017 Tyler Gunn <tgunn@google.com> Add logging and disconnect reason for null connections.

When a ConnectionService implementation returns a null connection, log this
and also set a unique disconnect reason to indicate in the telecom
dumpsys what happened.

Test: Manual
Bug: 70385625
Change-Id: Iff9846d434d400c4cf036e9ac46167cfb6f6b58c
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
4cc8ed53acbd98fc99fc6ee1ef4fb84e6ce6b2d2 05-Dec-2017 Sanket Padawe <sanketpadawe@google.com> Receiving side Call handover API implementation.

Bug: 65415068
Test: Manual

Design doc:
https://docs.google.com/document/d/1qY3oAzjff_4A1ttYb_CGrE_OwTRmXMG_KGsIuPT1ey8/edit#Bug:

Change-Id: Ic0c4af19098252389648007628affc19a44f89dd
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
731c1a38c07cbd7d0a1de0e7afdd4463ba5ba77e 22-Nov-2017 Pengquan Meng <mpq@google.com> Add connection serivce focus api interface

This add new api interface to ConnectionService to support the
connection service focus api.

Bug: 69651192
Test: manually

Change-Id: Iea49d95b086d32a0ebaf8e9f34fe4556953a0fd5
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
e29a266a62b3125fea51a8b6f84e87f0c069132f 01-Dec-2017 Sanket Padawe <sanketpadawe@google.com> Implement Call handover initiation side APIs.

Bug: 65415068
Test: Manual

Design doc:
https://docs.google.com/document/d/1qY3oAzjff_4A1ttYb_CGrE_OwTRmXMG_KGsIuPT1ey8/edit#

Change-Id: I692bb14fba66733154378c2dda525aa85c471a38
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
6884b5e1f56878019a24041da9ee92a5b4f87387 16-Nov-2017 Sanket Padawe <sanketpadawe@google.com> Merge "API declarations for Call Handover." am: d88abc7b60 am: c376ca6bc1
am: 41cff321b6

Change-Id: Ia5013e7e0288f037cd94d24c40a72278a60cc50d
7a14b31931398d4078675a77daafeb4088c59b9d 16-Nov-2017 Pengquan Meng <mpq@google.com> Merge "[Telecom] Improve hold capability signal"
a8eddd48c48900d101f444f5271d031257887d8c 03-Nov-2017 Sanket Padawe <sanketpadawe@google.com> API declarations for Call Handover.

Design doc:
https://docs.google.com/document/d/1qY3oAzjff_4A1ttYb_CGrE_OwTRmXMG_KGsIuPT1ey8/edit#

Bug: 65415068
Test: manual.
Change-Id: I0c2f561d92ad6504f858eadde09980fc1ce8727f
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
a98f58b5c1f40aac4f0bfb1500b60310c102480b 08-Nov-2017 Hall Liu <hallliu@google.com> Update Telecom APIs to include multi-hfp

* Add bluetooth devices to CallAudioState
* Add methods for specifying a bluetooth device to InCallService
* Add methods for specifying a bluetooth device to Connection (for
self-managed connections)

Bug: 64767509
Test: unit tests
Change-Id: I286b19b423dc2ee417dbc90eda7e8055b2da2444
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
0a88f2e21b3e3ed8a3a953e572a1eea6b572cb3e 17-Jun-2017 Tyler Gunn <tgunn@google.com> Ensure CallId is not null when connection creation is complete.

When calling "get" on the mConnectoinById map, a null callId will result
in an NPE.

In findConnectionForAction, defaulting to returning the "null" connection
which is the same behavior as if it isn't found.
In notifyCreateConnectionComplete, specifically checking if the callId
is null and skipping the onCreateConnectionComplete callback.
This scenario is possible if the connection is remove from the
ConnectionService before the connection complete callback comes back from
Telecom.

Test: Manual
Fixes: 62588734
Merged-In: I1de7a0a4cc9c630019e38b8154bfc1d470f56ae3
Change-Id: Ie610c51155ed417e0f916000fe20e4484bdb6603
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
70c988533078415d0d5dd4eb902434834eb49109 03-Oct-2017 Pengquan Meng <mpq@google.com> [Telecom] Improve hold capability signal

Add some method to the ConnectionService in order to notify the
connection changed.

Test: manually test and unit test
Bug: 66949982

Change-Id: I077902474f9af70e00a383aa269e1ae6ff9230a9
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
f5a457244c6b5051d2eb641b1fe055428a261d86 25-Aug-2017 Brad Ebinger <breadley@google.com> Merge "Emergency redial implementation"
am: b3b09849bc

Change-Id: If7fe179da4eb4c639dad1e2957f091bbee9e54f9
fcb1501620a75994a02dd020c9702bb4b0dc0ab5 04-May-2017 Srikanth Chintala <srikchin@codeaurora.org> Emergency redial implementation

Define connection event to notify
Telecom/InCallUi about change in
account handle after redial and extra
for emergency phone handle.

Bug: 27059146
Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
12772485cc8aeee07956f936e64a329cbd9abc74 25-Aug-2017 Brad Ebinger <breadley@google.com> Merge "Emergency redial implementation"
49042dc67c6df7177db10ab5c91e062faf1efedd 25-Aug-2017 Tyler Gunn <tgunn@google.com> Merge "Track conference start in system elapsed time."
am: 3b166fba8a

Change-Id: I8b78aaa447adcc1bfce0fec8f50857daa37d0575
732b7fb24935468ac20a8d8373876c65aaf5707e 04-May-2017 Srikanth Chintala <srikchin@codeaurora.org> Emergency redial implementation

Define connection event to notify
Telecom/InCallUi about change in
account handle after redial and extra
for emergency phone handle.

Test: Unit Tests
Bug: 27059146
Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
b2f875bc5468eec359dfbbe8697f94d7734cafed 04-Aug-2017 Tyler Gunn <tgunn@google.com> Track conference start in system elapsed time.

This is important so that Telecom can track the duration of the call,
which is tracked using wall clock time.

Test: Manual, unit test
Bug: 64068300
Change-Id: If642d282cd8134060acf6ffe8d81215c394d800c
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
3fa819c2f383d742edc8f03672678012bc5492e3 04-Aug-2017 Tyler Gunn <tgunn@google.com> Track conference start in system elapsed time.

This is important so that Telecom can track the duration of the call,
which is tracked using wall clock time.

Test: Manual, unit test
Bug: 64068300
Change-Id: If642d282cd8134060acf6ffe8d81215c394d800c
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
9a351ca849b0f74e407fa1b7fb7ce10c63d878d6 17-Jun-2017 Tyler Gunn <tgunn@google.com> Ensure CallId is not null when connection creation is complete.

When calling "get" on the mConnectoinById map, a null callId will result
in an NPE.

In findConnectionForAction, defaulting to returning the "null" connection
which is the same behavior as if it isn't found.
In notifyCreateConnectionComplete, specifically checking if the callId
is null and skipping the onCreateConnectionComplete callback.
This scenario is possible if the connection is remove from the
ConnectionService before the connection complete callback comes back from
Telecom.

Test: Manual
Fixes: 62588734
Change-Id: Ie610c51155ed417e0f916000fe20e4484bdb6603
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
a39fefc2fc9746757a5430d2357f719139b0e302 25-May-2017 Tyler Gunn <tgunn@google.com> Merge "Add ability to add existing connection AND set parent at the same time." into oc-dev am: 95f4f14e0b
am: 0aea0d2c53

Change-Id: I76805ba85bfac39cdaa3ddd2b8340423e4c7ffbe
0aea0d2c5361ce22493652e0fe9339d5b4bbc4f3 25-May-2017 Tyler Gunn <tgunn@google.com> Merge "Add ability to add existing connection AND set parent at the same time." into oc-dev
am: 95f4f14e0b

Change-Id: If762616920b266064cd1ee5520d5778ebb1475a7
95f4f14e0b93fa6b80723e3c48b2c461f97dea8f 25-May-2017 Tyler Gunn <tgunn@google.com> Merge "Add ability to add existing connection AND set parent at the same time." into oc-dev
78da7816da1acdb1cce3f4b5943d105c3383debe 09-May-2017 Tyler Gunn <tgunn@google.com> Add ability to add existing connection AND set parent at the same time.

This is useful for IMS conferences where we want to add a connection and
set it as a child of a conference at the same time.

Test: Manual
Bug: 37581781
Change-Id: Id09c8296ffe18893c5642d403c6a69ad6c9765e2
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
041a1fe3c62d510f4b95c6e06357824046f9d6f0 12-May-2017 Tyler Gunn <tgunn@google.com> Add ConnectionService callback invoked when connection creation complete.

Adding a new @hide callback in ConnectionService which a CS implementation
can implement. A callback from Telecom is responsible for invoking this
method.

Test: Manual
Bug: 33272455
Change-Id: Id17cf0fd8fd491b7677f9b7a7b52c76270b1c8c9
(cherry picked from commit d104a4f7f67ad6ca098bef0dc3824c5c47e7bcaf)
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
fa9293b1838334be1f32a30be566bb7597366fa4 24-May-2017 Tyler Gunn <tgunn@google.com> Merge "Add ConnectionService callback invoked when connection creation complete." into oc-dev
am: 71d051ad2c

Change-Id: I901377bda1364f0cb7b28bcb699a647627f775a9
d104a4f7f67ad6ca098bef0dc3824c5c47e7bcaf 12-May-2017 Tyler Gunn <tgunn@google.com> Add ConnectionService callback invoked when connection creation complete.

Adding a new @hide callback in ConnectionService which a CS implementation
can implement. A callback from Telecom is responsible for invoking this
method.

Test: Manual
Bug: 33272455
Change-Id: Id17cf0fd8fd491b7677f9b7a7b52c76270b1c8c9
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
727c6bd75525b46a63bd187a32d8bdf15ade3154 11-Apr-2017 Tyler Gunn <tgunn@google.com> Remove handover token.

Removing handover token and cleaning up the references to it in the docs.
This was supposed to go into the original CL but it looks like the upload
failed.

Test: Manual
Bug: 37102939
Change-Id: I98f392119258d059669ca68b50184b8bdadbcf0f
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
8bf76573574046283f12a56032aad760a51e7df2 07-Apr-2017 Tyler Gunn <tgunn@google.com> Add connection handover APIs.

Add new call/connection event keys for handover.
Add TelecomManager extra keys used for handover.
Add PhoneAccount extra keys used to control availability of handover.

Test: Test app/harness.
Bug: 37102939
Change-Id: Icc5db7209362f04c4e3be397fee692bbf4a6a473
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
ffa4a812f88effeaf293643601a9f2b8e18c517d 03-Mar-2017 Hall Liu <hallliu@google.com> Add @TestApi annotations to CS-side RTT APIs for CTS

CTS tests need both the in-call and connection service sides of the APIs
to test Telecom functionality properly, so annotating the hidden-for-now
connection service APIs with TestApi.

Test: part of CTS
Change-Id: I3711729d7e8c8aff2735f4da9fbd04bcca6b4942
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
6bb5110f2c9200533f21f6242457053883e786c9 07-Mar-2017 Hall Liu <hallliu@google.com> Merge "Add further Connection-side APIs for RTT (part 2)"
356322fb1e2cc581bb181f927550843a36aedcea 07-Mar-2017 Tyler Gunn <tgunn@google.com> Merge "API review cleanups/changes." am: 9324d6513b am: dd4bc7c69c
am: c49b011151

Change-Id: Ib3d76474bef8c911b2ec6a61b916e38af0a3b861
b64ac4c57a863463df98d42feabe09f3cfe942db 06-Feb-2017 Hall Liu <hallliu@google.com> Add further Connection-side APIs for RTT (part 2)

Add methods and callbacks to facilitate local and remote RTT initiation
and termination in the middle of a call. Adds @hide Connection-side APIs
to communicate with the ConnectionService, as well as plumbing for
RemoteConnections.

Test: manual, through telecom testapps
Merged-In: Ia80604b7dff8586ff222dbccdbe55e91aab02178
Change-Id: Ia80604b7dff8586ff222dbccdbe55e91aab02178
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
159f35c8e4a2d5902cbbeb8d3b9a80bddf247de3 02-Mar-2017 Tyler Gunn <tgunn@google.com> API review cleanups/changes.

- Change onCreateIncomingConnectionFailed/onCreateOutgoingConnectionFailed
to accept the connection mgr phone account as the first parameter.
- For the video APIs, pass the target SDK of the caller into along so
that the Telecom permission check can have fallback behavior for older API
versions.
- Add guidance for how UX should be shown in onShowIncomingCallUi API.
API guidance follows how the Dialer app shows its notification and full
screen UX.

Test: Manual, CTS.
Bug: 35767711
Bug: 35767096
Change-Id: Ib343f0eda1a4d067a38c553f33f140b4efcf3e48
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
57006aa82a69740df73415a456d31993e2785e24 06-Feb-2017 Hall Liu <hallliu@google.com> Add further Connection-side APIs for RTT (part 2)

Add methods and callbacks to facilitate local and remote RTT initiation
and termination in the middle of a call. Adds @hide Connection-side APIs
to communicate with the ConnectionService, as well as plumbing for
RemoteConnections.

Test: manual, through telecom testapps
Change-Id: Ia80604b7dff8586ff222dbccdbe55e91aab02178
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
d736a6b2c2d637442df83e692d4e86870b2253de 06-Feb-2017 Tyler Gunn <tgunn@google.com> Merge "Self managed CS implementation."
cd6ccfd23c91b6a1288949e187a1d8896dedd7cd 18-Oct-2016 Tyler Gunn <tgunn@google.com> Framework fixes to support VoLTE conf calls via RemoteConnectionServices.

Fixing some issues with the addExistingConnection and addConference APIs
on ConnectionService. When a connection manager relays the addition of
an existing connection or a conference to Telecom, it will assign a new
ID to the new connection/conference. Due to how RemoteCSes work, the
Connection/Conf will be added directly via TelephonyConnectionService and
also via the connection manager's connection service. Because the ID
changes, we ended up adding these twice. Conferences weren't a problem in
the GSM conference case because the TElephonyConnectionService's
ConnectionServiceWrapper didn't know of the IDs for the children of the
conference. However, due to how the existing connections work its not the
case for VoLTE conferences. To mitigate this, I'm passing the original
connection/conference ID to the connection manager via extras (ugh) and
using this to ensure that when the new existing connection/conference is
added to telecom that the same ID is used. This ensures that we can
properly de-dupe the requests from TelephonyConnectionService and the
connection manager.

Also, there was some missing code in RemoteConnectionService which would
cause it to not properly track existing connections.

Bug: 31464792
Change-Id: I436f4438fd000ea48ebea7ceb75105bd3f456e46
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
44e019140ec4293ed53a91c459b8becc11f1d0fc 31-Jan-2017 Tyler Gunn <tgunn@google.com> Self managed CS implementation.

Add required AIDL changes to pass along connection fails.

Test: Manual
Bug: 34159263
Merged-In: I0a24ff786b2867aa4e19ac79959df54a04983251
Change-Id: I0a24ff786b2867aa4e19ac79959df54a04983251
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
3edafc16ac334dd89d916b7745f2a8d655bbda61 31-Jan-2017 Tyler Gunn <tgunn@google.com> Self managed CS implementation.

Add required AIDL changes to pass along connection fails.

Test: Manual
Bug: 34159263
Change-Id: I0a24ff786b2867aa4e19ac79959df54a04983251
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
d70e5d93171e0b771b1d4b2ceff26084a5797e4e 19-Jan-2017 Tyler Gunn <tgunn@google.com> Merge "Adding self-managed connection service APIs." am: 3a7253a09d
am: 2155be0218

Change-Id: I75319e09f352905ffa45194086b11711f9070c70
f50354363c2bace924c6aeea5746b3c690a7108e 09-Jan-2017 Tyler Gunn <tgunn@google.com> Adding self-managed connection service APIs.

1. Adding new APIs for self-managed connection services.
2. Adding Telecom package-level documentation.

Test: Manual (unit, cts pending; this is just scaffolding for now)
Bug: 34159263
Change-Id: Ic226ec8bfcb2fbcc02fe802b47499e47aab17d0a
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
2830ce9a096301acac8cc3dadeb2bf9a03edc4e3 01-Dec-2016 Christine Hallstrom <hallstrom@google.com> Add ability to set supported audio routes on phone accounts and connection

The set audio routes are used by Telecom to restrict where the audio may
be routed to. For example, an account can specify that calls may not be
routed over bluetooth headsets, which will prevent a new call from being
routed to this source.

This is a cherry-pick of abandoned ag/1521009.

Bug: 32958838
Change-Id: Idd5e4d38b157f11454f3d991385644f2f384596e
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
9161228e31d4ec5c3d769e24b9de8c736a6587ae 02-Dec-2016 Christine Hallstrom <hallstrom@google.com> Add ability to set supported audio routes on phone accounts and connection
am: 4e22d6dc45

Change-Id: I5144f403e9dcdc7934fa56e045e2f95703af7ad6
4e22d6dc453de8e15e19e842c189522796c1cf80 01-Dec-2016 Christine Hallstrom <hallstrom@google.com> Add ability to set supported audio routes on phone accounts and connection

The set audio routes are used by Telecom to restrict where the audio may
be routed to. For example, an account can specify that calls may not be
routed over bluetooth headsets, which will prevent a new call from being
routed to this source.

This is a cherry-pick of abandoned ag/1521009.

Bug: 32958838
Change-Id: Idd5e4d38b157f11454f3d991385644f2f384596e
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
3ae84b6efee4bb97ee6d6d293abe95c26517504a 17-Nov-2016 Brad Ebinger <breadley@google.com> Merge "Readability improvements in Logging" am: d51df736f6
am: 90b6e78657

Change-Id: I51e87f2a8146e1e60d3610bbdc791b40fc8ba972
90b6e786572d037148e3987c5bd9dd741c2dec4d 17-Nov-2016 Brad Ebinger <breadley@google.com> Merge "Readability improvements in Logging"
am: d51df736f6

Change-Id: If7bb6955d615b8369ac41d3bb8ba96aa0cc752d2
0c3541be65fa87519a879c053a7cf4b4526be5db 01-Nov-2016 Brad Ebinger <breadley@google.com> Readability improvements in Logging

We now truncate Session method paths and IDs based on the Logging level
to improve Session Logging readability in logcat. If another external
session is started off of an existing external Session, the preceding
histories are replaced with "..." so that the Session information is not
overwhelming.

Bug: 26571395
Test: Unit Tests and manual tests pass
Change-Id: I9ffda3d64f1072fa6228a82a86116a5e47d18c96
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
668a6fa227965f744dcee046855cfdde0f14969d 28-Oct-2016 Brad Ebinger <breadley@google.com> Modify AIDLs to include Session.Info
am: b32d4f8b5c

Change-Id: Ibbac4c74b5a0c4fcd5524c97acef5fc078d80cb7
b32d4f8b5cd5b9c2415e291896b83267e1b4d5fe 25-Oct-2016 Brad Ebinger <breadley@google.com> Modify AIDLs to include Session.Info

Modifies the IConnectionService.aidl file to include Session.Info
information to pass from Telecom to Telephony, which is used to start
external Sessions in Telephony from Telecom.

Test: Manual testing and Unit Tests pass
Bug: 26571395
Change-Id: Ia09a0abfa13d5167542d4c67465ea9aa1930b58b
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
3445f829077cea72da77e31f0a2f6ccce3af295b 25-Oct-2016 Brad Ebinger <breadley@google.com> Modify AIDLs to include Session.Info

Modifies the IConnectionService.aidl file to include Session.Info
information to pass from Telecom to Telephony, which is used to start
external Sessions in Telephony from Telecom.

Test: Manual testing and Unit Tests pass
Bug: 26571395
Change-Id: Ia09a0abfa13d5167542d4c67465ea9aa1930b58b
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
d55bf0fa1bc17697eed4a5e1c12259862ffda6a5 20-Oct-2016 Tyler Gunn <tgunn@google.com> Framework fixes to support VoLTE conf calls via RemoteConnectionServices. am: 2282bb97e7
am: 7f4abb2a05

Change-Id: I2320cc580dba98b40a4ed630ad52d1c6b55a6349
2282bb97e78ea87ff322ecf12563ab0120af2b28 18-Oct-2016 Tyler Gunn <tgunn@google.com> Framework fixes to support VoLTE conf calls via RemoteConnectionServices.

Fixing some issues with the addExistingConnection and addConference APIs
on ConnectionService. When a connection manager relays the addition of
an existing connection or a conference to Telecom, it will assign a new
ID to the new connection/conference. Due to how RemoteCSes work, the
Connection/Conf will be added directly via TelephonyConnectionService and
also via the connection manager's connection service. Because the ID
changes, we ended up adding these twice. Conferences weren't a problem in
the GSM conference case because the TElephonyConnectionService's
ConnectionServiceWrapper didn't know of the IDs for the children of the
conference. However, due to how the existing connections work its not the
case for VoLTE conferences. To mitigate this, I'm passing the original
connection/conference ID to the connection manager via extras (ugh) and
using this to ensure that when the new existing connection/conference is
added to telecom that the same ID is used. This ensures that we can
properly de-dupe the requests from TelephonyConnectionService and the
connection manager.

Also, there was some missing code in RemoteConnectionService which would
cause it to not properly track existing connections.

Bug: 31464792
Change-Id: I436f4438fd000ea48ebea7ceb75105bd3f456e46
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
0e5042e7519f234e478b51e327476ed570462a0a 20-Sep-2016 Cuihtlauac ALVARADO <cuihtlauac.alvarado@orange.com> Merge "Fix parameter description" am: 750b523aa2 am: df5f3e6db8
am: b2a1ee15c9

Change-Id: I97356fde75e28e6074a819814353070a7e3327c0
0b3b2a5f3b2b924c05c2240e69c1750d60a056a7 13-Sep-2016 Cuihtlauac ALVARADO <cuihtlauac.alvarado@orange.com> Fix parameter description

Correct parameter description text according to method name.

Change-Id: If6bd8254386a84efd338b58797c2c338ccb513b7
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
c96b5e087382a2a530e9c8cf8f2e1f8dbfc439c5 08-Jul-2016 Tyler Gunn <tgunn@google.com> Finalize MEP functionality.

1) Finish plumbing of PULLING_CALL state.
2) Add new disconnect cause used when maximum number of calls across
all devices has been reached.
3) Add PII mask for toString of ImsExternalCallState.

Bug: 29522023
Change-Id: I78a0a9f3c3d846cfc58a1c5bcc6f105027602cbc
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
7e745ec49c0458f92af65bf370770417dcc7075d 18-May-2016 Chenjie Luo <cjluo@google.com> Add null pointer check in removeConnection am: e370b538eb
am: 58642e6545

* commit '58642e65455ee9456993a2f6386402fbcec68ab8':
Add null pointer check in removeConnection

Change-Id: Ia4d14a664c9869d1065313db6795ac4e72dee59d
58642e65455ee9456993a2f6386402fbcec68ab8 18-May-2016 Chenjie Luo <cjluo@google.com> Add null pointer check in removeConnection
am: e370b538eb

* commit 'e370b538ebb6ca1072f270aee3003faaa0d1deb2':
Add null pointer check in removeConnection

Change-Id: I7b615a8f7c7a89617c4f748ad74007ec73db6784
e370b538ebb6ca1072f270aee3003faaa0d1deb2 13-May-2016 Chenjie Luo <cjluo@google.com> Add null pointer check in removeConnection

Bug: 28607777
Change-Id: I199ed75740796540d243ad9f507ab2511c9ed3c1
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
720c664401081ca00e56c7eef12641ae792da530 22-Mar-2016 Tyler Gunn <tgunn@google.com> Add connection properties to Connections.

- Per suggestion of API council, moving properties of a Connection from
CAPABILITIES_* to PROPERTIES_*.

Bug: 27458894
Change-Id: Icce921b03cda514a991646ed39a26559c7e91230
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
dee56a8a79f9daa1e597f5d4f399d3a5feedcac4 24-Mar-2016 Tyler Gunn <tgunn@google.com> Expand call/connection extras API.

Currently, connection extras are propagated up to Telecom as an
entire bundle. This is not ideal, as any time a change is made to
the extras, the bundle needs to be fetched, changed, and then re-set on
the connection, where it is parceled to Telecom as a whole.

Using how extras on an Intent as inspiration, this CL adds separate
putExtras, putExtra, and removeExtra methods to allow manipulation of
the extras bundle without operating on it in its entirety.

This Cl also adds support for Calls modifying the extras bundle, with
changes propagated back down to ConnectionServices.

Bug: 27458894
Change-Id: I152340a3bca2dc03f170b06b172a6823410fb961
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
7904a972e1178d2157263cecdcaaf4917c0fffdf 18-Mar-2016 Tyler Gunn <tgunn@google.com> DO NOT MERGE Add new ConnectionEvent API (hide) to send a notification to Telecom

Connection event used to inform Telecom that it should play or stop
the on hold tone. This is used to play or stop a tone when the peer
puts the current call on hold.

BUG=25357778
Change-Id: I2669f8f5062449784a712b9dd28e576326fcc679
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
876dbfb4767da4a2ba5459d5b78fb6eb55e4516f 14-Mar-2016 Tyler Gunn <tgunn@google.com> Add API support for multi-endpoint.

This CL includes changes required to support multi-endpoint (see the
design doc linked off the bug).

Main changes include:
- support for indicating if a call/connection is "external" to the device.
- support for indicating if an external call can be pulled from the
remote device to the local device.
- API used to initiate a pull of a call external to the current device to
the current device.
- Made the "connection event" API public (was previously @hide); this will
be used to support passing some error events involving pulling calls to
the incall ui.
- Added new InCallService metadata which will be used to determine if an
InCallService wants to be informed of external calls.
- New disconnect causes which will be used to expose the fact that a
multi-endpoint call was answered elsewhere and that a call ended because
it was pulled to another device.
- New call log call types to indicate if calls were answered elsewhere
or pulled to another device.

Bug: 27458894
Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
256aa5afd7329c5d784220bed99b2cb3904092b4 25-Feb-2016 Santos Cordon <santoscordon@google.com> Merge "Add APIs to support CDMA add-call limitations." into nyc-dev
a6018b9bf4308f10ee15a510da0fffcfd57c1f7a 16-Feb-2016 Santos Cordon <santoscordon@google.com> Add APIs to support CDMA add-call limitations.

Bug: 22850789
Change-Id: I63de958c6c788a7da5696416e59d2f43cbe633cc
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
bd1eb1f105e99d55fe87d758e8eafbe55a221a30 16-Feb-2016 Tyler Gunn <tgunn@google.com> Add new ConnectionEvent API (hide) to send a notification to Telecom

Connection event used to inform Telecom that it should play or stop
the on hold tone. This is used to play or stop a tone when the peer
puts the current call on hold.

BUG=25357778
Change-Id: I2669f8f5062449784a712b9dd28e576326fcc679
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
085796bdf5e106abd42db2d0ef7d3aee899a766b 01-Dec-2015 Bryce Lee <brycelee@google.com> Merge "DO NOT MERGE ANYWHERE" into cw-e-dev
842ec9c407f781f520540db69f92105e9025dc7c 30-Nov-2015 Bryce Lee <brycelee@google.com> Merge "Add callback for connections to be notified when the ringer is silenced." into cw-e-dev am: 52bdf11583 am: b241487c16 am: 64e41590d2
am: 0ca7de9031

* commit '0ca7de90310034d118f21343a69a38ebc02dd0bc':
Add callback for connections to be notified when the ringer is silenced.
cac50775b2e13c293d224b8d09feb15f9ee40c3f 18-Nov-2015 Bryce Lee <brycelee@google.com> Add callback for connections to be notified when the ringer is silenced.

Bug: 25644529
Change-Id: Ie7dc9028cf6243d98b2d87ca4c8b3ffcd31e3676
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
dd976b1b0dab6655e180eecd0d2c44658b66f529 17-Nov-2015 Bryce Lee <brycelee@google.com> DO NOT MERGE ANYWHERE

Add ability to set supported audio routes on phone accounts and connection.

The set audio routes are used by Telecom to restrict where the audio may
be routed to. For example, an account can specify that calls may not be
routed over bluetooth headsets, which will prevent a new call from being
routed to this source.

Bug: 25485578
Change-Id: Ia1ca665e9ae8852a2538ab7cbeb3a73217d9b03b
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
6b3db37f3cced17af107d452799f700f3cc56754 17-Sep-2015 Tyler Gunn <tgunn@google.com> Merge "Support for Telecom Call IDs."
f0500bd63571c667df7865d7484c89f671382711 01-Sep-2015 Tyler Gunn <tgunn@google.com> Support for Telecom Call IDs.

Add support for caching telecom call ID in connection and conference
classes.

Enhance connection service call ID generation:
For "existing calls", the connection service will try to use a call ID
of the format ClassName@ID
Where ClassName is the ComponentName of the connection service, and ID
is a unique incrementing ID for the connection service.

Bug: 23357902
Change-Id: I2284b018465e2b330fc8a3b556758e9f34a2daba
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
8190168077aa3ef02a1f5a3a636130d83c4eec1d 29-Aug-2015 Bryce Lee <brycelee@google.com> Add capability for a connection hand rejection text response.

Change-Id: Id90417736bed7ab8750144ccaf3c7b449ec832b8
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
5926761865fe3ea484e02ad2dcf87b72b36ce4f3 17-Jul-2015 Roshan Pius <rpius@google.com> am 5aff3b54: Merge "Maintain call time across SRVCC (2/3)." into mnc-dev

* commit '5aff3b5489262ccff4b6f9e18e0d990ebfe4d7bc':
Maintain call time across SRVCC (2/3).
e927ec02f5bbad925d5f28cbe370a04aa118f370 16-Jul-2015 Roshan Pius <rpius@google.com> Maintain call time across SRVCC (2/3).

When an IMS conference call encounters an SRVCC event requiring a
fallback to GSM/CDMA, we need to maintain the call time for the
conference host across this fallback. So, adding a connectTime attribute
in the underlying conference host's connection object which can be used
to account for the call time from the now inactive conference call into
the new call created.

BUG: 21918593
Change-Id: I13e7ae6e31f004e798776c02ac7a6ac09a10f0bd
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
6bf35acd7c0206d90f9a4a36735bcd4d5bfec75e 12-Dec-2014 Shriram Ganesh <sganesh@codeaurora.org> Added support for mid-call enabled SRVCC conference call

When TelephonyConnection is created for an unknown connection,
the recalculation of conference participants have to be
retriggered. This is because, unless that TelephonyConnection is
added to ConnectionService, it cannot be added as part of a
conference call in CallsManager.

Change-Id: Ic9359104f02eddff655d84fd25f5c28c9158e5f4
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
895d4b8f63389b79974dfd3e36f1ab10b5ceb4dc 26-Jun-2015 Santos Cordon <santoscordon@google.com> Telecom API council changes.

- adding more javadocs.
- fixing javadoc on isEnabled
- renaming to CONFIGURE_PHONE_ACCOUNT

Bug: 21573551
Change-Id: Ice035b8573a08ea18181a73c9e9a462520a934f1
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
6b7f955c2d9b231660b8c54f8ef8e8e6ad802625 28-May-2015 Santos Cordon <santoscordon@google.com> Add extras to Connections/Calls. (1/3)

Two major changes:
1) Add the notion of extras to a Connection. These extras will be
parceled through to InCallService as Call.getExtras()
2) The previously existing Call.getExtras() has been renamed to
getIntentExtras(). This name better describes the fact that these
particular extras are from the original CALL or INCOMING_CALL intents.

Change-Id: I08c1baf4f08d54757f98012f0c08b423a707c53d
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
ad0bfe3ae2f056a568c6256614079e6f31f5d542 14-May-2015 Yorke Lee <yorkelee@google.com> Merge "Add BIND_TELECOM_CONNECTION_SERVICE permission" into mnc-dev
249c12e7b88fc7799c1b5e1eaf72429fc6aa56a2 14-May-2015 Yorke Lee <yorkelee@google.com> Add BIND_TELECOM_CONNECTION_SERVICE permission

Bug: 21088342
Change-Id: I465307899d83c4a3ee5e88a28554c4b867c1f4ba
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
4af5935c71f1e31ef1aec27661c4ef60545a0924 13-May-2015 Yorke Lee <yorkelee@google.com> Rename AudioState to CallAudioState

Deprecate AudioState class and make methods @SystemApi where
necessary to minimize impact to SystemApi
Replace usages of AudioState inside Telecom sub-systems
Fire both onCallAudioStateChanged and onAudioStateChanged callbacks
for backward compatibility
Support both setAudioState and setCallAudioState for all classes

Bug: 21040387
Bug: 21088300
Change-Id: I3ec7b3afdaa344c6d639d1c421f1842d67f7d0f7
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
6b3714939f31779d746c4f293cd55d5a9b09a0b9 08-May-2015 Tyler Gunn <tgunn@google.com> Un-@hiding some missed VT APIs.

Bug: 20947116
Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
b6f9da0b7f26b50163461a767cafcd8014328742 01-May-2015 Prerepa Viswanadham <dham@google.com> Merge commit '17455a3' into master_merge
17455a3d39350a39eb995897929977d793358365 25-Apr-2015 Anthony Lee <anthonylee@google.com> Add plumbing for merge failures and renable button. (3/4)

The merge failure is not plumbed up through any layer that
can trap the callback and act on it. The first part of this
fix is to create that plumbing. Then we need to reenable the
merge button. At this point in time, we leverage the fact
that forcing the call to reassess its capabilities will poke
the InCallUI to reenable the merge button. In the future, we
should plumb the merge failure all the way to InCallUI and
not only handle the button but display UI to the user. The UI
is currently being displayed by CallNotifier which is the wrong
place. See b/20530631 for more details.

Bug: 20229905
Change-Id: I0355ada46b484c6db4bee656c77386dd61be5e1f
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
94f2c27aca75bf96a5600ada7395f34cc2df42ce 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '7f61051' into merge2
4cf116ff20f143136ea69a8522fc01ef8a1e7f85 20-Apr-2015 Tyler Gunn <tgunn@google.com> Merge "API Cleanup - rename IConferenceable to Conferenceable."
df2cbc8989e624cd6a1d732549ea4a4f00852508 20-Apr-2015 Tyler Gunn <tgunn@google.com> API Cleanup - rename IConferenceable to Conferenceable.

Bug: 20165255
Change-Id: If4cb323749b6ef9e8657506434d760d07c34167f
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
6f20a6a2b40e8ff362cf4cad977ebdae5ad999da 16-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Remove connection substate

Bug:20300433
Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
8f988439247f90633af5fbcc6b18214f3b6f6d31 16-Apr-2015 Jay Shrauner <shrauner@google.com> Remove connection substate

Bug:20300433
Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
3e3e2f2b9c693a238cc13c26649918ee4c994af7 16-Apr-2015 Andrew Lee <anwlee@google.com> Fix missing comma.

Change-Id: Ied739e7f1b6d548237821db553f27994b0ee92af
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
0f51da328d11f8709d99890a61d6b4021a2207a5 16-Apr-2015 Andrew Lee <anwlee@google.com> resolve merge conflicts of edc625f to m-wireless-dev.

Change-Id: Ibbcd764505ccc38f9f61c96993d979a099f1cc6b
1cf9b6bec12c027a0d551540a6e01f3ac2d0a9d4 10-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Make Telecom/InCallUI APIs public

Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
55b97525f0f50857f1ab0acd2608053fd0f3416c 10-Apr-2015 Jay Shrauner <shrauner@google.com> Make Telecom/InCallUI APIs public

Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
edc625f52e5db5d0cb3d60387218f8f8365167f7 14-Apr-2015 Andrew Lee <anwlee@google.com> Add StatusHints to Conference object.

+ Consolidated ParcelableConference constructors; only one is used.

Bug: 20181703
Change-Id: Iad49f10404e1c1eedc4ef68525bde0f10a8dfc97
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
07366813cdf3768dcd69a1f744023747564d654a 25-Mar-2015 Rekha Kumar <rekhak@codeaurora.org> IMS-VT: Upgrade/Downgrade change
-Add isVideo API to VideoProfile.VideoState

IMS-VT: Fix propagation of device orientation.
Orientation received at VT Service is incorrect.
Fixed propagation of device orientation to VT service.

IMS-VT: Upgrade fix
-Add session modify call timed out constant

Notify listeners of video quality changed event
- Propagate the video quality changed message to the UI.

IMS: Add support for video quality
- Add Config interface to get/set video quality

IMS-VT: Multitasking feature
-Support for video multitasking

IMS-VT: Modification of data usage aidl
Change data usage aidl interface to take parameter type long
instead of int

Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc

Propagate the call substate changed message to the UI

IMS-VT: Add call modifiable capability

PhoneCapababilities call type modifiable constant added

IMS-VT: Add a bit mask CALL_SUBSTATE_ALL with all call substate bits set

IMS-VT: Enable Video conferencing.

Enable Video conferencing.

Change-Id: I4240aa6f32c75d6eea8a41da3c87bca651f0901b

IMS-VT: Add hide for setVideoProvider API
Observed compilation error for SDK generation due to setVideoProvider
API. Marking setVideoProvider as hide inorder to resolve the
compilation error.

IMS-VT: Add persist.radio.ims.audio.output for VT calls
-- Add persist.radio.ims.audio.output to set the default speaker
for VT calls.
-- Add required constants

IMS-VT: Add additional error codes for upgrade downgrade
-Add support to send additional error codes to UI during
upgrade downgrade.

Change-Id: Id452d225098fe3bccdcd37d242985c5c761144c1
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
cd5d33c89f25b3bfe8989d55f05702d0970c13b4 12-Jan-2015 Tyler Gunn <tgunn@google.com> Fix for call timer resetting when starting IMS conference call. 1/4

- Added support in Conference for specifying the connect time when the
conference is created.

Bug: 18959443
Change-Id: I501edde3b62f6bf021eb7455089e80626013da12
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
27d1c2d148fe377ca0d2744f0f85789a42c8f808 16-Dec-2014 Nancy Chen <nancychen@google.com> Pass onPostDialChar call back from Telephony to Telecom.

Add plumbing to alert Telecom every time a character is processed after
the post dial wait state (the processing happens in Telephony).

Bug: 18644688
Change-Id: I487d76aa9c959ca528c6377374aa35c2d0b4a803
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
5c9c86ec0f95d1f5e1aca212967f508fc736b895 12-Nov-2014 Ihab Awad <ihab@google.com> Telecom API updates (1/6)

Bug: 18292176

Change-Id: I060366234a5a60510c385dc837f2b7e79596eaf5
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
6d76ca0438c2cb7a7d5d91992db819c063c0a57b 18-Nov-2014 Tyler Gunn <tgunn@google.com> Change Connections to allow setting conferenceable with conferences.

- Added IConferenceable interface used so that connections and conferences
can both be considered candidates as "conferenceable" with a connection.
- Fixed ConnectionService#conference to support cases where either call 1
or call 2 is a conference and the other is a connection. Previously did
not support cases where call 2 is a conference.

Bug: 18200934
Change-Id: I32a8dd30a154d6280f2ae89fd147817235998465
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
0e094d926c306c3667bcdf6f23c52cc7181f25f3 09-Nov-2014 Evan Charlton <evanc@google.com> Apply @hide / @SystemApi to android.telecom.*

Move the android.telecom.* namespace back to @hide, and also mark it
with @SystemApi so that system-privileged apps can use them.

Bug: 18302450
Change-Id: I33ae1b9b0dfdb1c5eff51ca3c829196bcfc9411c
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
30e65842493adc71aff649f32a45b6a38e83dc2e 07-Nov-2014 Anthony Lee <anthonylee@google.com> Change access to removeConnection so we can override it.

Bug: 18056632
Bug: 18240234
Change-Id: I4e82051a27f3565e9a854df8b27c35300cdbe2ad
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
a663f86fd30c952a3b747763d2faea709eccbe91 29-Oct-2014 Santos Cordon <santoscordon@google.com> Even, Even more telecom javadoc.

Bug: 18142177
Change-Id: Ic952f3a81cb957bc5b9b6d0aa755adaab9fb74aa
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
4a57b9b59b74c97e559a301af0add13cd4c3331c 30-Oct-2014 Tyler Gunn <tgunn@google.com> Creating connections for conference event package participants.

- Add "addExistingConnection" method to connection service which provides
a way for a connection service to notify telecom of a pre-existing
connection (connections are normally created through telecom).
- Modify TelephonyConferenceController to retrieve its state from a
multiparty connection in the conference (in the case of IMS calls, this
would be the ImsCall that manages the conference) instead of just taking
the first one.

Bug: 18057361
Change-Id: I26993aec54ecb0ce90ae6983fd3eed9d8d0a5773
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
7a394311ad23b648e4cc9efa4538e06b57f5f08f 07-Oct-2014 Yorke Lee <yorkelee@google.com> am 770ed6ec: Fix build break

* commit '770ed6ec920ec10798c5b7a7b4850ccc0b2a531f':
Fix build break
770ed6ec920ec10798c5b7a7b4850ccc0b2a531f 07-Oct-2014 Yorke Lee <yorkelee@google.com> Fix build break

Bug: 16852844
Change-Id: I227aab0afdf4a5a5cd5dc38e7af055b7a1b94729
(cherry picked from commit 9858af0ec68ad28db60047587c8eb6232b4a6591)
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
0b27c283771e3690f47900d0c2130ae10af332a5 07-Oct-2014 Yorke Lee <yorkelee@google.com> am 7e552595: am 4c334f3d: Merge "Add ability to add sim-initiated MO call to UI (2/4)" into lmp-dev

* commit '7e552595bda0825787820e3d9bb58b5fad32cd01':
Add ability to add sim-initiated MO call to UI (2/4)
c3cf982d18e28fc27126265422f36c5e845808db 02-Oct-2014 Yorke Lee <yorkelee@google.com> Add ability to add sim-initiated MO call to UI (2/4)

Add supporting (hidden) APIs to TelecomManager to add the ability to
add a previous unknown call to Telecom

Bug: 17787391

Change-Id: Ibdfaee81a55e11451c146751cf970980dccad435
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
12a4df2b66fccbc1e4293e8f56217e1064b2e8ea 01-Oct-2014 Ihab Awad <ihab@google.com> resolved conflicts for merge of ead63f02 to lmp-mr1-dev

Change-Id: I20d5f9d8aae82f0cb6f0ebf2ac1cb0af05eb8c9b
50e3506533478fa273cbc92c2919470d1889f1ed 30-Sep-2014 Ihab Awad <ihab@google.com> Refine implementation of GSM conferences (1/3)

Bug: 17684223
Change-Id: I05d05b594803ea2c1da4247111b70ad5f870ac46
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
8635c578f0408ca76cbaef5464d27bfde7450425 24-Sep-2014 Evan Charlton <evanc@google.com> Revert "@hide ConnectionService APIs."

This reverts commit 86935c406e4a8bb0e2ad871b51009f3603df9e87.
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
95e8070e296e2fc327d09334ec97103f8b32b848 18-Sep-2014 mike dooley <mdooley@google.com> Fixing ConcurrentModificationException.

Implementing review feedback.

Bug: 17572658
Change-Id: I3a060d21669a58188a24c5d6ec5fefcbca45a976
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
711d876fd110b33519afb5d05f5a740ade635787 19-Sep-2014 Tyler Gunn <tgunn@google.com> @hide ConnectionService APIs.

Bug: 17569532
Change-Id: I68f7237191bd6d7a1a00ba7bb4fd2f8e3d669e8f
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
1c4eb10cc1159d5e029f982a629c5262419fa5ce 17-Sep-2014 Yorke Lee <yorkelee@google.com> Merge "Add missing methods to Conference object" into lmp-dev
2678639f9e87077418b268f2b71f5e7e101fcacc 17-Sep-2014 Andrew Lee <anwlee@google.com> Fix disconnect log printf in ConnectionService.

Bug: 17534940
Change-Id: I41499701d1f7a3ab0816624d27094c6c86fb5b01
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
7f3d41fd124dd7c4a8b72c1d48df08a8ee7209ec 12-Sep-2014 Andrew Lee <anwlee@google.com> Add new DisconnectCause class to telecomm.

+ Add a hidden "UNKNOWN" default type to ToneGenerator.
- Hide the Telephony DisconnectCause from the public API.
+ Add a Telecomm DisconnectCause. This is parcelable, and contains
information (code, user facing message, non-user facing reason,
and tone) to help describe the disconnect state and what behaviors
an application can implement for the user experience. This reduces
the causes for a disconnect to a more generic set.
+ Lots of work to pipe this through. DisconnectCause replaces the
code and message which were formerly passed around.

Bug: 17241433
Bug: 17329632
Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
a0d3ca9746143d669fe9384babb9e1b9fca33dcf 16-Sep-2014 Yorke Lee <yorkelee@google.com> Add missing methods to Conference object

Add setAudioState, onPlayDtmf and onStopDtmf to the conference object.
This fixes DTMF tones for conference calls.

Bug: 17512380
Change-Id: Ice9403d3d750131f077a3ea129b7f67430c68348
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java
ef9f6f957d897ea0ed82114185b8fa3fefd4917b 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
/frameworks/base/telecomm/java/android/telecom/ConnectionService.java