History log of /frameworks/base/telecomm/java/android/telecom/Call.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0ab380166d875021ccbf83636b1cca2d1fdd8e55 19-Mar-2018 Tyler Gunn <tgunn@google.com> Rename handover failure constant per API review comments.

Expanding EMERG to EMERGENCY.

Test: Build code
Bug: 74831393
Merged-In: Ic0555b20dc508d022c0165a5d9dc3b40b33db70e
Change-Id: Ic0555b20dc508d022c0165a5d9dc3b40b33db70e
(cherry picked from commit a4ef504bdc3044920d4996b93c30751a2fbce217)
/frameworks/base/telecomm/java/android/telecom/Call.java
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/Call.java
c73f954cc7e2b6c0305624faee8fa4c3003ffd29 26-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Revert "Add the assisted dialing carrier config.""
dd2db2f5a3fc77b085b6ca35c1e91cf9c4d3e96b 21-Feb-2018 Eric Erfanian <erfanian@google.com> Revert "Add the assisted dialing carrier config."

This reverts commit af7b8c0a67f1f416e9156c375a940a47389ab838.

Reason for revert: we're cutting the feature from P

Change-Id: I1ccc2c36b480f64c3a8b3df7eee73f80b7863722
Bug: 73727182
/frameworks/base/telecomm/java/android/telecom/Call.java
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/Call.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/Call.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/Call.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/Call.java
af7b8c0a67f1f416e9156c375a940a47389ab838 18-Jan-2018 Eric Erfanian <erfanian@google.com> Add the assisted dialing carrier config.

This is used to activate the feature and show the settings.

Remove @hide from the public APIS.

Design doc:
go/assisted-dialing-dd-v1

Test: manual
Bug: 63934304
Change-Id: I09ea52720bf2439537e2f4ad32afb14f5df25f71
/frameworks/base/telecomm/java/android/telecom/Call.java
f6a9e5b6e0527ec1cd56b2f8e7f3d187e4e02d76 05-Jan-2018 Sanket Padawe <sanketpadawe@google.com> Add permission check for old call handover apis.

Bug: 65415068
Test: manual
Change-Id: I4784debf1be255de24c341fe5474fc529bc1cebe
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
ec88187e62b8f41e96224898417d36f534d07987 07-Dec-2017 Eric Erfanian <erfanian@google.com> Add assisted dialing properties to the framework.

These properties allow the feature to be propogated from
the outgoing call broadcast, to the connection, to the call,
and finally to the call log as a feature.

Test: no existing unit tests found. could use some pointers
Bug: 35963245
Change-Id: I3ed8ac5ad7300c44f87e2573d9409b3a92b98ab6
Merged-In: I84343fb0cda16514c01997fd71d1e819b5b7eebb
/frameworks/base/telecomm/java/android/telecom/Call.java
c376ca6bc13c0ec750b0479806d7aae7d0db002d 16-Nov-2017 Sanket Padawe <sanketpadawe@google.com> Merge "API declarations for Call Handover."
am: d88abc7b60

Change-Id: I0be6f240073408bf9520766238ecf791c016a40b
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/Call.java
b1c8a77f5984e9a5a694fada9fd5dc491e518281 18-Jul-2017 Hall Liu <hallliu@google.com> Do not throw IOException from RttCall.read()

Modify the signature of read() to no longer throw an IOException

Change-Id: Ib5a1d8615a4bd66716a54c53865a2d560f33de83
Test: builds
Fixes: 63769529
/frameworks/base/telecomm/java/android/telecom/Call.java
b22077600aeba0d3f4cc7bf76aa7d76306b98b34 23-Jun-2017 Tyler Gunn <tgunn@google.com> Merge "Define handover event sent when source disconnects prior to handover." into oc-dr1-dev am: 06c32f21fc
am: f141183abe

Change-Id: Ibd0612f738dfa727cb0c110ed801f568fc9c7f65
34a2b31e95d18739c8f11c82a34106d8d95e70e2 23-Jun-2017 Tyler Gunn <tgunn@google.com> Define handover event sent when source disconnects prior to handover.

Define new event which is sent to the destination call if the source
disconnects prior to the completion of the handover.

Test: Manual using test app
Bug: 62904673
Change-Id: I9fa74e374f78beb801f08ce1fd7260d7d7fe7cac
/frameworks/base/telecomm/java/android/telecom/Call.java
90396365357c745070145a87b6036e6bb07cbae8 13-Jun-2017 Jeff Sharkey <jsharkey@android.com> Revert "Hide APIs not intended to ship in DR."

This reverts commit 0c28d43fe1423198f99a0518887b69a4205bc6f7.
/frameworks/base/telecomm/java/android/telecom/Call.java
0c28d43fe1423198f99a0518887b69a4205bc6f7 09-Jun-2017 Jeff Sharkey <jsharkey@android.com> Hide APIs not intended to ship in DR.

This CL will be reverted once it merges into the next release branch
to re-introduce the proposed APIs.

