4 years agoRemove permission check from client-side code - ineffective.
Etan Cohen [Wed, 1 Jul 2015 18:40:08 +0000]
Remove permission check from client-side code - ineffective.

Will be added to server side code.

Bug: 17361897
Change-Id: I417a050135ead6023f996a8ea84495e1e9355a97

4 years agoCheck for null config from CarrierConfigManager.
Jonathan Basseri [Wed, 1 Jul 2015 22:00:38 +0000]
Check for null config from CarrierConfigManager.

CarrierConfigManager can return a null bundle if an error occurred (e.g.
RemoteException) We received dozens of reports indicating that had
occurred at this call site, but they did not include logs explaining why
CarrierConfigManager had returned null. (see bug)

Bug: 22230051
Change-Id: I11f5ed44696d0ef8465e33bbed7abfb8b354d40a

4 years agoUpdate ImsManager to use carrier configs.
Junda Liu [Tue, 23 Jun 2015 18:16:26 +0000]
Update ImsManager to use carrier configs.

Various carrier settings have been migrated to carrier config manager, so we update the call sites in ImsManager.

Bug: b/21878236
Change-Id: I20dcfba6e71f7db4961ff17f059e1a139c9958d7

4 years agoIMS: Conference changes
Uma Maheswari Ramalingam [Thu, 7 May 2015 06:08:17 +0000]
IMS: Conference changes

CL is handling refer failure for -
- held call in 3 way merge
- active call in 3 way merge
- active call in 4 way merge

Bug: 20224516, 20232100
Change-Id: I69a006cdedf705762d8494d0da6796884c8631a2

4 years agoIMS: Ims Conference fixes
Uma Maheswari Ramalingam [Wed, 20 May 2015 21:26:42 +0000]
IMS: Ims Conference fixes

Conference fixes

- Don't reset mUpdateRequest flag upon
receiving call update notification,
- Reset mHold variable when hold request failed
- Update Participants information after
- Update only active participants in Conference List
- Reset mHold variable when resume request failed
- Fix crash when participant leaves from conference
- IMS conference participant API

Change-Id: I3e0b1dc3864aa697f5ba5db7ba468bece09b1ea6
Bug: 21376607

4 years agoMore video related API fixes
Yorke Lee [Tue, 12 May 2015 23:24:05 +0000]
More video related API fixes

* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs

* setPauseImage takes Uri instea dof String

* Move constants to VideoProfile, prefix with STATE_

Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79

4 years agoFixes for APi review
Yorke Lee [Tue, 12 May 2015 21:18:33 +0000]
Fixes for APi review

Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final

Bug: 21040387
Bug: 21066505
Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0

4 years agoChange sendSessionModifyRequest VideoProvider API signature.
Tyler Gunn [Wed, 6 May 2015 15:51:51 +0000]
Change sendSessionModifyRequest VideoProvider API signature.

Bug: 20704229
Change-Id: I7650b6ae21532b10f901449f702f3a4b59477696

4 years agoWi-Fi Calling default setting - Off
Pavel Zhamaitsiak [Mon, 27 Apr 2015 16:44:33 +0000]
Wi-Fi Calling default setting - Off

Bug: 20626411
Change-Id: I0647f7d82f36b2fadd079250b5ba5e3f6d1de3f9
(cherry picked from commit fa380e67d66a0a6c5e2ae13a3ca983f00d86e8cd)

4 years agoMerge commit '7df3df8' into merge2
Etan Cohen [Fri, 24 Apr 2015 21:07:51 +0000]
Merge commit '7df3df8' into merge2

4 years agoMerge commit 'e691706' into merge2
Etan Cohen [Fri, 24 Apr 2015 21:07:44 +0000]
Merge commit 'e691706' into merge2

4 years agoDO NOT MERGE Remove connection substate
Jay Shrauner [Thu, 16 Apr 2015 20:02:05 +0000]
DO NOT MERGE Remove connection substate

Change-Id: Ieb83fb0b71eaf948c19241ec59411b3d434fae33

4 years agoRemove connection substate
Jay Shrauner [Thu, 16 Apr 2015 20:02:05 +0000]
Remove connection substate

Change-Id: Ieb83fb0b71eaf948c19241ec59411b3d434fae33

4 years agoFixing use of subId where phoneId was expected.
Jonathan Basseri [Tue, 14 Apr 2015 23:32:13 +0000]
Fixing use of subId where phoneId was expected.
automerge: d713365

* commit 'd7133654b09bffcada982d2a5d37d0eeb0ffbd2d':
  Fixing use of subId where phoneId was expected.

