]> nv-tegra.nvidia Code Review - android/platform/frameworks/opt/net/ims.git/log
android/platform/frameworks/opt/net/ims.git
8 years agomerge in mnc-release history after reset to mnc-dev rel-24-foster-r2-partner rel-24-foster-r7-partner rel-24-sb-r1-1-partner rel-24-sb-r1-2-partner rel-24-sb-r1-partner
The Android Automerger [Thu, 6 Aug 2015 08:03:27 +0000 (01:03 -0700)]
merge in mnc-release history after reset to mnc-dev

8 years agoFix unncessary IMS re-registration with network
Omkar Kolangade [Fri, 24 Oct 2014 18:10:52 +0000 (11:10 -0700)]
Fix unncessary IMS re-registration with network

When entire IMS stack turn off is going to follow the IMS
re-registration request for a specific service, there is an
unncessary overhead with extra signalling during the process of
re-registration. Also this delays the IMS turn off process.
Fixed by not performing a setFeatureValue operation for a service
turn off when the configuration allows for entire IMS stack to
be turned off.

Add Exception Handling To setAdvanced4GMode API

Bug: 22717994
Bug: 21800429
Change-Id: Ic5d7c54802818de5c8e241cacce62feb02629743

8 years agomerge in mnc-release history after reset to mnc-dev
The Android Automerger [Tue, 28 Jul 2015 08:06:09 +0000 (01:06 -0700)]
merge in mnc-release history after reset to mnc-dev

8 years agoPrevent WFC Settings changes from impacting VoLTE Settings
Nathan Harold [Fri, 24 Jul 2015 22:02:34 +0000 (15:02 -0700)]
Prevent WFC Settings changes from impacting VoLTE Settings

Bug: 22609300
Change-Id: I36fb3d1254c9168eb5978de1e39e6541d9c37df3

8 years agomerge in mnc-release history after reset to mnc-dev
The Android Automerger [Sat, 25 Jul 2015 08:06:06 +0000 (01:06 -0700)]
merge in mnc-release history after reset to mnc-dev

8 years agoMerge "Handle hangup for 4 way conference scenario" into mnc-dev
Anthony Lee [Thu, 23 Jul 2015 19:18:17 +0000 (19:18 +0000)]
Merge "Handle hangup for 4 way conference scenario" into mnc-dev

8 years agoMerge "Support termination of a call while merge is in process." into mnc-dev
Tyler Gunn [Thu, 23 Jul 2015 17:49:26 +0000 (17:49 +0000)]
Merge "Support termination of a call while merge is in process." into mnc-dev

8 years agoSupport termination of a call while merge is in process.
Tyler Gunn [Thu, 23 Jul 2015 16:28:58 +0000 (09:28 -0700)]
Support termination of a call while merge is in process.

Added mTerminationRequestPending flag to track when a framework or user
initiated call termination is pending.  When we get a
processCallTerminated from the RIL, we can use this to override the fact
we normally bury the termination during a merge.
Note: The code change in processCallTerminated looks a lot more involved
but really just involves wrapping a try/finally block around
the main work of the method and adding the finally to cleanup state.

Bug: 22184133
Change-Id: Ie007e8f294e36fbc0eb93492089fd5521ea4ff05

8 years agoMerge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev
Junda Liu [Thu, 23 Jul 2015 16:20:37 +0000 (16:20 +0000)]
Merge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev

8 years agoRemove volte_feature_disabled as carrier config handled it.
Junda Liu [Wed, 22 Jul 2015 19:23:46 +0000 (12:23 -0700)]
Remove volte_feature_disabled as carrier config handled it.

Bug: b/22602876
Change-Id: I8941162f6ece7ffa840401b7b55a3cd770c3b959

8 years agoHandle hangup for 4 way conference scenario
Anju Mathapati [Fri, 17 Jul 2015 21:54:10 +0000 (14:54 -0700)]
Handle hangup for 4 way conference scenario

Pass the session only during 3-way conference scenario.
For all other cases pass it as null, so as to avoid the listenerproxy
getting over-written

Bug: 22173672
Change-Id: I10a223aaabe731a3a7d3c24da123dae660ed5bb3

