History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
670f3a47cde0e3410f756927f00d03ee2ef881dc 31-May-2018 Hall Liu <hallliu@google.com> Change how RTT pipes are set

Create a new RTT text handler if none exists when
setCurrentRttTextStream is called.
Add some logging when startRttTextProcessing is called.

Bug: 80257914
Test: manual
Change-Id: I592ba1e88fb7b82376d3862d3783196dcc7d5014
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
8a5c54f8ba1793a89bb8e18e819d1fc5b85bc1bf 11-Apr-2018 Brad Ebinger <breadley@google.com> Update docs for Message IPC and use Messenger.

1) Update docs for sendDtmf usage.
2) Update sendDtmf to include a Messenger in Message#replyTo
for IPC communication.

Bug: 77870347
Test: Manual, Telephony Unit Tests.
Change-Id: I76e965c8e231bf9d3fe97b42fccbb564378c65b6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
baece8c63121b5e3660ecc716bcff87f73f791ff 27-Feb-2018 Hall Liu <hallliu@google.com> Fix RTT property setting

Don't start the RTT text reader until the IMS stack gives us a call
profile with RTT set to on.

Bug: 73832960
Test: manual
Change-Id: Ic85d16f602140d34c9680c3a1cb33e01b5cf02c7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
3d28f89927137ce03128a0244a698ca5162e8165 10-Feb-2018 Hall Liu <hallliu@google.com> RTT bugfixes, part 5

* Add support for properly setting the ImsStreamMediaProfile's RTT flag
when answering an incoming call
* Add logging

Bug: 72648661
Bug: 72762206
Test: manual, with telecom testapp dialer over the network
Change-Id: I93dfa217b9bf004e95919c3dded8a59cbb14b57e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
64bd356c99555352eeafad39d0d76a71cc6f79bd 08-Feb-2018 Pooja Jain <poojain@codeaurora.org> Merge "IMS: Add support for call deflection feature" am: c1144f4f79 am: ca3665d611
am: 35792b9fd2

Change-Id: Ia7bd78a433907fbb29186493ebc03f87a2a8601d
4611e65ec532915b3a6968459d68e5a2dc3a08c8 28-Dec-2017 Pooja Jain <poojain@codeaurora.org> IMS: Add support for call deflection feature

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

Test: Manual

Bug: 62170348
Change-Id: Ie31421b21dea6bf5514f1f137cf5a6c315fc1149
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
73225469bc0503fe961b2791fa37c855c8243217 23-Jan-2018 Hall Liu <hallliu@google.com> RTT outgoing initialization

Add support for dialing an outgoing call with RTT enabled from the start
(refactors the dial methods to use DialArgs)
Add plumbing code to bubble up RTT initiation/termination events from
the IMS stack up to Telecom

Bug: 72156722
Bug: 71873552
Test: existing unit tests

Change-Id: I084f75d860ebc9837cf6156c1ebaaf4532343de1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
1846615c7cb3d995efc8788b60aa1f5240de8b8f 23-Jan-2018 Brad Ebinger <breadley@google.com> Change ImsService API namespaces

Changes the ImsService API namespaces
to allow them to be @SystemApi.

Bug: 63987074
Merged-In: I66b564e27d5e0995c4819bd2c6df304e7e04a7eb
Change-Id: I66b564e27d5e0995c4819bd2c6df304e7e04a7eb
Test: Telephony Unit Tests
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
b1dca75bce7b1e843ad452a143b52199558e5de9 01-Feb-2018 Tyler Gunn <tgunn@google.com> Merge "Add onDisconnect callback in root radio connection class." am: d76d0e112f am: 990d69a344
am: 52a4138bee

Change-Id: I07cf3d6161da21a630123649eff393c8baac999f
47b078c27bfb57477a4ff1ce12abc4e9632c1dd5 30-Jan-2018 Tyler Gunn <tgunn@google.com> Add onDisconnect callback in root radio connection class.

From CDMA/GSM and IMS connections, notify listeners of the disconnects.
This is used as a replacement for the traditional phone.notifyDisconnect
method. This ensures that a more reliable direct path is used to notify
of disconnects in the underlying connections.

Test: Manual
Bug: 70389936
Change-Id: Id1809bc9deb7675e94341664dc08707dc81b304c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
04c17b36e012335a8575ae24895fd3f0bea8491f 23-Jan-2018 Brad Ebinger <breadley@google.com> Change ImsService API namespaces

Changes the ImsService API namespaces
to allow them to be @SystemApi.

Bug: 63987074
Change-Id: I66b564e27d5e0995c4819bd2c6df304e7e04a7eb
Test: Telephony Unit Tests
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
c58281f18e760c39c2fedba61453eae7bfdda349 01-Aug-2017 Xinying.Deng <xinying.deng@sony.com> Fix issue that a calling name appeared in adb log

A calling name is displayed in VoLTE/ViLTE MT call on adb log
even if user variant.
Privacy information should not be displayed in adb log.

Test: manual - Check that a calling name of the adb log is masked.
Bug: 70307005
Change-Id: I4014676130f44c213700c1aebbead87f26f49a6a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
63fa599fef0383b41f85e1fc3a38d33c4434e24a 20-Sep-2017 Tyler Gunn <tgunn@google.com> resolve merge conflicts of 214a3eb16 to stage-aosp-master

Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id750164d7ed0d0966a2125394924630c30d25a6a
7a411d4797fb60914f5f6230bde24fc25b12f920 17-Aug-2017 Tyler Gunn <tgunn@google.com> Support auto-downgrade of video calls when mobile data is metered.

The previous code supported downgrading video calls (either to audio,
or pausing video, or terminating the call, depending on carrier reqs)
when mobile data is disabled.

These changes provide support for downgrading a video call over wifi
when it hands over to LTE (that work is in onCallHandover). The rest
of the changes in ImsPhoneCallTracker were to refactor the downgrade
code so it could be reused.