4 years agoFix compilation error.
Pavel Zhamaitsiak [Tue, 14 Apr 2015 23:31:54 +0000]
Fix compilation error.
automerge: 691a1cc

* commit '691a1cc831e1bade18cb39f917f9aebbb5939ab8':
  Fix compilation error.

4 years agoMerge "Prevent merging conference calls hosted on peer device." into lmp-mr1-wfc-dev
Tyler Gunn [Tue, 14 Apr 2015 18:19:36 +0000]
Merge "Prevent merging conference calls hosted on peer device." into lmp-mr1-wfc-dev
automerge: 6e0a2ef

* commit '6e0a2ef3da064aa783a827d8f3857b994e92b716':
  Prevent merging conference calls hosted on peer device.

4 years agoFixing use of subId where phoneId was expected.
Jonathan Basseri [Wed, 8 Apr 2015 02:54:24 +0000]
Fixing use of subId where phoneId was expected.

Change-Id: I96eda538d40dc863823d3fae4782e10da345899e

4 years agoMerge commit '5aec2e957365f20b2e75d3b8c7034e3289729b81' into merge_work
Prerepa Viswanadham [Fri, 10 Apr 2015 18:07:51 +0000]
Merge commit '5aec2e957365f20b2e75d3b8c7034e3289729b81' into merge_work

4 years agoFix compilation error.
Pavel Zhamaitsiak [Thu, 9 Apr 2015 17:14:55 +0000]
Fix compilation error.

Change-Id: Ia2c46f1fd9e2a34481690687745d88fb1b0a861f

4 years agoMerge "Prevent merging conference calls hosted on peer device." into lmp-mr1-wfc-dev
Tyler Gunn [Wed, 8 Apr 2015 18:15:23 +0000]
Merge "Prevent merging conference calls hosted on peer device." into lmp-mr1-wfc-dev

4 years agoIMS-VT: Fix propagation of device orientation.
Rekha Kumar [Tue, 24 Mar 2015 18:00:34 +0000]
IMS-VT: Fix propagation of device orientation.
Orientation received at VT Service is incorrect.
Fixed propagation of device orientation to VT service

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

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

IMS-VT: Change call data usage parameters
Change call data usage methods to take parameter of long type
instead of int

Change-Id: I543aa082337d437ec7c2bf249bafb9658f34dd1b

Propagate the call substate changed message to the UI

Change-Id: I695736ccfa4e4446912ba6c3df1713bae6d4486a

4 years agoPrevent merging conference calls hosted on peer device.
Tyler Gunn [Wed, 1 Apr 2015 16:40:02 +0000]
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 ImsCall to handle changes to the multiparty state of
the session.  It also includes code to track whether the ImsCall is the
Conference Host.  A call is the conference host if the conference was
established on the current device.

Bug: 19478784
Change-Id: I764d6381d25275980a87705b7b53e21cdbffb1ea

4 years agoRemove an extraneous check in callSessionMergeFailed().
Anthony Lee [Thu, 2 Apr 2015 16:40:01 +0000]
Remove an extraneous check in callSessionMergeFailed().

There is no reason why we cannot continue with merge cleanup
(just to be safe) on a call regardless of if the "i'm in a merge"
flag is set or not. If, for some reason, the call is not
part of a merge, its a NOOP. This handles the case when the
callbacks are out of order and we receive a callSessionMergedFailed()
after a callSessionTerminate() on the merge host. It doesn't really
make sense for the callbacks to come back that way but we should
support it either way.  I also cleaned up the processMergeFailed()
function so that it doesn't abort when there is no merge peer.
Now the logic cleans up the merge host anyways and cleans up the
peer only if it exists.
Note that this is only a partial fix for this bug. The other issue
(main issue) that we need to resolve is why the first conference
puts Telecom in a state where the second conference fails.

Bug: 19852295
Change-Id: I3acf8fd4fd5c199c01ca2c4ead4119f3876e38d5

4 years agoClean up logging for ImsCall to make it easier to debug bugreports.
Anthony Lee [Wed, 18 Mar 2015 22:04:18 +0000]
Clean up logging for ImsCall to make it easier to debug bugreports.

Moved the logging from the radio log to the system log for a
better chance at seeing something from customer reports.

Bug: 19625417
Change-Id: Ib5ae7275fce0a502ba6a1ad356f32f1010d14198

4 years agoMerge commit '48738d5f4d5a7dc3611fe9a700e9d5add146b461' into merge
Etan Cohen [Tue, 31 Mar 2015 01:05:09 +0000]
Merge commit '48738d5f4d5a7dc3611fe9a700e9d5add146b461' into merge

4 years agoIMS: UT ServiceClass
Omkar Kolangade [Sat, 31 Jan 2015 06:01:00 +0000]
IMS: UT ServiceClass

