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 >>>)
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
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
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