This CL also makes the following code changes to preserve API
compatibility:

-- It keeps the recently added RemoteViews.clone() synchronized logic
intact, but moves it inside the method to avoid changing the API
signature.

-- It reverts the RttCall.read() behavior to the oc-dev logic, since
we can't throw IOException until we get an API level bump. (The
original logic returned null instead of throwing.)

Test: builds, boots
Bug: 62427252, 62431886, 62427329
Bug: 62468911, 62431162, 62428935, 62429096
Bug: 37290820, 37359238, 36886243
Bug: 30143923, 35761231, 62192626, 29829689
Change-Id: I83d723f598cb0ee1fe198e65debd86ef7fd0420c
/frameworks/base/telecomm/java/android/telecom/Call.java
9f6f04733ef1ce1c3def27b4307d3acbd3831a9d 18-Apr-2017 Tyler Gunn <tgunn@google.com> Further handover support changes.

Add handover extras key used when initiating handover.
Add handover complete / fail connection events which are sent to the
initiating IncallService when a handover is complete or fails.
Adding PhoneAccount extra to indicate that a self-managed CS should have
its calls logged to the call log.

Test: Manual
Bug: 37102939
Change-Id: Icbb6f1addf913de841a9c48089a7d8311668f3bc
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
7efa3442cc652b452eba20c31f524d58df9d8b25 05-Apr-2017 Hall Liu <hallliu@google.com> Merge "Add @TestApi annotations to CS-side RTT APIs for CTS" am: f6f3c16dfb am: 6689b57b66
am: bd2cf664ca

Change-Id: I22bd2201b0cc2b3bcbf8d1eb740a91485735d03f
f6f3c16dfbc9c00513f36fa53d20f7fa65992b3c 05-Apr-2017 Hall Liu <hallliu@google.com> Merge "Add @TestApi annotations to CS-side RTT APIs for CTS"
36cd1fd12426988a1e976d1a4bb0a9d17a063465 04-Apr-2017 Tyler Gunn <tgunn@google.com> Merge "Add api to retrieve call creation time." am: f19c52d20d am: 777adc636b
am: eee4d5157a

Change-Id: I9af3abdb0cf76b4e70547b1c58732fef3e07f86b
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/Call.java
912174233dfc0525d1e6c5842d36c1f20b274241 09-Mar-2017 mike dooley <mdooley@google.com> Adding a comment specifying the timebase for emergency call time

Test: none
Bug: 35767700
Change-Id: Idac16da57d0a9f21804f9c515974d269c012796a
/frameworks/base/telecomm/java/android/telecom/Call.java
c0bf6deced494f48cf46ae1d06be8ba9061b99ee 17-Mar-2017 Tyler Gunn <tgunn@google.com> Add api to retrieve call creation time.

Test: CTS
Bug: 36124432
Change-Id: Ic8288dec73adda7870377f189f560acef0a575f6
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
42eb1ac20243255cd49a4a5c172cb92d43b6f516 07-Mar-2017 Hall Liu <hallliu@google.com> Merge "Add further Connection-side APIs for RTT (part 2)"
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/Call.java
bf8d2a2bf487c5b7eaeeec14db20fc452f0d8a21 02-Mar-2017 Tyler Gunn <tgunn@google.com> Merge "Support for showing self-managed calls in IncallService." am: 5a33057092 am: 8c7d28f163
am: fd0e1a9d93

Change-Id: I88170e214ca6c142e0445a814ad0e76064e72ba7
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/Call.java
5a33057092362ea1edbf7dc86dc51eaad1e9a2a0 01-Mar-2017 Tyler Gunn <tgunn@google.com> Merge "Support for showing self-managed calls in IncallService."
91300fba36187b151c3d9f32be84add630807c11 01-Mar-2017 Hall Liu <hallliu@google.com> Merge "Add @hide to RttAudioMode IntDef" am: 22af0f3377 am: c284379659
am: f000639f82

Change-Id: Ibcb239e0aa3499386f6f71026084276b07554cdb
07094df24a7e411b319cfc07bd28ffcf43320473 01-Mar-2017 Hall Liu <hallliu@google.com> Add @hide to RttAudioMode IntDef

IntDefs apparently require an @hide annotation to avoid breaking CTS
tests. Adding it here.

Change-Id: Ifd748b55e68091132571df7e74fdb797bd6a83fc
Test: CTS
Fix: 35808951
/frameworks/base/telecomm/java/android/telecom/Call.java
52084367c0d1dbd69b0f26e0aac05efd93ecfc82 22-Feb-2017 Hall Liu <hallliu@google.com> Merge "Introduce APIs for RTT calls (part 1)" am: 27ad05169e am: d83b06cd31
am: ba6c607728

Change-Id: I02e7291091d2452cb7cdb7351c8744606b340e76
95d5587d0aad9dfd49f798408f4212f95ce68fc7 26-Jan-2017 Hall Liu <hallliu@google.com> Introduce APIs for RTT calls (part 1)