When CF and CW MMI request will be triggered,
user preferred serviceclass will be sent to
the lower layers.

Change-Id: I419aca453657063941d2b9121b508a0a69a17e6a

4 years agoMerge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge
Prerepa Viswanadham [Tue, 24 Mar 2015 23:08:31 +0000]
Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

4 years agoForce IMS to register over LTE when turning off WFC
Pavel Zhamaitsiak [Mon, 16 Mar 2015 22:30:53 +0000]
Force IMS to register over LTE when turning off WFC

Bug: 19697174
Change-Id: I4b1538052f4bc2bf5d7c55f78467c6c52b49efd8

4 years agoMerge "Move "IMS registration error" intent from ImsPhone to ImsManager." into lmp...
Pavel Zhamaitsiak [Mon, 16 Mar 2015 23:51:05 +0000]
Merge "Move "IMS registration error" intent from ImsPhone to ImsManager." into lmp-mr1-wfc-dev

4 years agoMerge remote-tracking branch 'goog/mirror-m-wireless-internal-release'
Vinit Deshpande [Mon, 16 Mar 2015 08:21:01 +0000]
Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release'

4 years agoIMS: IMS Registration and handover error codes support
Rekha Kumar [Wed, 4 Feb 2015 18:47:00 +0000]
IMS: IMS Registration and handover error codes support

- Add support for propagating IMS Registration error codes and error
- Propagate the call session handover info to the UI
Change-Id: If2f2008734735f52614bd046fee144843a465ecf

4 years agoDecouple WFC from Enhanced 4G LTE in settings
Pavel Zhamaitsiak [Tue, 24 Feb 2015 18:20:27 +0000]
Decouple WFC from Enhanced 4G LTE in settings

TMo requires WFC and Enhanced 4G LTE mode to be enabled/disabled independently.
IMS used to be stopped when 4G LTE was disabled and started when it was
enabled. Now we need to take WFC into account when making decision about
starting/stopping IMS.

Change-Id: Icc92097a98e07994783b2ec3579d86b05315d0a2

4 years agoWFC configuration: add API to get and set user settings.
Etan Cohen [Tue, 23 Dec 2014 23:02:29 +0000]
WFC configuration: add API to get and set user settings.

Change-Id: Ia6ab8e5941b707d77321059450e6235f27ecbf38

4 years agoMove "IMS registration error" intent from ImsPhone to ImsManager.
Pavel Zhamaitsiak [Thu, 12 Mar 2015 22:37:54 +0000]
Move "IMS registration error" intent from ImsPhone to ImsManager.

Change-Id: I2b57fbcf73110b453307a936dd3c8421c51d5030

4 years agoWiFi Calling: Change default value for the roaming setting to OFF.
Pavel Zhamaitsiak [Tue, 10 Mar 2015 23:42:01 +0000]
WiFi Calling: Change default value for the roaming setting to OFF.

Bug 19682545
Change-Id: Ia3fbcc3aba38cc6c5bae180b512a16f02f48f457

4 years agoIMS: IMS Registration and handover error codes support
Rekha Kumar [Wed, 4 Feb 2015 18:47:00 +0000]
IMS: IMS Registration and handover error codes support

- Add support for propagating IMS Registration error codes and error
- Propagate the call session handover info to the UI
Change-Id: If2f2008734735f52614bd046fee144843a465ecf

4 years agoam f4311129: Add interface to determine whether the IMS service is available
Etan Cohen [Tue, 3 Mar 2015 17:54:29 +0000]
am f4311129: Add interface to determine whether the IMS service is available

* commit 'f4311129e3508963811d77715f1486ff54964341':
  Add interface to determine whether the IMS service is available

4 years agoDecouple WFC from Enhanced 4G LTE in settings
Pavel Zhamaitsiak [Tue, 24 Feb 2015 18:20:27 +0000]
Decouple WFC from Enhanced 4G LTE in settings

TMo requires WFC and Enhanced 4G LTE mode to be enabled/disabled independently.
IMS used to be stopped when 4G LTE was disabled and started when it was
enabled. Now we need to take WFC into account when making decision about
starting/stopping IMS.

Change-Id: Icc92097a98e07994783b2ec3579d86b05315d0a2

4 years agoAdd interface to determine whether the IMS service is available
Etan Cohen [Fri, 27 Feb 2015 01:47:13 +0000]
Add interface to determine whether the IMS service is available

Bug: 19447972
Change-Id: Ida074dd6840c1c7682bdca32d858aa28db2dc71d