In ImsPhoneConnection, added support for temporarily disabling VT on the
local side. This way, if a wifi video call downgrades to audio-only due
to mobile data being disabled, the "upgrade to video" button will not
be available allowing the user to upgrade back to video (thereby defeating
the fact data is disabled).

Test: Manual
Bug: 36900451
Change-Id: Ib29c7b2fb31f4dcf505609bedfbaca0be7f8f265
Merged-In: I07eb69d83a727ddd21992832753d8ecc187dbfd7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
65cd15597c5e611184a3f4c8ead5f42644fc00d6 22-Jul-2017 Tyler Gunn <tgunn@google.com> Add workaround for modem issue where pause bit is not set when on hold.

When a call is remotely held, the modem is not setting the pause bit on
the video state as it should. This causes a cascading failure where the
user cannot turn the camera on/off (because another video pause hack is
not able to detect that the video is paused and thus activate the hack).

Test: Manual
Change-Id: I2a83b73df5488454b7030d7e4f7c78f360a27eda
Merged-In: Id30c5839b1e8c0d419ebcf03045ad1bcfe3b7d57
Fixes: 63153661
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
adcd5e5561c76d6132f09e157c98128287168d73 03-Aug-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Ignore phone number changes for outgoing calls." into oc-dr1-dev
fe215a7ee5ad268048410d545c0436b7d4a6bdd7 01-Aug-2017 Tyler Gunn <tgunn@google.com> Ignore phone number changes for outgoing calls.

Similar to b/63743426 (which was for IMS), ignoring phone number changes
reported by the modem for outgoing calls.

Test: Manual
Change-Id: Id050e9086f17530457f59b64b510116ede866393
Fixes: 64192519
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
6dee0e40c77ac373820e7e266ff372a481e30bef 24-Jul-2017 Tyler Gunn <tgunn@google.com> Ensure mShouldIgnoreVideoStateChanges is set on/off on fake pause/resume.

This is a fix for a modem bug where video state changes are not relayed
to the framework.
When I made the initial fix to add the changetoPausedState methods,
I thought I'd fixed the bug but it turns out I forget to set the
mShouldIgnoreVideoStateChanges variable. There is a bit of a race
condition when reproducing this bug and I hit the race condition and
erroneously thought I'd solved it.

Test: Manual
Bug: 63153661
Change-Id: I82c9cb7bcf57df8f86964a3bff37469f0b999f1a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
2434d4366485eda5c93a111d1f7c20241a384c85 24-Jul-2017 Tyler Gunn <tgunn@google.com> Merge "Only update address of IMS call for incoming calls." into oc-dr1-dev
eb7465409290618ca5d7b5f8ba2ffabba2d936d9 19-Jul-2017 Tyler Gunn <tgunn@google.com> Only update address of IMS call for incoming calls.

Although the modem will report address changes for outgoing calls, we will
prevent those changes from being propagated to the UI. Cases such as
calling the user's voicemail will cause the dialed number to change to
the SIP URI of the voicemail server, which is not apppropriate for display
to the user.

Test: Manual
Change-Id: Ief978ee186bb6f9727e82b0c2a550b0d7af4ee28
Fixes: 63743426
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
44b58c8044c5fc0b271432429fc97707c4c773e1 22-Jul-2017 Tyler Gunn <tgunn@google.com> Add workaround for modem issue where pause bit is not set when on hold.

When a call is remotely held, the modem is not setting the pause bit on
the video state as it should. This causes a cascading failure where the
user cannot turn the camera on/off (because another video pause hack is
not able to detect that the video is paused and thus activate the hack).

Test: Manual
Change-Id: I2a83b73df5488454b7030d7e4f7c78f360a27eda
Fixes: 63153661
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
d0ef146182beb5803bb2758be5b0fda38aa9d963 21-Jun-2017 Tyler Gunn <tgunn@google.com> Merge "Inform ImsVideoCallProviderWrapper of video state changes." into oc-dev
am: 1159483294

Change-Id: If92cf5cb7a90b02b5339ca78ab66cd377187cbec
5ae0e757408282ca04882eb3423648ec07b0555b 21-Jun-2017 Tyler Gunn <tgunn@google.com> Merge "Inform ImsVideoCallProviderWrapper of video state changes." into oc-dev
am: 1159483294

Change-Id: I812d1f0136930c7f1b6a07bd28392041dba562c7
99ea18f0323a53cacf6824db5ec4dd460f9b3798 21-Jun-2017 Tyler Gunn <tgunn@google.com> Inform ImsVideoCallProviderWrapper of video state changes.

This ensures it will know when the modem un-pauses the video without it
being requested by the UI.

Test: Manual
Bug: 62779713
Bug: 62784036
Change-Id: I15478996e6e14219c84d2ca4bbfbad6f39a8a47c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
286e95aa9cd740c6d8e9fd32aeefeceaf0c81695 16-Jun-2017 Tyler Gunn <tgunn@google.com> Suppress Connection address changes while merge is in progress.

Due to the manner in which conferences are formed, the IMS session
associated with the conference is swapped into the call which initiated
the merge briefly before the conference is added to Telecom and the
session is moved to that conference. The issue is that in some cases
the new conference session will have a conference URI associated with it.
To mitigate this, this change blocks address changes during the merge
process.

Test: Manual
Bug: 62017197
Change-Id: I7e7c21e26380c55a6b4ed34ad50f384be7df9d5f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
007c1c44ff4691b7788a024aa6e536b50234da6f 09-May-2017 Hall Liu <hallliu@google.com> Merge "Synchronize on mImsPhone to avoid NPE" into oc-dev
am: d19f1391f9

Change-Id: I1b085c351a1b3adb3b82cb57804f0963750b3646
34310e958f52099ce3a2e74a8e3c4f631a241529 06-May-2017 Hall Liu <hallliu@google.com> Synchronize on mImsPhone to avoid NPE

During a disconnect, the binder thread from the IMS stack may set
mImsCall to null simulataneously with the main thread calling methods on
mImsCall after a null check. Adding synchronization to prevent an NPE.