8 years agomerge in mnc-release history after reset to mnc-dev
The Android Automerger [Thu, 16 Jul 2015 08:03:48 +0000 (01:03 -0700)]
merge in mnc-release history after reset to mnc-dev

8 years agoAdd method and perform cleanups in ImsCall.
Tyler Gunn [Wed, 1 Jul 2015 23:39:43 +0000 (16:39 -0700)]
Add method and perform cleanups in ImsCall.

- Added a couple null-checks for accesses to mConferenceParticipants.
This issue was introduced in b/21376607; I noticed some NPE logspam related
to it.
- Added a new isPendingHold() method which can be used to tell if a call
is pending a hold (used in ImsPhoneConnection later).

Bug: 22173672
Change-Id: I4399e266743955facabc9de010b08764c73ca15f

8 years agomerge in mnc-release history after reset to mnc-dev
The Android Automerger [Wed, 8 Jul 2015 08:04:43 +0000 (01:04 -0700)]
merge in mnc-release history after reset to mnc-dev

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

Will be added to server side code.

Bug: 17361897
Change-Id: I417a050135ead6023f996a8ea84495e1e9355a97

8 years agoCheck for null config from CarrierConfigManager.
Jonathan Basseri [Wed, 1 Jul 2015 22:00:38 +0000 (15:00 -0700)]
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

8 years agoCheck for null config from CarrierConfigManager.
Jonathan Basseri [Wed, 1 Jul 2015 22:00:38 +0000 (15:00 -0700)]
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

8 years agoUpdate ImsManager to use carrier configs.
Junda Liu [Tue, 23 Jun 2015 18:16:26 +0000 (11:16 -0700)]
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

8 years agoIMS: Conference changes
Uma Maheswari Ramalingam [Thu, 7 May 2015 06:08:17 +0000 (23:08 -0700)]
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: 2022451620232100
Change-Id: I69a006cdedf705762d8494d0da6796884c8631a2

8 years agoIMS: Ims Conference fixes
Uma Maheswari Ramalingam [Wed, 20 May 2015 21:26:42 +0000 (14:26 -0700)]
IMS: Ims Conference fixes

Conference fixes

- Don't reset mUpdateRequest flag upon
receiving call update notification,
oncallSessionUpdated().
- Reset mHold variable when hold request failed
- Update Participants information after
processmergecomplete
- 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

8 years agoMore video related API fixes
Yorke Lee [Tue, 12 May 2015 23:24:05 +0000 (16:24 -0700)]
More video related API fixes

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

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

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

Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79

8 years agoFixes for APi review
Yorke Lee [Tue, 12 May 2015 21:18:33 +0000 (14:18 -0700)]
Fixes for APi review

Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final

Bug: 21040387
Bug: 21066505
Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0

8 years agoChange sendSessionModifyRequest VideoProvider API signature.
Tyler Gunn [Wed, 6 May 2015 15:51:51 +0000 (08:51 -0700)]
Change sendSessionModifyRequest VideoProvider API signature.

Bug: 20704229
Change-Id: I7650b6ae21532b10f901449f702f3a4b59477696

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

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

8 years agoMerge commit '7df3df8' into merge2
Etan Cohen [Fri, 24 Apr 2015 21:07:51 +0000 (14:07 -0700)]
Merge commit '7df3df8' into merge2

8 years agoMerge commit 'e691706' into merge2
Etan Cohen [Fri, 24 Apr 2015 21:07:44 +0000 (14:07 -0700)]
Merge commit 'e691706' into merge2

9 years agoDO NOT MERGE Remove connection substate
Jay Shrauner [Thu, 16 Apr 2015 20:02:05 +0000 (13:02 -0700)]
DO NOT MERGE Remove connection substate

Bug:20300433
Change-Id: Ieb83fb0b71eaf948c19241ec59411b3d434fae33

9 years agoRemove connection substate
Jay Shrauner [Thu, 16 Apr 2015 20:02:05 +0000 (13:02 -0700)]
Remove connection substate

Bug:20300433
Change-Id: Ieb83fb0b71eaf948c19241ec59411b3d434fae33

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

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

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