4 years agoWFC configuration: add API to get and set user settings.
Etan Cohen [Tue, 23 Dec 2014 23:02:29 +0000]
WFC configuration: add API to get and set user settings.

Change-Id: Ia6ab8e5941b707d77321059450e6235f27ecbf38

4 years agoCleanup of conference code including logging, flags and some workflow.
Anthony Lee [Thu, 12 Feb 2015 01:04:35 +0000]
Cleanup of conference code including logging, flags and some workflow.

The main purpose was to simply the logic so that the code is more
explicit about what it is doing. There was also a bug in the hold and
resume flow that was fixed.

Bug: 19294176
Change-Id: I558d6da919b9d763f1fd2413e8f9a3dfa5d0e4be

4 years agoFixing TMO Conference Call Attempt leaves Dialer App in a Zombie state.
Libin.Tang@motorola.com [Fri, 6 Feb 2015 04:12:09 +0000]
Fixing TMO Conference Call Attempt leaves Dialer App in a Zombie state.

When conference call is failed, the mUpdateRequest of both host and peer
imscalls should be updated to UPDATE_NONE.

Bug:  19285127
Change-Id: Ib4afcbf3223d0f0be856e3686f899ade38235e96

4 years agoFixing conference merge where only one party is added to conference.
Tyler Gunn [Fri, 30 Jan 2015 23:21:11 +0000]
Fixing conference merge where only one party is added to conference.

- revisit code to trigger processMergeComplete; we used to assume that we
were done merging when the transient session started.  We now have to
check on terminate and on hold to see if all the calls have been

Bug: 18960042
Change-Id: I682303558c6958d85d2358102757608041b8451e

4 years agoUse provisioning (if needed by carrier) to determine whether platform supports VoLTE
Etan Cohen [Wed, 26 Nov 2014 19:57:47 +0000]
Use provisioning (if needed by carrier) to determine whether platform supports VoLTE

Bug: 18576107
Change-Id: I79d0c44a579923cc36fecd2798754cc8a72839c6

4 years agoDisable VoLTE if TTY is on and TTY is not supported over VoLTE
Etan Cohen [Mon, 15 Dec 2014 18:10:14 +0000]
Disable VoLTE if TTY is on and TTY is not supported over VoLTE

- VoLTE is disabled if TTY is turned on and it is not supported
  over VoLTE.
- Add API indicating whether VoLTE is enabled due to TTY restrictions.
  Uses configuration of VoLTE on TTY supported and current TTY mode.
- Move code changing Settings.Global.ENHANCED_4G_MODE_ENABLED
  from MobileNetworkSettings activity.

Bug: 18593974
Change-Id: Ib2706cf5f30412a735cc6f24228accc7f1216804

4 years agoIMS: Notify about change of TTY mode of other call participants
Pavel Zhamaitsiak [Thu, 11 Dec 2014 01:31:33 +0000]
IMS: Notify about change of TTY mode of other call participants

Pass notification to Phone app

Bug: 18247323
Change-Id: I428f8df60ebada280c6aa16debf1ff44246533bd

4 years agoPass Message through sendDtmf.
Andrew Lee [Tue, 9 Dec 2014 22:51:53 +0000]
Pass Message through sendDtmf.

Do not invoke sendToTarget ourselves. Instead, pass the message
through to the ImsCallSession implementation, and rely on that
to send the message to the target.

Bug: 18643493
Change-Id: I37a891ecf71d55b93f24f9b853b64b34a24e0910

4 years agoIMS: support for OMA-DM based provisioning.
Libin.Tang@motorola.com [Fri, 31 Oct 2014 15:01:16 +0000]
IMS: support for OMA-DM based provisioning.

Bug: 18576107
Change-Id: Id16ea5ed3ce0c714f658cc86b66f487199d999a7

4 years agoIMS: add an ImsConfig api to get volte provisioned value.
Libin.Tang@motorola.com [Sun, 7 Dec 2014 18:49:07 +0000]
IMS: add an ImsConfig api to get volte provisioned value.

Bug: 18576107
Change-Id: I84c66089291ffb4051ed7ef70d4a2bcf4a24c3d7

4 years agoIMS: start and stop dtmf tones.
Uma Maheswari Ramalingam [Sat, 6 Dec 2014 00:40:46 +0000]
IMS: start and stop dtmf tones.

Support of start and stop dtmf tones in Imsphone

Bug: 18371919
Change-Id: I04f5d6f88088e5b77d314d4db9271fd49abf5dca
CRs-Fixed: 751797

4 years agoFixing disconnect tone heard when merging 3rd participant into conference.
Tyler Gunn [Mon, 8 Dec 2014 17:56:17 +0000]
Fixing disconnect tone heard when merging 3rd participant into conference.