Change-Id: Id7874e802d56ab7d3912c779dedd1cccdb923db6
Test: no deadlocks while calling
Fixes: 37945103
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
8ba24b2509eb393450d028de786724b81903949b 25-Apr-2017 Hall Liu <hallliu@google.com> Merge "Pipe through RTT signaling to IMS"
fa88fc1de20ddb819975d78c98e4c0d6b27e225a 22-Mar-2017 Hall Liu <hallliu@google.com> Pipe through RTT signaling to IMS

Add plumbing to transmit RTT signaling to the IMS layer. Also add a
thread for reading/writing to the RttTextStream for communication
with the in-call app. Also implement batching and throttling to
ensure proper text throughput rates.

Bug: 34203619
Test: unit tests added
Change-Id: Icbc05130778449a3447bbad19ad0a3ebb6389a53
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
edd41a1d624d30e23aad6f9a2f60dc1f137f5af1 28-Mar-2017 Brad Ebinger <breadley@google.com> Merge "Include subaddress information for connection address"
am: 005d0cc72f

Change-Id: I79a4626cea57291bf18ee4e7058aeab9807e8d16
005d0cc72ff800bc3ea66bf97b0c95acc0322e70 28-Mar-2017 Brad Ebinger <breadley@google.com> Merge "Include subaddress information for connection address"
74c8509aede6fe748904e75c156049b4f1ba5e28 17-May-2016 Hanada Masafumi <masafumi.x.hanada@sonymobile.com> Include subaddress information for connection address

In case of outgoing call with subaddress, subaddress information is
neither displayed in InCallUI nor stored in call log. This modifies
to include subaddress information in those cases.

- Override getOrigDialString to get number which can include subaddress

Bug: 29087454
Change-Id: I45884d98a3832542a6991df13de74b80c5806bd6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
26d16a3dd393152416682a04d3bd5d6013f28240 24-Mar-2017 Amit Mahajan <amitmahajan@google.com> resolve merge conflicts of 3ed74f4b6 to stage-aosp-master

Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id6c90fa0f3b8821ac3e786ebc22e7aa5ac22cfad
3ed74f4b66af45c2529600833815cc19892950f2 24-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge "Unit test fixes. Most failures were due to new mockito."
bd57f801aaa65822f3d8e3dce38a71b989d80763 23-Mar-2017 Brad Ebinger <breadley@google.com> Merge "Revert "Speculative DISCONNECTING fix for ImsPhoneCallTracker"" am: 0a72d2beed am: ab44afee43
am: 9dea9c86d0

Change-Id: I5f9f13c959b2f868e8feb5e55871edaae54fa984
ab44afee431edea51e30394c6273c0f6be969974 23-Mar-2017 Brad Ebinger <breadley@google.com> Merge "Revert "Speculative DISCONNECTING fix for ImsPhoneCallTracker""
am: 0a72d2beed

Change-Id: I954b95b8eb08e9696300020ab551940a87c384b1
4f47ce14d99a68077f3570a7f3304be50a4a10a7 23-Mar-2017 Brad Ebinger <breadley@google.com> Revert "Speculative DISCONNECTING fix for ImsPhoneCallTracker"

This reverts commit 9f13848d600c0782a5bcb3b1d2d7dca5dca35005.

Looks to be causing issues where ImsPhoneCallTracker
state is out of sync with ImsService

Bug: 36273870
Change-Id: Id3cfbdc007c561f886adffd16def76dac553ac27
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
b1fdcf01045090315c5b91d7539007d79f34c9ec 21-Mar-2017 Amit Mahajan <amitmahajan@google.com> Unit test fixes. Most failures were due to new mockito.

Test: runtest --path frameworks/opt/telephony/tests/telephonytests/
Bug: 29579544
Change-Id: Ic228cd7dfc4d8913411a459520d7b7bf71a66d98
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
37800d3cdb300fca83462d95221a05bbef21a951 21-Mar-2017 Amit Mahajan <amitmahajan@google.com> Unit test fixes. Most failures were due to new mockito.

Test: runtest --path frameworks/opt/telephony/tests/telephonytests/
Bug: 29579544
Merged-in: Ic228cd7dfc4d8913411a459520d7b7bf71a66d98
Change-Id: Ic228cd7dfc4d8913411a459520d7b7bf71a66d98
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
639962772f21769143e606bf60a38ceae545c13b 17-Mar-2017 Jayachandran Chinnakkannu <jayachandranc@google.com> Merge "Pass cause and precise call fail causes for IMS calls"
am: 93fc20f26f

Change-Id: I7441017dda3232db9f6633ce7a21bba5ded9a53e
222bd9d64068a23f5470561655ca4dbd2359eece 12-Mar-2017 Jayachandran C <jayachandranc@google.com> Pass cause and precise call fail causes for IMS calls

Bug: 35609963
Change-Id: I7955a246b89e8dfd8a4b21ab9c8c4203b569c0a4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
29adbf007f1051716492cb3a1a96690ba6c08240 08-Feb-2017 Brad Ebinger <breadley@google.com> Merge "Speculative DISCONNECTING fix for ImsPhoneCallTracker" am: d4da840894 am: 6987ff9218
am: 6495916087

Change-Id: I11683bc6742f8cd8459c5e07ab70fc228c7f6936
9f13848d600c0782a5bcb3b1d2d7dca5dca35005 07-Feb-2017 Brad Ebinger <breadley@google.com> Speculative DISCONNECTING fix for ImsPhoneCallTracker

There is an issue occuring that causes an ImsPhoneConnection to
be left in the ImsPhoneCall without ever being cleaned up. This
causes the ImsPhoneCall never move into the IDLE state and blocks
new outgoing calls from being made.

Through speculation and code observation, it looks as though
this case may happen when the ImsService never responds to a
terminate request and telephony never receives the onDisconnect
callback. This change adds a new timeout that will expire after
some time and verify that the ImsPhoneConnection did indeed
eventually disconnect. If it did not, then we can assume that
the modem is not still tracking the call and we can call
onDisconnect ourselves.