* commit '691a1cc831e1bade18cb39f917f9aebbb5939ab8':
  Fix compilation error.

9 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 (18:19 +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.

9 years agoFixing use of subId where phoneId was expected.
Jonathan Basseri [Wed, 8 Apr 2015 02:54:24 +0000 (19:54 -0700)]
Fixing use of subId where phoneId was expected.

Change-Id: I96eda538d40dc863823d3fae4782e10da345899e

9 years agoMerge commit '5aec2e957365f20b2e75d3b8c7034e3289729b81' into merge_work
Prerepa Viswanadham [Fri, 10 Apr 2015 18:07:51 +0000 (11:07 -0700)]
Merge commit '5aec2e957365f20b2e75d3b8c7034e3289729b81' into merge_work

9 years agoFix compilation error.
Pavel Zhamaitsiak [Thu, 9 Apr 2015 17:14:55 +0000 (10:14 -0700)]
Fix compilation error.

Change-Id: Ia2c46f1fd9e2a34481690687745d88fb1b0a861f

9 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 (18:15 +0000)]
Merge "Prevent merging conference calls hosted on peer device." into lmp-mr1-wfc-dev

9 years agoIMS-VT: Fix propagation of device orientation.
Rekha Kumar [Tue, 24 Mar 2015 18:00:34 +0000 (11:00 -0700)]
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

9 years agoPrevent merging conference calls hosted on peer device.
Tyler Gunn [Wed, 1 Apr 2015 16:40:02 +0000 (09:40 -0700)]
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

9 years agoRemove an extraneous check in callSessionMergeFailed().
Anthony Lee [Thu, 2 Apr 2015 16:40:01 +0000 (09:40 -0700)]
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

9 years agoClean up logging for ImsCall to make it easier to debug bugreports.
Anthony Lee [Wed, 18 Mar 2015 22:04:18 +0000 (15:04 -0700)]
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

9 years agoMerge commit '48738d5f4d5a7dc3611fe9a700e9d5add146b461' into merge
Etan Cohen [Tue, 31 Mar 2015 01:05:09 +0000 (18:05 -0700)]
Merge commit '48738d5f4d5a7dc3611fe9a700e9d5add146b461' into merge

9 years agoIMS: UT ServiceClass
Omkar Kolangade [Sat, 31 Jan 2015 06:01:00 +0000 (11:31 +0530)]
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

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

9 years agoForce IMS to register over LTE when turning off WFC
Pavel Zhamaitsiak [Mon, 16 Mar 2015 22:30:53 +0000 (15:30 -0700)]
Force IMS to register over LTE when turning off WFC

Bug: 19697174
Change-Id: I4b1538052f4bc2bf5d7c55f78467c6c52b49efd8

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

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

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

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

9 years agoDecouple WFC from Enhanced 4G LTE in settings
Pavel Zhamaitsiak [Tue, 24 Feb 2015 18:20:27 +0000 (10:20 -0800)]
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

9 years agoWFC configuration: add API to get and set user settings.
Etan Cohen [Tue, 23 Dec 2014 23:02:29 +0000 (15:02 -0800)]
WFC configuration: add API to get and set user settings.

Change-Id: Ia6ab8e5941b707d77321059450e6235f27ecbf38

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

Change-Id: I2b57fbcf73110b453307a936dd3c8421c51d5030

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

Bug 19682545
Change-Id: Ia3fbcc3aba38cc6c5bae180b512a16f02f48f457

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

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