The issue was when we set the merge peer/merge host.  We were always
setting the merge peer to the BG call.  This is fine when there is no
conference, but when we already have a conference we need to take into
account whether the FG or BG is the conference.

Bug: 18652342
Change-Id: I910a1bee3d3e04477861ed68f2a77a49d0da8471

4 years agoIMS: Reset mHold flag once call is merged
Uma Maheswari Ramalingam [Wed, 3 Dec 2014 22:47:15 +0000]
IMS: Reset mHold flag once call is merged

When Conference call is on HOLD and merged, mHold flag is required
to be reset explicitly as Telephony does not send RESUME request
in this scenario.

Bug: 18625579
Change-Id: Icb0b2b52d7dfe64c456b4e7c1b2e7458640ee1da

4 years agoAdd a global override for VoLTE calls (which leaves user setting in place)
Etan Cohen [Mon, 24 Nov 2014 19:18:33 +0000]
Add a global override for VoLTE calls (which leaves user setting in place)

Bug: 18446228
Change-Id: I77e0047d97be6fb4a81e4e25e0404e2cdcb16644

4 years agoTurning off extended IMS logging (STOPSHIP item).
Tyler Gunn [Tue, 2 Dec 2014 22:16:30 +0000]
Turning off extended IMS logging (STOPSHIP item).

Bug: 18576223
Change-Id: Ia36750b121836e088ac8f75946bbbe90a5dbdf08

4 years agoMerge "Cleanup to remove misused CallGroup concept." into lmp-mr1-dev
Tyler Gunn [Tue, 2 Dec 2014 21:30:25 +0000]
Merge "Cleanup to remove misused CallGroup concept." into lmp-mr1-dev

4 years agoCleanup to remove misused CallGroup concept.
Tyler Gunn [Tue, 2 Dec 2014 17:21:01 +0000]
Cleanup to remove misused CallGroup concept.

The ImsCall code makes extensive use of a "CallGroup".  This CallGroup has
been the source of a number of bugs, since the CallGroup concept does not
match well with how we are performing merges in IMS.

1. Removed Call Group, replacing with a "peer" and "host" references in
the ImsCall.
2. Revisited the merge logic within the context of the peer/host changes.
3. Also, changed log statements to log the ImsCall instead of the session.
This aids debugging by making it more clear what the context of the various
method operations are.

Bug: 18588383

Change-Id: I78613c44bf656c8ebf9e5d6a1145784ce630deef

4 years agoMSIM IMS: convert to phone ID based selection.
Etan Cohen [Sat, 27 Sep 2014 05:35:35 +0000]
MSIM IMS: convert to phone ID based selection.

Bug: 18576822
Change-Id: I7e1c79fff307a5f433529213ee2670ad58080d91

4 years agoTelecom API updates (6/6)
Ihab Awad [Fri, 21 Nov 2014 00:42:30 +0000]
Telecom API updates (6/6)

Bug: 18292176
Change-Id: Ie42fb083cf505ff5bd5c13c6424d2606dec494de

4 years agoMerge "Track state if ImsCall terminated by merge." into lmp-mr1-dev
Andrew Lee [Thu, 20 Nov 2014 01:46:34 +0000]
Merge "Track state if ImsCall terminated by merge." into lmp-mr1-dev

4 years agoTrack state if ImsCall terminated by merge.
Andrew Lee [Tue, 18 Nov 2014 01:03:02 +0000]
Track state if ImsCall terminated by merge.

- Save the state if the call when it is merged and there is a
call group of which it is not the owner. We conclude that this
call was merged into the other call group. If the merge fails,
we set this state back to false.
- Delete updateCallGroup, as it is an unused method.
- When a merge occurs, set a call group on the background call if
the referral call's CallGroup is null. Before, when two IMS
connections were first merged into a conference, the call group
was not set on the background call and so pathway through
notifyConferenceSessionTerminated (which checks for mWasMerged)
never occurred.

Bug: 18291234
Change-Id: Ibb981bdeb8e1f8d0fca6fde3845876aba13e93e3

4 years agoTTY over IMS: Notify the user that TTY mode changed in the far device
Pavel Zhamaitsiak [Sun, 16 Nov 2014 23:29:09 +0000]
TTY over IMS: Notify the user that TTY mode changed in the far device

Bug: 18247323
Change-Id: I9847d947c9d1ee97da0151a7ccfac35aa6a7b9c4

4 years agoAdding toString methods to IMS classes to aid logging.
Tyler Gunn [Tue, 18 Nov 2014 16:40:49 +0000]
Adding toString methods to IMS classes to aid logging.

Bug: 18200934