Bug: 35012199
Test: Manual
Change-Id: I288d2950cd245ed6e40dd364e68d739a7d122d6c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
0455ac9f63bc28372efc270396305ea3f3a3c805 22-Dec-2016 Tyler Gunn <tgunn@google.com> Use video pause signaling when data limit reached.
am: 359c182111

Change-Id: I38a6427012b31a94e6f461ded415775499d36d29
359c182111879b821c0b7eba6d5fa52194293212 21-Dec-2016 Tyler Gunn <tgunn@google.com> Use video pause signaling when data limit reached.

When the data limit is reached and video is disabled, use the "pause"
video signaling instead of disconnecting the call.
Previously, ImsManager#updateImsServiceConfig would be called when data
was disabled due to hitting the data limit. This would cause VT to be
unprovisioned; as a result it was not possible pause or unpause the video.
To solve this, when the data limit is reached and we're about to pause,
we are now deferring the updateImsServiceConfig until the call terminates.

Test: manual
Bug: 30760683
Change-Id: Ia1d4247cb5a11da7694e9d197a506442c7f675f4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
e3c2042b6068c5e0b0d3d12c4039bbc90f00b745 16-Nov-2016 Brad Ebinger <breadley@google.com> Only get WiFi status based on RAT extras
am: 75f96a40e7

Change-Id: I61e3c7d48e4549ddc5f190990a8748c5b08b4dbd
75f96a40e73bbf262287b64f7ba79f058adac472 15-Nov-2016 Brad Ebinger <breadley@google.com> Only get WiFi status based on RAT extras

We used to set the WiFi Connection property based on the the provisioning
status of the phone until the RAT extra was set from the modem. This is an
obsolete method of determining whether or not to set the WiFi property and
was causing some calls to be improperly marked as WiFi.

Test: Manual Testing
Bug: 30964593
Change-Id: I9922ff17ffb704a09e9b2cebeb147a7463b9898b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
7796e4d3cb0fc92aa52016f4f721470ad9df9eed 08-Nov-2016 Tyler Gunn <tgunn@google.com> Merge "Add voip audio mode configuration for ims call"
am: a8829d52f2

Change-Id: I7dd89155744d7f43b06dcd6500d854179bd0e91b
c6e763fa8aa1121f9c5aef16368115b06e31c6a2 02-Nov-2016 Jimmy Wu <jimmyw@nvidia.com> Add voip audio mode configuration for ims call

Add mAudioModeIsVoip in Connection. Set it to true for
ImsPhoneConnection if config_use_voip_mode_for_ims is enabled.

Change-Id: Id4ef172deab636c79e749e8d1acb90fabdbcd4eb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
d0a85e9d7e52ecd5de9f7063361d9b01d2493627 13-Sep-2016 Brad Ebinger <breadley@google.com> Check ImsPhone WiFi State

We are currently checking the IMS feature FEATURE_TYPE_VOICE_OVER_WIFI
instead of checking the correct ImsCallProfile extras in the ImsCall.

This change also adds ImsCall tests for Wifi as well as modifies an
existing ImsPhoneConnection tests to facilitate the new change.

Bug: 30964593
Change-Id: Ib31fb1d4899fec47424f5e4869d27c429290f304
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
2e7e09e79c04f34034bebea8f5d86606bb584577 13-Aug-2016 Tyler Gunn <tgunn@google.com> Add support for downgrade to audio when data limit is reached.

Fix the SUPPORTS_DOWNGRADE_TO_VOICE calculation in ImsPhoneConnection; it
was relying on signaling from the modem, which apparently doesnt work.
Instead relying on a carrier config option to set that value.

Adding logic in ImsPhoneCallTracker to auto-downgrade to audio and send
a connection event indicating why it happeend to Dialer. This is only used
when the carrier supports it.

Bug: 30702393
Change-Id: Ie7ed3ba8b8aa6c45391d9dd45c4bbf7fe8c957ee
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
1999b9772eb9b3a230bd2520ffebb152544eaba9 28-Jul-2016 Tyler Gunn <tgunn@google.com> Fix issue where incoming rejected calls were not being marked as such.

Code in onDisconnect for ImsPhoneConnection assumed that if the current
disconnect cause is "LOCAL" that we couldn't ever override this value.
However, in the case of an incoming rejected call, we do want to override
the disconnect cause.

Bug: 30474601
Change-Id: I3ffe4e6844658e063c01ea5e3aeec82989d053cd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
77a1f167b962ceaf7972d246f4c23e17772d1c69 26-Jul-2016 fionaxu <fionaxu@google.com> scrub pii in imsphoneconnection + code cleanup

bug: 30368127
Change-Id: I14e8e6de97543786cc7dd327fe4a79f8968ecf04
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
db5b6a50186bc3fc8d42c50f4d23c91b05412ec6 22-Jul-2016 Tyler Gunn <tgunn@google.com> Handle video session modify responses while paused.

There is a limitation in the modem implementation whereby when the remote
party has paused video (eg sent dialer to the background) any session
modify requests which are sent are responded to, but the video state of
the connection is NOT updated until the video state becomes unpaused
again.

To handle this, ImsPhoneConnection will now listen for session modify
responses received via the VideoProvider. When paused, valid
responses to requests will be used to update the current video state of
the ImsPhoneConnection. When the video becomes unpaused, we will resume
using the modem reported video state.

Bug: 29381561
Change-Id: I1ac854dbc292affb3bc0bb9ce98b2fea33014cbb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
363911ade99b8c798fd1c6ef545d253b8c35a001 14-Apr-2016 Dheeraj Shetty <dshetty@codeaurora.org> Use HD icon for EVS audio codecs.

Show HD icon for audio codecs EVS_WB, EVS_FB and EVS_SWB.

Bug: 28675902