Add signaling methods and data pipes for handling real-time text during
a call.

Change-Id: I876827c448252c5f786d7a4919c47891acb03877
Test: manual, through telecom testapps
/frameworks/base/telecomm/java/android/telecom/Call.java
24e18336178f1f166c873dda880c531babf3017b 10-Feb-2017 Tyler Gunn <tgunn@google.com> Support for showing self-managed calls in IncallService.

Also added new isInManagedCall TelecomManager API, used to determine if
there are ongoing managed calls only.

Test: Manual, cts
Bug: 34159263
Change-Id: Ib8020617607ccb433c2eee9b9d5a2c929665214b
/frameworks/base/telecomm/java/android/telecom/Call.java
bf9c6fdb43413929787ee3abeb76e5aabd1551d8 09-Nov-2016 Tyler Gunn <tgunn@google.com> Perform camera permission and app ops check when setting camera for VT.

When a calling InCallService attempts to use the setCamera API on the
VideoCall, Telecom will perform a permission check to ensure that the
caller has the correct camera permission and passes the app-ops camera
check. A failure to set the camera will result in a callback via the
call session event API.

This got a little messy as the app ops package name needs to come from the
InCallService, and handler usage in the VideoProvider API means we had to
pass around the uid/pid of the caller, obtained before we trampoline onto
the handler.

Test: Unit tests added, manual testing performed.
Bug: 32747443
Change-Id: I555a04f9c3fb45e60bb811f64ba855ccf2e3b0e2
/frameworks/base/telecomm/java/android/telecom/Call.java
4af561ff17b82a32580d3c1bd8b91be12f25b7fd 20-Dec-2016 mike dooley <mdooley@google.com> Adding extra key to indicate when the last emergency call was made.

This can be used to determine if an incoming call is potentially
an emergency callback.

Bug: 30952524
Test: none
Change-Id: I2d4ca8e6885c0314394b3a2ad389ad8115b79156
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
3e68c06ed39705d2941a0051aa354784da758cf9 02-Dec-2016 Christine Hallstrom <hallstrom@google.com> Add ability to set supported audio routes on phone accounts and connection am: 4e22d6dc45 am: bad3a2ab2e
am: 22de17247b

Change-Id: Ib2eab7f6bc9105977b586366b5bd46097e1aca1c
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/Call.java
b88b311463704af6254ac6a2b4f8c484eaaa7a77 09-Nov-2016 Tyler Gunn <tgunn@google.com> Perform camera permission and app ops check when setting camera for VT.

When a calling InCallService attempts to use the setCamera API on the
VideoCall, Telecom will perform a permission check to ensure that the
caller has the correct camera permission and passes the app-ops camera
check. A failure to set the camera will result in a callback via the
call session event API.

This got a little messy as the app ops package name needs to come from the
InCallService, and handler usage in the VideoProvider API means we had to
pass around the uid/pid of the caller, obtained before we trampoline onto
the handler.

Test: Unit tests added, manual testing performed.
Bug: 32747443
Change-Id: I555a04f9c3fb45e60bb811f64ba855ccf2e3b0e2
/frameworks/base/telecomm/java/android/telecom/Call.java
9c0eb0bd46dac113c39804335feeee7878a624ff 29-Jun-2016 Tyler Gunn <tgunn@google.com> API cleanups per API review.

1. removing deprecation for setExtras on Connection/Conference as these
have legitimate use-cases going forward.
2. Expanded documentation on Call.Callback class to clarify how it is
expected to be used.
3. Updated Callback#onConnectionEvent callback docs to clarify its usage.
4. Expanded Call#sendCallEvent docs to clarify expected namespacing of
call event keys and extras keys, as well as clarification about backwards
compatibility and expectations of ConnectionServices.
5. Standardized the "invoked" vs "notifies" language in the Conference
docs.
6. Clarified how Connection callbacks from Telecom should be implemented.
7. Added Bundle parameter expectations for pre-defined connection events.
8. Documented capabilities and properties toString methods.
9. Documented expectations for onCallEvent method.
10. Expanded documentation for sendConnectionEvent method to clarify
namespacing, use cases, etc.

Bug: 29759275
Bug: 29759954
Bug: 29759773
Change-Id: Ib8c983af4dbbfee68edb60937b268e2c1a9b5e64
/frameworks/base/telecomm/java/android/telecom/Call.java
15847070b55589cb95fee954edbcb203cc7aadcf 18-May-2016 Brad Ebinger <breadley@google.com> Adds CDMA Voice Privacy Property to Call

Adds the CDMA Enhanced Voice Privacy Property to a Call when it has been
enabled for the call by the network.

Bug: 26931679
Change-Id: I1f5b4a4fb22fe6aaaf0c424ef11925c6058c6e82
/frameworks/base/telecomm/java/android/telecom/Call.java
23642330a7e0732976a0c25ca7d54f59055a92d9 23-May-2016 Tony Mak <tonymak@google.com> Merge "Remove PROPERTY_WORK_CALL" into nyc-dev
am: 5ee420c0d5