Change-Id: Iad06de4e5ba1e343749c5b53efac84cf7c20327a

4 years agoPeer capabilities
Shriram Ganesh [Tue, 14 Oct 2014 01:28:34 +0000]
Peer capabilities

Add support for peer capabilities

Change-Id: I3af365caaacb4c3c48f73a54da6e5de6bab321aa

4 years agoIMS Conference Callback Handling
Omkar Kolangade [Wed, 5 Nov 2014 21:56:57 +0000]
IMS Conference Callback Handling

Adding logic to handle intermediate
and conference callbacks while creating
a conference session as well as adding
a call to an existing conference.

Change-Id: Ib53a8f9408f807a6ce1be6005e1fc911b87598d4

4 years agoMerge "Conference event package performance improvement." into lmp-mr1-dev
Tyler Gunn [Fri, 7 Nov 2014 20:43:07 +0000]
Merge "Conference event package performance improvement." into lmp-mr1-dev

4 years agoComplete implementation of ImsCallSession merge()
Anthony Lee [Mon, 3 Nov 2014 23:13:47 +0000]
Complete implementation of ImsCallSession merge()

This CL implements the rest of the logic around the various callbacks
that are issued from the ImsCallSession to implement the merging of
two calls into a conference.

Bug: 18056632
Change-Id: I183a3b2c49d4192e14813333339440d746febdbf

4 years agoConference event package performance improvement.
Tyler Gunn [Tue, 4 Nov 2014 22:51:52 +0000]
Conference event package performance improvement.

- Instead of sending each participant to the telephony conference
controller, all participants are sent at once.  This way the conference
only needs to be recalculated once.

Bug: 18057361
Change-Id: I10ac8efef74db75a90d97577bcc95d55b827b28b

4 years agoImplement plumbing for merge() related callback workflows.
Anthony Lee [Thu, 30 Oct 2014 17:50:10 +0000]
Implement plumbing for merge() related callback workflows.

Added support for a transient ImsCallSession that could eventually
turn into the underlying ImsCall when it turns into a newly minted
conference call. Also handled the series of callSessionMergeXXX()
series of call to properly set up the pluming for IMS conferences.

Also cleaned up/added some logging.

Lastly, the prototype for onCallMerged() was changed because, at this
level, there is no sensible value that we could return even
if we wanted to. No one uses this newCall parameter anyways.

Bug: 18056632
Change-Id: Ifd0e23571b8bc928f2fd365df6c2d5d0f9a65b50

4 years agoCreating connections for conference event package participants.
Tyler Gunn [Thu, 30 Oct 2014 16:39:01 +0000]
Creating connections for conference event package participants.

- Adding code to ImsCall to set the call to multi-party when a conference
event package comes in for test purposes.

Bug: 18057361
Change-Id: I1589cced7a31e09a3442e713eb7a17a96370db9f

4 years agoCommunicating participant changes to conference controller.
Tyler Gunn [Tue, 28 Oct 2014 20:52:11 +0000]
Communicating participant changes to conference controller.

- Add new callback in ImsCall to handle conference event package data
and pass along conference participant state objects to listeners (this
is ultimately bubbled up to the conference controller).

Bug: 18057361
Change-Id: I773972ea66b0c16806efa890ae62578a744caa0e

4 years agoSeparate VoLTE and VT configuration API.
Etan Cohen [Fri, 24 Oct 2014 01:50:35 +0000]
Separate VoLTE and VT configuration API.

Change-Id: I3647599c7f5c5f6f567428b3ce962f7162405cfa

4 years agoAdded null check and synchronization on multi-party API.
Etan Cohen [Fri, 24 Oct 2014 18:10:58 +0000]
Added null check and synchronization on multi-party API.

Change-Id: Ie8ffb647a239b789deeabaf4a0e61418af627f75

4 years agoMerge "Change subId to int from long" into lmp-mr1-dev
Wink Saville [Mon, 27 Oct 2014 17:35:23 +0000]
Merge "Change subId to int from long" into lmp-mr1-dev

4 years agoImplement test IMS conference event package harness.
Tyler Gunn [Mon, 27 Oct 2014 16:15:23 +0000]
Implement test IMS conference event package harness.

- Change some methods on ImsCall so we can externally fake out the
reception of an ImsConferenceState instance.

Bug: 18119796
Change-Id: I0ed4ddce5d9e11e47f26c4931780e65d6a6b337d

4 years agoIMS call merge call-back changes.
Tyler Gunn [Fri, 24 Oct 2014 17:02:19 +0000]
IMS call merge call-back changes.

Renaming callSessionMerged to callSessionMergeStarted.
Adding callSessionMergeComplete callback for when merge successfully