Change-Id: I5550e6c9660c0ccd25418a33c44ee2c71ddd47b9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
c69a267a29079cb1b49587d48a13d210ab7cc8f4 23-Mar-2016 Tyler Gunn <tgunn@google.com> Merge "Fix issue where audio calls have "supports downgrade to voice" capability." into nyc-dev
9b5cbeae3034cbeb658e9ff29c5b7d1ae780d5f6 23-Mar-2016 Tyler Gunn <tgunn@google.com> Fix issue where audio calls have "supports downgrade to voice" capability.

In reality, the capability isn't really required if either end only
supports voice calls.

Bug: 27354235
Change-Id: I9cd97cb2d3deba26d659c302d5c82a753d5c7699
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
93c62c8a71821f46194e16ca3e84f95e101edb90 15-Mar-2016 Amit Mahajan <amitmahajan@google.com> More ImsPhone unit tests.

Bug: 25691379
Change-Id: I9d0c6c45def7cf60228ea86412cf38d55068a6ff
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
f9b150b221db15e88b97a0b9c0971ca3c71c0313 17-Feb-2016 fionaxu <fionaxu@google.com> ImsPhoneConnection Unit Test

bug: 25691379

Change-Id: I97709053f4f1265646c4b8a03c314b3fc88caf4a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
032d73c15281387a97cdb91c6f0c7c3a1b1b230e 04-Feb-2016 Amit Mahajan <amitmahajan@google.com> Change to move postDial related info up to parent Connection class.

This is so that it can be easily migrated between different phone
types.

Bug: 24146109
Change-Id: I14c8016426d86e655b9ed3ed1dbc3c1eba4ede8f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
f83df11772fcf7f2aae0d9179b4d36eba92ad74e 22-Jan-2016 Tyler Gunn <tgunn@google.com> DO NOT MERGE IMS: Capabilities propagation

Propagating capabilities for voice and
video, based on which upgrade/downgrade
will be allowed.

BUG=22728624

Change-Id: If276c23849f64a5e6cbeae798a1c74efe79922a5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
27e0378194d55fdcb23f4a3a85dc620a234b5855 25-Sep-2015 Anju Mathapati <anjucm@codeaurora.org> IMS: Display caller name for MT VoLTE call

Caller display name is not getting updated on UI if Telephony
doesn't receive the caller information in the first incoming
notification from RIL.

Update the caller display name received in the subsequent
incoming notifications from RIL.

Bug: 26718453
Change-Id: I706b08c0bdba199400d1fd6a7e8cd780878e495f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
c2b66d57e16623dffc2fe6d02ded4f24c014b6c8 14-Dec-2015 Amit Mahajan <amitmahajan@google.com> Code cleanup including removing direct references to IMS classes.

Bug: 25793157
Change-Id: I45ab1394d8585ae3d649f1bb8f67bcd16a946a85
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
1a87ab3d7170d618f048c4f5af8c7504a587aaa5 10-Dec-2015 Jack Yu <jackyu@google.com> Merge from master

Change-Id: Ifbd86600111d2c444031ff608fab62fb2ee4b236
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
2e66c6325d321e41b8851da9a4596f7a745c7b1e 02-Nov-2015 Tyler Gunn <tgunn@google.com> Set WIFI icon for connection based on connection extra.

Previous methodology looked for changes in the Ims feature availability
in the ImsPhoneCallTracker. I.e. there was an assumption made that if
the IMS stack had VoWIFI enabled that we were using it.

A new extra was added for the 3 nexus devices,
ImsCallProfile.EXTRA_CALL_RAT_TYPE. This determines the radio technology
in use for a call, which we can then use to accurately show the WIFI
calling icon.

Bug: 20144385
Change-Id: I5aee9a571c7458f576a9208b81bed9781046a39a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
553db651cd5a51eedde0259d5a25e91700ef96c5 23-Oct-2015 Tyler Gunn <tgunn@google.com> Ensure connection extras set before connection start are passed through.

In ImsPhoneConnection, the extras pertaining to a "Child number" were
set on the ImsCallProfile prior to the connection being created. Turns
out we only pass along extras when they're changed. However, when the
connection is new we never call the callback to indicate the connection
extras changed.

Added code in ImsPhoneConnection to set the extras when the connection
is first created.

This ensures the extras make it to InCall for incoming calls.

Bug: 24585039
Change-Id: I90993a278b76371bf514fd332adf78bc58505357
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
21048a2bc97d932a3ddecdfd79003a03f34263ec 02-Sep-2015 Nivedita Sarkar <nsarkar@codeaurora.org> IMS: Decouple Call Extras from call state change notification.

Currently call extras are closely coupled with call state changes.
To propagate call extras from internal.telephony.Connection the
PRECISE_CALL_STATE_CHANGED event shall be triggered which is genarally
triggered when phone/call changes its state. This change removes the
above mentioned dependency by raising onExtrasChanged event when
changes in extras are detected.

Bug: 22329706

Change-Id: I7c0f5dc3229b2d7ae83d06a8e3fade45d1b62c90
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
8bfa1b42f0ffebf33239546ceaf5d6f5ca813191 01-Sep-2015 Amit Mahajan <amitmahajan@google.com> Adding emergency call start/end indications in ImsPhone.

This is needed to correctly support emergency callback mode.

Bug: 23704763
Change-Id: I1983987b75e055d8acf99b9e628bbcabbd41c911
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
6bb557b243f3fc9984b82319026519608ada2c9c 12-Aug-2015 Roshan Pius <rpius@google.com> Add delay between DTMF tones to meet carrier spec.

Carrier specifications require a minimum delay of 215ms between DTMF
tones that are sent out. So, adding a delay between the end of
processing a DTMF char and begining of processing of the next DTMF char.

BUG: 23064351
Change-Id: Ife7b9dfe99319cd3fd383034d8076dd475ad5fa0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
593f6da2f72898a723f4423f174e83ceca691f03 16-Jul-2015 Tyler Gunn <tgunn@google.com> am 5299d996: Merge "Enhance ImsPhoneCall/Tracker logging and fix swap on bad state change" into mnc-dev