* commit '5ee420c0d562e9ff55fe9bf03c746bc76fd40d5e':
Remove PROPERTY_WORK_CALL

Change-Id: I17d204d01b2fc356fa6b70d4c5cd73f4b0a10d6c
9ece3034028dfa9692610b98cf39864286bd4121 20-May-2016 Tony Mak <tonymak@google.com> Remove PROPERTY_WORK_CALL


Bug: 28842878
Change-Id: I7fb28ec3b121f4546ea60d6b170c2c6d98ffcb8c
/frameworks/base/telecomm/java/android/telecom/Call.java
2a6319022861f8c2fce74b5657d78c008b33115a 20-May-2016 Tony Mak <tonymak@google.com> Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review
am: 53b5df43b4

* commit '53b5df43b49b191e442c4d2c7b9a9cba3ebdcf92':
Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review

Change-Id: I24a866a5947a20127f3b79e2e75ba0cf534b450c
53b5df43b49b191e442c4d2c7b9a9cba3ebdcf92 19-May-2016 Tony Mak <tonymak@google.com> Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review

TODO: After updating all places that use the SDK, remove/hide the old API

Bug: 28842878

Change-Id: I131be644439080dd0507cd10d8bd6618246ee7ad
/frameworks/base/telecomm/java/android/telecom/Call.java
071be6f42bfc18e2cc8b3f8ddbcf3d2f33ebd6ba 10-May-2016 Tyler Gunn <tgunn@google.com> Add removeExtras(String...) prototype per API review.

Per API review, adding a convenience prototype of the removeExtras method.

Bug: 28295516
Change-Id: Icc0e040516c06205540c5683bde16882a73a89d6
/frameworks/base/telecomm/java/android/telecom/Call.java
2cbe2b5816c3a6b55144a3a731cab894761c780d 04-May-2016 Tyler Gunn <tgunn@google.com> Un-@hide multi-endpoint APIs.

Bug: 28621640
This reverts commit 1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72.
Change-Id: If8c85e4adeb017eec2b7e8199010deae2a920c6a
/frameworks/base/telecomm/java/android/telecom/Call.java
1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72 15-Apr-2016 Tyler Gunn <tgunn@google.com> Hide multi-endpoint APIs.

Per feature council decision, the multi-endpoint APIs will be @hide for
the N release.

Bug: 28196918
Change-Id: Ia80b089bc754ce87ca208382eb79442b5265844d
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.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/Call.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/Call.java
3c20d633731a3a2f6ea03012cb4b1d4903a31520 26-Feb-2016 Santos Cordon <santoscordon@google.com> Adding toStrings() to the API.

Bug: 16979045
Change-Id: Ibbe1bcea6ab7981f62e7fb4bbe35f71e881166bd
/frameworks/base/telecomm/java/android/telecom/Call.java
1bef339b88b3f760603dcc08d79a62647fc18296 25-Jan-2016 Sailesh Nepal <sail@google.com> Add new public API to allow call screening

This CL adds a new service that the default dialer can implement to
screen incoming calls.

If the service is implemented then Telecom uses it to decide if a call
should be shown to the user or rejected.

Note, I initially tried to simply extend InCallService instead of
creating a whole new service. The problem with this approach is that:
- this breaks some in call services which show UI as soon as they are
bound to
- the in call service lifecycle is tightly coupled to adding and
removing calls. Call screening happens before a call is added which
makes it a bad fit to in call service
- call screening is a function of only the default dialer's in call
service but the existing code also binds to "controller" call
services

For these reasons it seemed simpler to just create a new optional
service.

BUG: 22857261
Change-Id: I53f2ef93360e0af19b6ce45af21026be6cf3a7f3
/frameworks/base/telecomm/java/android/telecom/Call.java
f97a009f7645690a92bdef3a3ef39298deaff4b7 20-Jan-2016 Tyler Gunn <tgunn@google.com> Add capability to determine if downgrade to audio is denied.

By default we assume downgrade to audio is permitted; this capability
probides a means for a carrier to specifically deny that.

Bug: 22728624

Change-Id: I75e0a5b9e5ad2d970003a4691b6fc0ac0dcfe9e0
/frameworks/base/telecomm/java/android/telecom/Call.java
64ef34bc1a07655afee5e6b5d17bfeabc16e7943 06-Jan-2016 Tony Mak <tonymak@google.com> Merge "Add a new property PROPERTY_WORK_CALL"
bd1bf125e4c2e2324f71e5a661a219f4d1c73fa9 04-Jan-2016 Tyler Gunn <tgunn@google.com> Merge "Fix capability/property checking methods to handle multi-bit capabilities."
a68dcce8c3a3ce9e9ffac8154044bb627f23450c 17-Dec-2015 Tony Mak <tonymak@google.com> Add a new property PROPERTY_WORK_CALL

In our current design, in-call ui in parent user is used.
We need a way for Telecom to tell in-call ui that is the call a work
call or not show that we can have some UI changes to reflect it.