Bug: 18056632
Change-Id: Id560965722f8651646e6ed5ec158747d1cb5e210

4 years agoMerge "Propagating isMultiParty indicator from RIL up into Telephony layer." into...
Tyler Gunn [Fri, 24 Oct 2014 14:41:36 +0000]
Merge "Propagating isMultiParty indicator from RIL up into Telephony layer." into lmp-mr1-dev

4 years agoChange subId to int from long
Wink Saville [Thu, 23 Oct 2014 17:24:46 +0000]
Change subId to int from long

Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474

4 years agoSeparated VoLTE and VT configurations.
Etan Cohen [Wed, 22 Oct 2014 17:51:29 +0000]
Separated VoLTE and VT configurations.

Change-Id: I16ebaf2904a4ba6e710f3047bb1144be252b0920

4 years agoPropagating isMultiParty indicator from RIL up into Telephony layer.
Tyler Gunn [Wed, 22 Oct 2014 18:28:47 +0000]
Propagating isMultiParty indicator from RIL up into Telephony layer.

- Adding isMultiParty() methods to ImsCall and ImsCallSession.

Bug: 18058253
Change-Id: I6c31dc31ca4dc0556c781388059256e525c37528

4 years agoIMS: fix Missed incoming call notification not shown.
Pavel Zhamaitsiak [Mon, 20 Oct 2014 21:24:41 +0000]
IMS: fix Missed incoming call notification not shown.

Bug: 18012896
Change-Id: If4ff70494c4bd14feb06843bd3be6bb12b449ef5

4 years agoIMS: This patch includes:
Libin.Tang@motorola.com [Thu, 7 Aug 2014 20:02:08 +0000]
IMS: This patch includes:
1. change setProvisionedValue/setProvisionedStringValue to
return operation result.
2 . add additional IMS config.

Change-Id: I460e50e1066cca1751d5aa3ec37c976a91a23f94

4 years agoIMS:change enhanced 4g setting to store in setting db.
Libin.Tang@motorola.com [Fri, 10 Oct 2014 20:02:41 +0000]
IMS:change enhanced 4g setting to store in setting db.

Change-Id: Ib31d9e4c0f4e2e0a2bc908f36e85917a28234f1a

4 years agoIMS: Unsol TTY notification support
Shriram Ganesh [Thu, 11 Sep 2014 17:09:36 +0000]
IMS: Unsol TTY notification support

Code changes to support UNSOL_TTY_NOTIFICATION handling.

Change-Id: Ic5f308bb3b05a5f88178e725c1c541fc7ca22291

4 years agoIms: Send user selected TTY mode to lower layers.
Shriram Ganesh [Thu, 14 Aug 2014 08:48:57 +0000]
Ims: Send user selected TTY mode to lower layers.

Irrespective of whether TTY device is connected or not
send TTY mode setting to modem whenever user changes it
from settings.

Change-Id: I1b6cf0a68f02da1faf438d89e70591037b9d9651

5 years agoRenaming Telecomm to Telecom.
Tyler Gunn [Wed, 10 Sep 2014 22:19:12 +0000]
Renaming Telecomm to Telecom.

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

Bug: 17364651
Change-Id: Ibf964b6d88935e7787304954295528f8921c0e21

5 years agoAdded support for VoLTE conference hold and resume.
Etan Cohen [Thu, 11 Sep 2014 00:18:12 +0000]
Added support for VoLTE conference hold and resume.

Bug: 17368957
Change-Id: I0aa1034f24c4860dbf5a2baafc340b89cc41f03a

5 years agoUse device and carrier configuration to determine whether phone supports VoLTE.
Etan Cohen [Fri, 5 Sep 2014 05:34:41 +0000]
Use device and carrier configuration to determine whether phone supports VoLTE.

Additionally, provide a debug override system property.

Bug: 17365969
Change-Id: I07ebaeddc3f37b41b819d43be221f70f6363000c

5 years agoPick the correct callsession for conference calls
Uma Maheswari Ramalingam [Fri, 29 Aug 2014 21:13:17 +0000]
Pick the correct callsession for conference calls

Call requests for confernce calls have to be
triggered on owner call session.

Handle conference call hangup scenario to close all
the connections properly

Bug: 17321414
Change-Id: Ice04b0574c001969b9c12140790a7d1c0aa628a8

5 years agoIMS: modify sendDtmf to pass char input as the vendor implementation does
Libin.Tang@motorola.com [Sat, 23 Aug 2014 23:08:31 +0000]
IMS: modify sendDtmf to pass char input as the vendor implementation does
the conversion from char to int.

Bug: 17282921
Change-Id: I738e6da09df7b54d1aaef2e644e1dcb63d67dd7b