* commit '5299d9964976098ad5192474d485dbd02db9a0d4':
Enhance ImsPhoneCall/Tracker logging and fix swap on bad state change
5299d9964976098ad5192474d485dbd02db9a0d4 16-Jul-2015 Tyler Gunn <tgunn@google.com> Merge "Enhance ImsPhoneCall/Tracker logging and fix swap on bad state change" into mnc-dev
53ed80f4bd5b15ca9494a376f05c84f0ac79462f 14-Jul-2015 Anthony Lee <anthonylee@google.com> resolved conflicts for merge of d9c3a08d to mnc-dr-dev

Change-Id: I0df7348fbbca184c5da80a28f24e0751be036f16
707644d8250cc5c3c2287068a9df210d7eb3e863 14-Jul-2015 Tyler Gunn <tgunn@google.com> Enhance ImsPhoneCall/Tracker logging and fix swap on bad state change

ImsPhoneConnection:
- Added check in update() to ensure we skip the update if we are putting
the call into an ACTIVE state, but there is a pending request to
hold the ImsCall. This is really a bug in the RIL; we are NOT getting
the callSessionHeld callback when putting a recently formed conference
call into the background. Without this check, we end up detaching the
ImsPhoneConnection from the "background" ImsPhoneCall and attaching it
to the "foreground" ImsPhoneConnection, which causes a scenario where there
are multiple active calls at the same time. I will file a bug against
the RIL to fix this missing state reporting.

ImsPhoneCallTracker:
- in switchWaitingOrHoldingAndActive check for the case where we are
holding a foreground call and reset the flag indicating we're expecting
to see a resume. This wasn't causing the bug I was working on but I
can see how it might have undesirable effects.
- added some extra debug logging to help track down hold/resumes
- fixed some BAD logic in onCallMerged added in change ID
I94abbae37eb6773f1824c0e5c3a267d345610ada. This code was swapping the
ImsPhoneCall references for foreground and background directly in order
to ensure that the right calls were passed in to ImsPhoneCall#merge.
The ImsPhoneCallTracker assumes the ImsPhoneCalls mForegroundCall and
mBackgroundCall will always stay the same; ImsPhoneConnections are attached
and detached from these ImsPhoneCalls, but the original references must
stay the same. Fixed up that code to ensure it does what its supposed to
without messing up the original references.
- Added logState method which can be turned on via debug flag to periodically
dump verbose state of the calls tracked my ImsPhoneCallTracker. I had
a hard time figuring out what was going on and this helped a lot.

ImsPhoneCall:
- Added enhanced logging when ImsPhoneConnections are moved between the
foreground, background, etc calls. Also added knowledge of whether an
ImsPhoneCall is a foreground or background call so that logging can be made
more clear.

- After operations which change which calls are FG or BG, calling
ImsPhoneCallTracker.logState() which will log the full ImsPhoneCallTracker
state for even easier debugging (but only if the stop-ship flag is on).

Bug: 22173672
Change-Id: I704af9522a81ee036f290c7c723de4c3602229fd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
d9c3a08d5958e5ced0c0c9f7aabf376a5fe59bb2 08-Dec-2014 Anju Mathapati <anjucm@codeaurora.org> IMS: Do not update connection state for onCallUpdated callback.

onCallUpdated callback is to inform updates on parameters of ImsCall
other than the call state. Updating the call state during onCallUpdated
is sometimes corrupting the connection state, especially during
hold/resume operation. Hence refactored code to not update state
of connection for call updated callback.

Change-Id: I55ed948fe3b5b03f8836b84d7952a39f97cd2a8a
Bug: 22170586
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
08e9c4b483dac2cbf1b7fe4cbad22f003ff92bcb 31-May-2015 Shriram Ganesh <sganesh@codeaurora.org> MWI,phantom call,Suppl services

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

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

5. Add Error message in commandexception

6. Add getExtras method

Miscellaneous:

7. IMS: Update Connect time for dialing/incoming SRVCC calls

Connect time (mConnectTimeReal) will be updated only for ACTIVE calls
and it's not updated for calls which are transferred from DIALING/ALERTING/
INCOMING/WAITING to ACTIVE as part of SRVCC. Due to this once call is
ended call duration will not be updated properly in connection.

Update Connect time properly for DIALING/ALERTING/INCOMING/WAITING to
ACTIVE SRVCC calls.

Change-Id: I551e63840b6a63e0cbd97919d4b03d2a68334dbd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
eeeb1cb65e41778fa78abcaba93a9e4ebe351ec6 27-Jun-2015 Shriram Ganesh <sganesh@codeaurora.org> IMS: Update name, number and presentation values from ImsCall.

Update the name, number and presentation fields of ImsPhoneConnection
on every ImsCall update.

Bug: 22123241
Change-Id: I2cab669f7fe41f1bce355672622ac03259ff3f16
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
33cfb500a7cf192adfc5ca06792fe3847073b6c1 15-May-2015 Chao Liu <yjl@google.com> Store the optional vendor cause string returned by RIL in telephony
Connection object. We'll pass it to Telecom, which could be used by
clients.

Original partner change:
https://partner-android-review.googlesource.com/#/c/215709/

Change-Id: Icc2efeb35fbbaa59c4ecec5c97e776fe7e414fd3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
d305a7216e7a85c4528654ef6552483f70852a47 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '833231d' into merge2
1c94eb7b0d47bac7e0237da969fbafc4984a663c 16-Apr-2015 Jay Shrauner <shrauner@google.com> Remove connection substate

Bug:20300433
Change-Id: Ic7f097cf371204f8ec4271cea735be9fbed14a7d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
28f0b85be9cddf2c3c9ef268e3bf2781747a66f2 15-Apr-2015 Tyler Gunn <tgunn@google.com> resolve merge conflicts of 5b326ce to m-wireless-dev.