Bug: 26022174
Change-Id: I5f54371ddac14ffdb50359c2e792b9f24858bcb8
/frameworks/base/telecomm/java/android/telecom/Call.java
014c711b0db81ce709b0ccad3e50b3d10227edd8 18-Dec-2015 Tyler Gunn <tgunn@google.com> Fix capability/property checking methods to handle multi-bit capabilities.

Some capabilities, such as CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL
are defined in terms of other capabilities; eg:
CAPABILITY_SUPPORTS_VT_LOCAL_RX | CAPABILITY_SUPPORTS_VT_LOCAL_TX

The current capability logic will return TRUE if checking for
CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL and either of the TX or RX bits
is on; which is incorrect. Yay cts tests for finding this.

Bug: 26272951
Change-Id: I55a5676674ee74e213deb3a07e226b04a37d10ee
/frameworks/base/telecomm/java/android/telecom/Call.java
584ba6c1d156af1a1295fb101cd085577ac82ece 08-Dec-2015 Tyler Gunn <tgunn@google.com> Remove dependency on android.telecom.Call in VideoCallImpl for testing.

VideoCallImpl had a depedency on android.telecom.Call, which was used
to get the current video state of a call when the user issues a
session modify request (we need to know what the video state was before
the request was sent). This proved problematic for unit tests, as
android.telecom.Call is a final class and cannot be mocked.

These changes assume the VideoCallImpl will instead have a video state
property, which is updated by the Call whenever it changes. This
removes the dependency on the Call, and makes it possible to unit test the
API.

Change-Id: Ie67255d68b23e32aa177b30ac6439632fad5cc27
/frameworks/base/telecomm/java/android/telecom/Call.java
5a0b7e980074cd2412dfda3cb581600b9edcfbb3 01-Sep-2015 Bryce Lee <brycelee@google.com> am 8bfa215a: am 3ef68803: am ad9a0efc: Merge "Add capability for a connection hand rejection text response." into cw-e-dev

* commit '8bfa215ab1ea29cc51ad38fbf4728542c8cb0aae':
Add capability for a connection hand rejection text response.
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/Call.java
10397d377db41519afd294d110e4564d7ef0ec15 20-Aug-2015 Tyler Gunn <tgunn@google.com> am 393a93ab: am 7d4cf23f: am 9e191aa6: am a6562603: am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.

* commit '393a93abaf8eb14a6b7efebcd7665484558161f8':
Fix incorrect android.telecom.Call.Details equality check.
a65626031017517331fd402541b5e8f072c46a34 20-Aug-2015 Tyler Gunn <tgunn@google.com> am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.

* commit '1e9bfc6461d3fe5455c9d7a21414ec66695b5798':
Fix incorrect android.telecom.Call.Details equality check.
1e9bfc6461d3fe5455c9d7a21414ec66695b5798 19-Aug-2015 Tyler Gunn <tgunn@google.com> Fix incorrect android.telecom.Call.Details equality check.

The the android.telecom.Call.Details class provides its own equals
implementation. Recently added in M is to also check if the mExtras
and mIntentExtras are different. Unfortunately, Bundles do not implement
equals. As a result when Telecom calls are parceled and sent to the
InCallServices, this means that the internalUpdate method will always
assume that the Details of a call have changed, even if they have not.
This was causing a LOT of extra calls to onUpdate in the InCall UI (2x the
amount). Although there is still room for improvement in the number of
callbacks from Telecom, this fix prevents a pretty significant regression
on that front.

Bug: 23218195
Change-Id: I128e996faf60376ed3df1dc848a97c4a7b0482ee
/frameworks/base/telecomm/java/android/telecom/Call.java
e886f63b2b21c426cbe5e7d889b256f76d163d35 04-Aug-2015 Yorke Lee <yorkelee@google.com> Ensure that OnCannedTextResponsesChanged callback is fired

Bug: 22952515

Change-Id: Ic94db1dd2fc9d7db2259265b90be86617ed93971
/frameworks/base/telecomm/java/android/telecom/Call.java
f08a7ada3aaeb2cb167609f50fa77217e12243f7 09-Jul-2015 Roshan Pius <rpius@google.com> am 8f596907: Merge "Change sequence of call removal from Phone\'s db." into mnc-dev

* commit '8f596907a5241badad821a6d3490eb2cd7dd23c5':
Change sequence of call removal from Phone's db.
1ca6207a1ec5bf9c12027c4f09a4fe18bd3f825c 08-Jul-2015 Roshan Pius <rpius@google.com> Change sequence of call removal from Phone's db.

Since the Call API's callbacks are now fired from handlers, they end up
changing the order in which the callbacks from the Phone and Call API's
are fired. To preserve the below ordering, we move the call removal from
Phone's db to after all the onCallDestoryedcallbacks have executed.
1. Call->onStateChanged
2. Call->onDetailsChanged
3. Call->onCallDestroyed
4. Phone->onCallRemoved