5 years agoIMS: added implementation for registrationFeatureCapabilityChanged.
Libin.Tang@motorola.com [Tue, 19 Aug 2014 19:20:01 +0000]
IMS: added implementation for registrationFeatureCapabilityChanged.

Bug: 17182366
Change-Id: I78d89dd6ed1a69a9f1d1ddde929a2a8e25751e92

5 years agoAdded utility functions to obtain VoLTE/VT platform & user configuration.
Etan Cohen [Tue, 19 Aug 2014 22:55:08 +0000]
Added utility functions to obtain VoLTE/VT platform & user configuration.

Bug: 17134661
Change-Id: Icbdc86c05069aa883582678e1be0f1548826d948

5 years agoImsException: include code in exception description
Etan Cohen [Thu, 14 Aug 2014 05:16:38 +0000]
ImsException: include code in exception description

Change-Id: Iba108c437df7af6e828145de553e191e8ba039cf

5 years agoDefined constant for default initial IMS state: set to false
Etan Cohen [Thu, 14 Aug 2014 18:11:19 +0000]
Defined constant for default initial IMS state: set to false

False default is a temporary setting until VZN provisioning is added.

Change-Id: Idd0e5945b4caad862c6750cbaf127a493efe6d90

5 years agoFinal structural tweaks to Telecomm API (7/8)
Ihab Awad [Tue, 12 Aug 2014 23:00:06 +0000]
Final structural tweaks to Telecomm API (7/8)

Bug: 16416927
Bug: 16494880
Change-Id: I572145da40cda2bd9cc20d5277491c99cc66bb95

5 years agoIMS:fix wrong logging msg.
Libin.Tang@motorola.com [Wed, 13 Aug 2014 13:44:33 +0000]
IMS:fix wrong logging msg.

Change-Id: I674dacb3365421858791949f50c0904846725119

5 years agoMove IMS configuration constants from packages/apps/Settings to common location
Etan Cohen [Mon, 11 Aug 2014 21:32:57 +0000]
Move IMS configuration constants from packages/apps/Settings to common location

Constants for Enhanced 4G LTE Mode needed in packages/apps/Settings as well as
in other shared code (e.g. GSMPhone, CDMAPhone). Moved to shared (common)

Change-Id: I0a718218f2e75754346e1caafaa4250000706ad6

5 years agoAdd function to enable/disable "advanced 4G features"
Etan Cohen [Fri, 8 Aug 2014 01:40:31 +0000]
Add function to enable/disable "advanced 4G features"

Perform needed configuration settings and IMS turn on/off.

Some carriers may allow disabling of specific IMS features (e.g. VoLTE)
but require that the IMS service itself is never "turned off". Add code
to use configuration bool (which can be overlayed) to control actual
turnOffIms() function execution.

Change-Id: I3cc0fef1426a31924ff5d5cd4516972bcfae040d

5 years agoImplement Ims's VideoCallProvider, including a wrapper.
Andrew Lee [Fri, 8 Aug 2014 08:42:33 +0000]
Implement Ims's VideoCallProvider, including a wrapper.

+ Implements ConnectionService.VideoCallProvider as
ImsVideoCallProviderWrapper. ConnectionService treats this as
the concrete implementation of VideoCallProvider. In detail though,
it is a wrapper around ImsVideoCallProvider which should be extended
in ImsService and implements the actual video call provider
functionality. This wrapper intermediates communication for commands
sent through Telephony and carried out in ImsService. It also
implements the callback class whose binder is provided to the
+ ImsVideoCallProvider is an abstract class which defines
functionality which satisfies ConnectionService.VideoCallProvider.
We don't directly extend VideoCallProvider because of the
inter-process communication necessary across Telephony and
ImsService. This class provides a binder which is passed to the
+ Implement getVideoCallProvider on ImsCallSession.

Bug: 16886403
Change-Id: I9b995baa74149b3c046789f797ab0ff49ae7165b

5 years agoIMS Framework Changes to Support Call Barring & String Error Codes
Shriram Ganesh [Wed, 9 Jul 2014 01:48:35 +0000]
IMS Framework Changes to Support Call Barring & String Error Codes

ImsUt and ImsUtInterface are being modified for
supporting call barring and propagation of string
error codes from the Ims Service layer.

Change-Id: I66fdbbd175c13261c283627999f37071259f7a6a

5 years agoDefault implementations for IMS session handover callbacks
Etan Cohen [Mon, 4 Aug 2014 23:13:46 +0000]
Default implementations for IMS session handover callbacks

Change-Id: I863fb0b268315821fa1a0a3246ca60323e9f7585