Change-Id: I6327e47b036f9c0ad968e465b4b3f4d74038edd1
ce67e30bf7a91a3ff63f86020c2d91c248c3a71b 01-Apr-2015 Tyler Gunn <tgunn@google.com> Prevent merging conference calls hosted on peer device.

With IMS, the "multiparty" bit on an ImsCall is set to "true" when a call
is merged into a conference. This not only occurs on the device hosting
the conference call, but also on the devices of the callers merged into
the conference.

This CL adds code to propagate changes in the multiparty state of a call
from the ImsCall up to the ImsPhoneConnection.

Bug: 19478784
Change-Id: I51b84731dbc77a235d2602db751af016e6c397ea
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
288268d5528e0df03f348e303954813cb188c55b 24-Mar-2015 Rekha Kumar <rekhak@codeaurora.org> IMS-VT: Propagate video capability of phone to telecomm.
To dynamcally enable/disable Make Video Call button in dialer,
the phone capabilities need to be propagate to TelecommMgr.
Propagate video capability of phone to telecomm layer.

IMS-VT: Notify call updates
-When call type is updated from VoLTE to VT, this notification
does not reach UI. Fix this

Fix the issue - Unable to add second VT call when first call is active
- Cache the video state of the new pending call when the foreground
call is HOLDING.
- Use the cached video state when dialing the pending MO call or
accepting the pending MT call after the first call is put on HOLD.

Ims: Add support for WIFI network mode notifications
Added support for enabling and disabling features for Voice and
Video when network mode is WIFI or IWLAN

IMS-VT: Peer capabilities
-Add support for peer capabilities
Change-Id: I44177dd6804b69a7b790021502eda0eb3bea3cab

IMS-VT: Do not allow changing the TTY mode during a Video call
When the device is already in a video call, the user SHOULD NOT
be allowed to change the TTY mode. If the user tries to change,
then an UI alert message will be displayed explaining it cannot
be changed during video calls.

Propagate the call substate changed message to the UI

Notify video capability to listeners in certain new scenarios
- In certain cases, we have seen that when the phone
object is deleted/re-created, we fail to notify the
video capability to the listeners.
- There also seemed to be a race condition when the
time a listener registers is not in sync with
the time we are notified of the video capability.
- In order to fix the above two issues, we notify
registrants when a new phone is created and
updateParentPhone is called. Also, when a new
registrant registers with us for video capability
changed, we immediately notify them of our cached
capability.

Change-Id: Ic6002c2518104c20b5de10d1081af4559f506ace

IMS-VT: Enable Video conferencing.
Enable Video conferencing.

Change-Id: Ia1155960492165cff7f4993a4bf98ecc920ebf41
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
04b0216a5f64b70ec4b06f129946fff4ef359878 23-Feb-2015 Andrew Lee <anwlee@google.com> Update internal telephony connection's wifi state.

When the ImsPhoneConnection is updated, pass the state of whether it
is using Wifi to the Telecom Connection. This is done by checking
changes to a Connection's feature capabilities to see if
isVowifiEnabled.

This is a temporary measure. In the long run, this information will
be passed up on the ImsCallSession, and we will need to listen to
WFC handover events.

Bug: 19151548
Change-Id: I53c84cb0169abd72c35407ca3e77952bac30d656
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
fd2305639e3761c2bf3213463c4f17cc8310f4d0 29-Jan-2015 Tyler Gunn <tgunn@google.com> Fixing conference merge where only one party is added to conference.

- added "swap calls" flag to the onCallMerged listener. This is used
to indicate that the fg/bg calls need to be swapped after the merge.
- changed how we get the connect time for the conference. This is now
stored when a conference merge is started (required because of the delaying
of merge complete; one of the calls is already non-existent at the time
we want to get the connect time).


Bug: 18960042
Change-Id: Icc4b60756d333373fe181612824b0c13c076408b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
e70972cf6a3b48df1f7d036877eb28529e606ca9 26-Jan-2015 Tyler Gunn <tgunn@google.com> Correcting issue where video call icon shows for all calls.

The issue is in the ImsPhoneConnection code which checks for the
VideoState of the current call. There was some work done at the RIL
level to restructure what the various ImsCallProfile instances mean.
When this code was written, getLocalCallProfile() was intended to refer
to the capabilities of the current call. This has since changed so that
there are 3 profiles:
getCallProfile() -- the actual profile.
getLocalCallProfile() -- what the local device supports.
getRemoteCallProfile() -- what the remote device supports.

On a video capable device, getLocalCallProfile() appears to now return
DO NOT MERGE "Video", where it did not in the past.

There must have been a change in the modem code recently which has caused
this to show up now (where it was not an issue in the past).

Bug: 19144923
Change-Id: If58d58a073feb05e3509570eaac4dc02749ca212
(cherry picked from commit 1259a64380b7943d0dfe965ee721b4d29ee662ce)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
de2242679c927ed9c46fa42f40162b113e337112 10-Dec-2014 Omkar Kolangade <omkark@codeaurora.org> IMS: Detach disconnected connections from its parent

Detach disconnected connections from its parent once
the call is ended

----------------------------------------------------

IMS: After SRVCC handover, disconnect the dropped IMS calls

After a successful SRVCC handover, disconnect the handover pending
or dropped IMS calls, if any

Bug: 18777284
Change-Id: If4899c70c587c70b8202559b3fe0027ecd166f21
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
4567a0789e9966929c71af9a2c3866582c85c9e0 16-Dec-2014 Nancy Chen <nancychen@google.com> Notify listeners of a Connection if a DTMF character has been processed.

In order to make DTMF digits in the post dial wait state audible to the
caller, the Connection must alert its PostDialListeners when it has
processed each character.

Bug: 18644688
Change-Id: Ic4078c2fb2cf9bfc0e6791dc76cb27ce7ab7077c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
f5960ecb0bc8c6ab1add3755182f941ac709e173 11-Dec-2014 Pavel Zhamaitsiak <pavelz@google.com> Merge "Make sure to always call update profile (remove short-circuit bug)." into lmp-mr1-dev
549148fb25d8b38c2bd1207c1a21027c6621932b 10-Dec-2014 Etan Cohen <etancohen@google.com> Make sure to always call update profile (remove short-circuit bug).