BUG: 22127504
Change-Id: Ice17f727decb516baabbe69adae598ebdf370094
/frameworks/base/telecomm/java/android/telecom/Call.java
ddf570e8226bd21448b44b3327d4bcb2608f4d00 31-May-2015 Shriram Ganesh <sganesh@codeaurora.org> MWI,phantom call,Suppl services, error codes

1. IMS MWI Feature
- Add new API to update waiting
voice message count, for UI
propagation based on RFC 3842

2. phantom call support

Supplementary services

3. IMS : Incoming Call Barring
- Modified existing API to support
request like registration,activation,
deactivation,erasure,interogation.

4.Unsol supplementary service notification
- send unsol supplementary notification to UI
- add call history info

Miscellaneous
5. Ims: Originate conference call in DIALING state

6. IMS: Addition of Extras to ImsCallProfile
- Add EXTRA string definitions to ImsCallProfile

7. IMS: Definition of error code
- answered elsewhere
- FDN call failure

8.
- Propagate IMS supplementary services to telephony framework
- Introduce call forwarding history info.

Bug: 21725750
Squash of 2 earlier CLs:
Change-Id: I52a64e9a5df3479189f62921a01655a50fb386fc
Change-Id: Idc3a433785e84a3d683cbcfc7fb90f0b89dced12

Change-Id: I428ce3c6a043e43b86dea41622e0a828d8b45e53
/frameworks/base/telecomm/java/android/telecom/Call.java
be2a4a248c4190fa840a0f20858e4523e3cdde87 12-Jun-2015 Yorke Lee <yorkelee@google.com> Fix typo in Call.Details.propertiesToString

Change-Id: I7bb52138912fddef20862f5f7a29a8ec2e0a1d66
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
32f24731604fd81289a39619bbc925b65184b505 13-May-2015 Yorke Lee <yorkelee@google.com> More video related API fixes

android.telecom.Connection.VideoProvider
* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs

android.telecom.InCallService.VideoCall
* setPauseImage takes Uri instea dof String

android.telecom.VideoProfile.VideoState
* Move constants to VideoProfile, prefix with STATE_

Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
/frameworks/base/telecomm/java/android/telecom/Call.java
4538216a31d15b01e18c7b504e51031da0ce6e40 06-May-2015 Tyler Gunn <tgunn@google.com> Change sendSessionModifyRequest VideoProvider API signature.

Including a fromProfile in addition to the requestedProfile.

- Changed VideoCallImpl to generate the fromVideoProfile based on the
call's current videoState. This ensures the InCall UI only needs to
pass in the new video profile; the VideoCall Impl already has enough
knowledge to generate the fromProfile.
- Changed VideoCallImpl to track the current videoQuality, which forms
a part of the fromVideoProfile.

Bug: 20704229
Change-Id: I89f293f03a2b13fc8c1dcfd8a07ab8640d3950e0
/frameworks/base/telecomm/java/android/telecom/Call.java
2378ea76d4c4b160c2f0f6ffcd556776b7112d8d 29-Apr-2015 Andrew Lee <anwlee@google.com> Add Properties to Call.Details.

Moved some capabilities to properties which seemed appropriate.

Bug: 20160395
Change-Id: Iacef4365822e5c3e50f0c41a501bf295c22055f1
/frameworks/base/telecomm/java/android/telecom/Call.java
011728fc3a4368b601844d225d1f37bf48ea5735 24-Apr-2015 Andrew Lee <anwlee@google.com> Add handler parameter for callbacks.

Bug: 20160491
Change-Id: I94639b06b8c97b6585e169d667a67ce328e716af
/frameworks/base/telecomm/java/android/telecom/Call.java
d7b4b81274e8a0f885be553ea8e153ea5447798d 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '7595842' into merge2

Change-Id: I7e11e98e6d59562374195a8761d64a79dc0268e8
e3c507b79b5ce94f54533a92d5625daa486b7ed6 23-Apr-2015 Santos Cordon <santoscordon@google.com> Remove CallState and rename PRE_DIAL_WAIT

Bug: 20532827
Bug: 20532435
Change-Id: I5f0308c5cf4e4a9cf9020b4fe7fa5f3f8dee6e67
/frameworks/base/telecomm/java/android/telecom/Call.java
e661d9fb6fb4bd0896d2b911178b7d5f76d941ec 21-Apr-2015 Yorke Lee <yorkelee@google.com> Make CAPABILITY_CAN_PAUSE_VIDEO public

Change-Id: If20f642a3d6bda886a68bb1e0ce459c38361a73c
/frameworks/base/telecomm/java/android/telecom/Call.java
d01242946eb7423612998b5bdbc71a6a1b3e8581 17-Apr-2015 Jay Shrauner <shrauner@google.com> Merge "Remove connection substate"
da80c870a8c6d796446c373db9c9a989ebf8a388 15-Apr-2015 Andrew Lee <anwlee@google.com> Rename Call*Listener to Call*Callback.