9 years agoam f4311129: Add interface to determine whether the IMS service is available
Etan Cohen [Tue, 3 Mar 2015 17:54:29 +0000 (17:54 +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

9 years agoDecouple WFC from Enhanced 4G LTE in settings
Pavel Zhamaitsiak [Tue, 24 Feb 2015 18:20:27 +0000 (10:20 -0800)]
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

9 years agoAdd interface to determine whether the IMS service is available
Etan Cohen [Fri, 27 Feb 2015 01:47:13 +0000 (17:47 -0800)]
Add interface to determine whether the IMS service is available

Bug: 19447972
Change-Id: Ida074dd6840c1c7682bdca32d858aa28db2dc71d

9 years agoWFC configuration: add API to get and set user settings.
Etan Cohen [Tue, 23 Dec 2014 23:02:29 +0000 (15:02 -0800)]
WFC configuration: add API to get and set user settings.

Change-Id: Ia6ab8e5941b707d77321059450e6235f27ecbf38

9 years agoCleanup of conference code including logging, flags and some workflow.
Anthony Lee [Thu, 12 Feb 2015 01:04:35 +0000 (17:04 -0800)]
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

9 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 (22:12 -0600)]
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

9 years agoFixing conference merge where only one party is added to conference.
Tyler Gunn [Fri, 30 Jan 2015 23:21:11 +0000 (15:21 -0800)]
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

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

Bug: 18576107
Change-Id: I79d0c44a579923cc36fecd2798754cc8a72839c6

9 years agoDisable VoLTE if TTY is on and TTY is not supported over VoLTE
Etan Cohen [Mon, 15 Dec 2014 18:10:14 +0000 (10:10 -0800)]
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

9 years agoIMS: Notify about change of TTY mode of other call participants
Pavel Zhamaitsiak [Thu, 11 Dec 2014 01:31:33 +0000 (17:31 -0800)]
IMS: Notify about change of TTY mode of other call participants

Pass notification to Phone app

Bug: 18247323
Change-Id: I428f8df60ebada280c6aa16debf1ff44246533bd

9 years agoPass Message through sendDtmf.
Andrew Lee [Tue, 9 Dec 2014 22:51:53 +0000 (14:51 -0800)]
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

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

Bug: 18576107
Change-Id: Id16ea5ed3ce0c714f658cc86b66f487199d999a7

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

Bug: 18576107
Change-Id: I84c66089291ffb4051ed7ef70d4a2bcf4a24c3d7

9 years agoIMS: start and stop dtmf tones.
Uma Maheswari Ramalingam [Sat, 6 Dec 2014 00:40:46 +0000 (16:40 -0800)]
IMS: start and stop dtmf tones.

Support of start and stop dtmf tones in Imsphone

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

9 years agoFixing disconnect tone heard when merging 3rd participant into conference.
Tyler Gunn [Mon, 8 Dec 2014 17:56:17 +0000 (09:56 -0800)]
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

9 years agoIMS: Reset mHold flag once call is merged
Uma Maheswari Ramalingam [Wed, 3 Dec 2014 22:47:15 +0000 (14:47 -0800)]
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

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

Bug: 18446228
Change-Id: I77e0047d97be6fb4a81e4e25e0404e2cdcb16644

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

Bug: 18576223
Change-Id: Ia36750b121836e088ac8f75946bbbe90a5dbdf08

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

9 years agoCleanup to remove misused CallGroup concept.
Tyler Gunn [Tue, 2 Dec 2014 17:21:01 +0000 (09:21 -0800)]
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

9 years agoMSIM IMS: convert to phone ID based selection.
Etan Cohen [Sat, 27 Sep 2014 05:35:35 +0000 (22:35 -0700)]
MSIM IMS: convert to phone ID based selection.

Bug: 18576822
Change-Id: I7e1c79fff307a5f433529213ee2670ad58080d91

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

Bug: 18292176
Change-Id: Ie42fb083cf505ff5bd5c13c6424d2606dec494de

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

9 years agoTrack state if ImsCall terminated by merge.
Andrew Lee [Tue, 18 Nov 2014 01:03:02 +0000 (17:03 -0800)]
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

9 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 (15:29 -0800)]
TTY over IMS: Notify the user that TTY mode changed in the far device

Bug: 18247323
Change-Id: I9847d947c9d1ee97da0151a7ccfac35aa6a7b9c4

9 years agoAdding toString methods to IMS classes to aid logging.
Tyler Gunn [Tue, 18 Nov 2014 16:40:49 +0000 (08:40 -0800)]
Adding toString methods to IMS classes to aid logging.

Bug: 18200934

Change-Id: Iad06de4e5ba1e343749c5b53efac84cf7c20327a

9 years agoPeer capabilities
Shriram Ganesh [Tue, 14 Oct 2014 01:28:34 +0000 (18:28 -0700)]
Peer capabilities