Guarantees that HD icon information is updated on any call session updates.

Bug: 18457066
Change-Id: I6c07f75aa355942b00eb270b25a15c9f113a34d2
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
d9aa1a75304b1c04c352198b9269f40a2a059f74 09-Dec-2014 Andrew Lee <anwlee@google.com> Pass Message to sendDtmf, notify postNotify.

+ Use ImsPhoneCallTracker's sendDtmf method instead of the commands
interface.
+ Echo GsmConnection/CdmaConnection in notifying post dial listeners
after the post dial state is updated. Otherwise, the post dial dialog
is not shown.

Bug: 18643493
Change-Id: I9db13a673bd022bf3949a268f5f54f2c8f2511fc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
6a0fa4105fa8104a09b33a3403df5ae2711e0083 20-Nov-2014 Andrew Lee <anwlee@google.com> Indicate high quality audio.

Check remote profile to take into account whether we consider the
session to be using high-quality audio.

Merge two separate blocks to update media capabilities into one
helper method, and simplified code. This helper is
boolean updateMediaCapabilities(ImsCall imsCall).

Bug: 18103173
Change-Id: Iec082dda6ec80bba2ce386f8ee7398f191152a3e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
541accbd8e08fac77faa1c60d14533b1a5a36347 17-Nov-2014 Tyler Gunn <tgunn@google.com> Add null-check to isMultiparty method, additional debug strings.

Bug: 18200934
Change-Id: I4b146046dc0d9f5ebb7c37151d95d81629a3dd25
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
d7f4ed8ac190763dce7e57b737caa44654b4592a 04-Nov-2014 Tyler Gunn <tgunn@google.com> Support disconnecting conference participants from conference.

- Added implementation for onDisconnectConferenceParticipant method in
ImsPhoneConnction. Calls the "removeParticipants" method provided by the
ImsCall to inform the conference server that a conference participant
should be disconnected.

Bug: 18176606
Change-Id: Icab779a49382765c198494c18d8adc276189e9c3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
2c38178d30afd3f168c6506f0942f93c785d3d7e 24-Oct-2014 Tyler Gunn <tgunn@google.com> Propagating isMultiParty indicator from RIL up into Telephony layer.

- Changing ImsPhoneCall to return the multiparty bit from the ImsCall
instead of depending on the number of connections present.

Bug: 18058253
Change-Id: I0f81f16e38d3a907c8e81143b0f36d2d17e7f971
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
97fba207643a87dd718395010a98ded3e809a3d7 12-Sep-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS: release the imsphoneconnection wakelock when handover occurs from volte to cs.

Bug: 17469563
Change-Id: I3652de773da0398cb9d7455d0c82e6c9504171af
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
5b2302a78231998589d06a2bc7b4ae9ef00fe5b8 29-Aug-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Add null check for ims call during conference call updates

Add null check before accessing imscall object.
For conference call updates are forced by
using a null object for imscall
argument.
This enables UI update for conference calls

Bug: 17321414

Change-Id: I5667bf136af37e425040edc34dacad46de084ec4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
e64a413b850aae224e2f56e7dfc6e0bcd667643e 29-Aug-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Add support for Silent Redial and SRVCC

1. Silent Redial uses the same notifications as SRVCC.
Add support to handle the notifications in CDMA mode.
2. Frameworks and UI support for connection handover.

Bug: 17307064, 17288974
Change-Id: Icc1f9ad50a1dcb53a2af1aae8d296af7101676aa
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
d325833e9248c05305b1edabb1d8efc827803f75 19-Aug-2014 Jing Zhao <zhaojing@motorola.com> VoLTE incoming call number

Set incoming call number in OIR to be shown to user

Bug: 17032453
Change-Id: Iceadb0f537fb35f685cbcf8279ccef7d86036600
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
7fa8ac39602ee9841dfcb0fb5c5f4d401925f8b5 08-Aug-2014 Tyler Gunn <tgunn@google.com> Wiring HD audio call capability reporting. (1/2)

- Modified ImsPhoneConnection to get the current audio quality from the
ImsStreamMediaProfile, mapping to an internal audio quality of standard
or high definition.
- Added listener to report audio quality changes.

Bug: 15987281
Change-Id: If24a14f8f3d79934229460dcac8eb0068a08466a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
3a8f9358a827c2be7f33b62d435894906d4874de 29-Jul-2014 Tyler Gunn <tgunn@google.com> Retrieving local video capabilities on creation of ImsPhoneConnection.

Bug: 16238919
Change-Id: I5239525280a89ec74bb8950e3891241fb2ae0138
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
2999afbcfeab69bf7473e1b9bcabb1c9c6935b19 21-Jul-2014 Tyler Gunn <tgunn@google.com> Various IMS changes. (1/2)

1. Passing through videoState to acceptCall in ImsPhone and below.
2. Fixing issue in GSMPhone where IMS calls are always dialed as
audio.
3. Adding setter on android.internal.telephony.Connection for
call video provider and passing through to telecomm.Connection

Bug: 15893156
Change-Id: Id7a53807873add408d59452e1b79cfa748f972e8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
64e62340aae85179a6468ccac4a401900eb4dc2f 18-Jul-2014 Tyler Gunn <tgunn@google.com> Adding videoState to telephony connections.

- Modify base telephony Connection to include abstract getVideoState
method.
- Override in CDMA, SIP, GSM connections to return AUDIO-ONLY.
- Override in ImsPhoneConnection to map from ImsCallProfile to
VideoCallProfile vidoe states.

Bug: 16285417
Change-Id: Icdf9ea3ae21475964f454ca4c92ab54791cb86aa
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java
a8467dd0c524787104b1ccdddc5e8af10ba729ed 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java