Deprecate the existing Listener methods and interfaces so that they
can be replaced.

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

Bug:20300433
Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
/frameworks/base/telecomm/java/android/telecom/Call.java
75958420f2d294ceda517c2782b294002dc2969f 15-Apr-2015 Tyler Gunn <tgunn@google.com> Support for multiple VideoCall.Listeners for a VideoCall.

The current code assumes that only a single instance of VideoCall will be
provided to the default system InCall UI. Ideally multiple
InCallService implementations should be able to use the VideoCall APIs.
Note: it only really makes sense for a single InCallService to get/set
the video surfaces.

- Fixed bug in ParcelableCall which would cause a new instance of
VideoCallImpl to be created every time a call is updated from Telecom.
Added a flag to ParcelableCall to indicate whether the parcel includes a
change to the video provider information, which is used when unparceling
to determine whether to set/create the video call impl.
- Renamed "setVideoCallback" to "addVideocallback".
- Modified Connection.VideoProvider code to keep a list of Video callbacks
and fire off all of them when Video Provider changes occur.

Bug: 20092420
Change-Id: Ic16b6afe1b7532cc64d006c133adbae57946d97d
/frameworks/base/telecomm/java/android/telecom/Call.java
cb43ebb3604d45da8677b8d19c935f0ace08ea53 16-Apr-2015 Vinit Deshpande <vinitd@google.com> Merge "am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release"
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/Call.java
e268f4c28ece283c8c9707b21c0ef7f940b907a8 15-Apr-2015 Andrew Lee <anwlee@google.com> DO NOT MERGE Suffix VT_LOCAL/REMOTE with BIDIRECTIONAL.

Bug: 20160395
Change-Id: Ib343fde5088f3a5823c73de6ab77564b4be0d12c
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
193de667edf016965cf8c2a9c8e16433d0d0307b 15-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Remove deprecated telecom APIs. Mark others final.

Bug:
Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
/frameworks/base/telecomm/java/android/telecom/Call.java
164a0acf53a3496c974a97ed35834e6195c14e4b 15-Apr-2015 Jay Shrauner <shrauner@google.com> Remove deprecated telecom APIs. Mark others final.

Bug:
Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
/frameworks/base/telecomm/java/android/telecom/Call.java
80047faad914c9b9b4966d6b58fc22800c3fcebc 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release

557d2f5 Merge "Add ConnectivityManager.reportNetworkConnectivity() API" into m-wireless-dev
ab5267a Fix onLost/onFound logic in isSettingsAndFilterComboAllowed
bfd17b7 Add ConnectivityManager.reportNetworkConnectivity() API
238e0f9 OBEX Over L2CAP + SDP search API for BT profiles
31a94f4 Add ConnectivityManager.getActiveNetwork(). Rework NetID allocation in ConnectivityService so registerNetworkAgent() can return the allocated NetID.
bf18bed Merge "Non-functional code cleanup of ConnectivityService." into m-wireless-dev
db8784e Merge "Cleanup of Video Call pause functionality." into m-wireless-dev
e75b9e3 Non-functional code cleanup of ConnectivityService.
e593d0a Onfound onlost feature.
0326f58 Merge "API for config app." into m-wireless-dev
e9b056f API for config app.
d5351e7 RTT framework interface update
582b868 Unhide Network.openConnection(URL, Proxy).
0d719ca Fix typos in ConnectivityManager documentation.

Change-Id: Ib4c88f6d7ad1b24227b032555c62a5804194384b
d4ea01b4aca807cc914a96addefcc2c64ce1a6f5 12-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge "Merge commit 'e593d0a' into merge_work"
9a8f9ce7adeb5fd93c11afffcc580d2af5c1225d 11-Apr-2015 Andrew Lee <anwlee@google.com> Suffix VT_LOCAL and VT_REMOTE with BIDIRECTIONAL.

Bug: 20160395
Change-Id: Ieb35f7b8a91022bae899b3fc093065c36d2d68c8
/frameworks/base/telecomm/java/android/telecom/Call.java
57bf2a8a38e929f00f3323cf97a8ea7a9af900ce 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit 'e593d0a' into merge_work

Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
b5e0cfb24efded1e200989b5b48d49ac144c7704 08-Apr-2015 Tyler Gunn <tgunn@google.com> Cleanup of Video Call pause functionality.

Whether the paused videoState is available is dependent on the carrier's
implementation of the VT spec. The original VT implementation assumed
that this was stored in a system property accessed via InCall; these CLs
move this to a Call/Connection capability which will ultimately support
multisim video capable devices.

- Added new connection/call capabilities.

Bug: 16680364
Bug: 19820114
Change-Id: I3840f92270100811161120dffcfe297bef7c4ea2
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
4209a28270a70016ee5ee6cae3dc96d6df0ade26 24-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

Change-Id: I49aab437af220f1139cfd2d0a9c362acce31074e
d11a31561e88fbbb4f614caff8a05e7ff9ecd357 18-Mar-2015 Tyler Gunn <tgunn@google.com> resolve merge conflicts of bcb17eb to m-wireless-dev.