Add support for peer capabilities

Change-Id: I3af365caaacb4c3c48f73a54da6e5de6bab321aa

9 years agoIMS Conference Callback Handling
Omkar Kolangade [Wed, 5 Nov 2014 21:56:57 +0000 (13:56 -0800)]
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

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

9 years agoComplete implementation of ImsCallSession merge()
Anthony Lee [Mon, 3 Nov 2014 23:13:47 +0000 (15:13 -0800)]
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

9 years agoConference event package performance improvement.
Tyler Gunn [Tue, 4 Nov 2014 22:51:52 +0000 (14:51 -0800)]
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

9 years agoImplement plumbing for merge() related callback workflows.
Anthony Lee [Thu, 30 Oct 2014 17:50:10 +0000 (10:50 -0700)]
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

9 years agoCreating connections for conference event package participants.
Tyler Gunn [Thu, 30 Oct 2014 16:39:01 +0000 (09:39 -0700)]
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

9 years agoCommunicating participant changes to conference controller.
Tyler Gunn [Tue, 28 Oct 2014 20:52:11 +0000 (13:52 -0700)]
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

9 years agoSeparate VoLTE and VT configuration API.
Etan Cohen [Fri, 24 Oct 2014 01:50:35 +0000 (18:50 -0700)]
Separate VoLTE and VT configuration API.

Change-Id: I3647599c7f5c5f6f567428b3ce962f7162405cfa

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

Change-Id: Ie8ffb647a239b789deeabaf4a0e61418af627f75

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

9 years agoImplement test IMS conference event package harness.
Tyler Gunn [Mon, 27 Oct 2014 16:15:23 +0000 (09:15 -0700)]
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

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

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

Bug: 18056632
Change-Id: Id560965722f8651646e6ed5ec158747d1cb5e210

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

9 years agoChange subId to int from long
Wink Saville [Thu, 23 Oct 2014 17:24:46 +0000 (10:24 -0700)]
Change subId to int from long

Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474

9 years agoSeparated VoLTE and VT configurations.
Etan Cohen [Wed, 22 Oct 2014 17:51:29 +0000 (10:51 -0700)]
Separated VoLTE and VT configurations.

Change-Id: I16ebaf2904a4ba6e710f3047bb1144be252b0920

9 years agoPropagating isMultiParty indicator from RIL up into Telephony layer.
Tyler Gunn [Wed, 22 Oct 2014 18:28:47 +0000 (11:28 -0700)]
Propagating isMultiParty indicator from RIL up into Telephony layer.

- Adding isMultiParty() methods to ImsCall and ImsCallSession.

Bug: 18058253
Change-Id: I6c31dc31ca4dc0556c781388059256e525c37528

9 years agoIMS: fix Missed incoming call notification not shown.
Pavel Zhamaitsiak [Mon, 20 Oct 2014 21:24:41 +0000 (14:24 -0700)]
IMS: fix Missed incoming call notification not shown.

Bug: 18012896
Change-Id: If4ff70494c4bd14feb06843bd3be6bb12b449ef5

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

Change-Id: I460e50e1066cca1751d5aa3ec37c976a91a23f94

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

Change-Id: Ib31d9e4c0f4e2e0a2bc908f36e85917a28234f1a

9 years agoIMS: Unsol TTY notification support
Shriram Ganesh [Thu, 11 Sep 2014 17:09:36 +0000 (22:39 +0530)]
IMS: Unsol TTY notification support

Code changes to support UNSOL_TTY_NOTIFICATION handling.

Change-Id: Ic5f308bb3b05a5f88178e725c1c541fc7ca22291

9 years agoIms: Send user selected TTY mode to lower layers.
Shriram Ganesh [Thu, 14 Aug 2014 08:48:57 +0000 (14:18 +0530)]
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

9 years agoRenaming Telecomm to Telecom.
Tyler Gunn [Wed, 10 Sep 2014 22:19:12 +0000 (15:19 -0700)]
Renaming Telecomm to Telecom.

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

Bug: 17364651
Change-Id: Ibf964b6d88935e7787304954295528f8921c0e21