Change-Id: Ic8211fb14caec993c8e38c790006577493f7a607
96d6c40c7159a6e93c21a3b540e24a6ff916cb4b 18-Mar-2015 Tyler Gunn <tgunn@google.com> resolved conflicts for merge of 00de38a1 to master

Change-Id: Ib1ac99ba7181ad79af94a04124380833bcb79a0c
bcb17eb7a9e0c33efeaae8a213f331d678e5a736 17-Mar-2015 Dong Zhou <a22255@motorola.com> am 89f41eb3: Define the capability to speed up MT call audio

* commit '89f41eb39e910e220957ac861651ead17eff9085':
Define the capability to speed up MT call audio
89f41eb39e910e220957ac861651ead17eff9085 15-Mar-2015 Dong Zhou <a22255@motorola.com> Define the capability to speed up MT call audio

Bug: 19656525
Change-Id: I0bc88e85b807871b2883a785efac91bd0e1f6d8d
/frameworks/base/telecomm/java/android/telecom/Call.java
068085b35d4c7ef368fde6f01b42f87766d4a2b4 06-Feb-2015 Tyler Gunn <tgunn@google.com> Fix emergency callback number not shown for incoming calls.

- Adding new Connection/Call capability: CAPABILITY_SHOW_CALLBACK_NUMBER.
- Used in Telephony to indicate on an incoming call that the callback
number should be shown.

Bug: 18689292
Change-Id: I1ab3baf9f0d5a22c4b01e6504e88d496182e01c7
/frameworks/base/telecomm/java/android/telecom/Call.java
5e9e8bb30e4d26eba46684c03ca950b602dfb830 10-Mar-2015 Andrew Lee <anwlee@google.com> Indicate local and remote RX/TX capabilities for VT.

This provides more granular API support for representing the mix of
state and capabilities of local and remote video clients. For our
implementation, we are primarily concerned with bidirectional video
calling. But, this provides support for representing certain error
scenarios, and flexibility for other parties which may desire to
implement one-way video calling.

Change-Id: I0373ffd377c3547fa8dd98ab5fde4f8d616a1d2f
/frameworks/base/telecomm/java/android/telecom/Call.java
1a8ae3e7306b5094f36252e3315fddeaf8b952bc 02-Feb-2015 Andrew Lee <anwlee@google.com> Rename from VoWIFI to WIFI.

Make capability labeling for calls over Wifi more generic.

Bug: 19151548
Change-Id: I8b4adb0fb6f1e09f7c16d2d0f48bc7fe849a289e
/frameworks/base/telecomm/java/android/telecom/Call.java
80fff3c0a5f68d4b426a35468daeaf4ff4d3d375 26-Nov-2014 Andrew Lee <anwlee@google.com> Rename VoLTE capability to HD audio.

This is a more specific and less technology-specific title for
communicating this to Dialer/InCall.

Bug: 18103173
Change-Id: I70ad50bb09eb807a621259976bb9fb7953a9a8aa
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
36c62f3e3cc155e950de8b1a1f1109d38fb32d61 22-Oct-2014 Nancy Chen <nancychen@google.com> Add an option to set the selected phone account as the default. (1/3)

Modify the phoneAccountSelected method to support the option to set the
selected phone account as the default for outgoing phone calls.

Bug: 18078232
Change-Id: I2689bc9611366d521dfd3dc2086fd31eb6393876
/frameworks/base/telecomm/java/android/telecom/Call.java
4afc6afd20488bf5afb462a718091a755de3adf4 07-Oct-2014 Tyler Gunn <tgunn@google.com> Fixing where call goes from disconnecting to active to disconnecting state.

- Adding disconnecting state to telecom used to communicate that a call is
being disconnected to InCall UI (rather than it existing only as a state
in the InCall UI).

Bug: 17821930
Change-Id: I6c2d9521915ba154c0468eea62c12c30060edd2e
/frameworks/base/telecomm/java/android/telecom/Call.java
f4cf77c5dc0348d3f7561f48a5a751cb823cd271 19-Sep-2014 Nancy Chen <nancychen@google.com> Add constructor for DisconnectCause that does not require a tone.

In order to create a DisconnectCause with a label/description that does
not require specifying a tone.

Bug: 17486242
Change-Id: If82605ff20fc9f53ed41b49e12575424c6efc2b6
/frameworks/base/telecomm/java/android/telecom/Call.java
513c8921359c2b576e0713da6d649e5e7c29d179 17-Sep-2014 Nancy Chen <nancychen@google.com> Replace get*PhoneAccounts* public API methods with new method (1/3)

Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme
because a third party app should not be able to see all phone accounts
registered. Replace instead with getPhoneAccountsForPackage(Context)
which will only return the phone accounts registered by a particular package.

Bug: 17510811
Change-Id: I8465ef4f13b62fe83f51835cfffe1656298041a8
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.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/Call.java