4 years agoMerge changes from topic 'merge-dr1-063015' into mnc-dr-dev
Etan Cohen [Mon, 6 Jul 2015 22:09:51 +0000]
Merge changes from topic 'merge-dr1-063015' into mnc-dr-dev

* changes:
  Stub base class implementation for some IMS interfaces
  IMS: Add an extra for ims phantom MO call.
  MWI,phantom call,Suppl services

4 years agoam 2acea6f9: Check for null config from CarrierConfigManager.
Jonathan Basseri [Mon, 6 Jul 2015 18:47:08 +0000]
am 2acea6f9: Check for null config from CarrierConfigManager.

* commit '2acea6f98afe057fa1a3faf744b240563cdf6ee2':
  Check for null config from CarrierConfigManager.

4 years agoStub base class implementation for some IMS interfaces
Etan Cohen [Wed, 6 Aug 2014 00:09:28 +0000]
Stub base class implementation for some IMS interfaces

OEM implementations should sub-class ImsServiceBase and ImsCallSessionListenerBase.
Allows changing the IImsService and IImsCallSessionListener interfaces without breaking
legacy implementations.

Note: main purpose is to allow staged implementations across different
architectures - not to deploy default/stubbed service implementations.

Change-Id: I5874854186456f5853627fbbf3d3b48a71636a72

4 years agoIMS: Add an extra for ims phantom MO call.
Anju Mathapati [Tue, 16 Jun 2015 23:33:16 +0000]
IMS: Add an extra for ims phantom MO call.

A boolean parameter EXTRA_IS_UNKNOWN_CALL is added to denote
whether the call provided in ACTION_IMS_INCOMING_CALL is an
unknown dialing call

Change-Id: I4b9c2ed49995b29834560bbfbedd99b5f1f85eb7
Bug: 21877055

4 years agoMWI,phantom call,Suppl services
Shriram Ganesh [Sun, 31 May 2015 17:06:15 +0000]
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
3. IMS: CallForward Unconditional Timer
- Add new API for callforward
   unconditional timer in aidl file.

4. IMS : Incoming Call Barring
- Added new field to display ICB
   anonymous number.
- Modified existing API to support
   request like registration,activation,
   deactivation,erasure,interogation.

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

6.  Don't reset mUpdateRequest flag upon
receiving call update notification,
oncallSessionUpdated().

7. Reset mHold variable when hold request failed
reset mHold variable so that ImsCall's state corresponds to the
actual state of the call

Change-Id: I7a0293d21fca4bf40dbe764c5d9d9dbb8665d55d

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 agoam e7663c09: Update ImsManager to use carrier configs.
Junda Liu [Thu, 25 Jun 2015 20:17:40 +0000]
am e7663c09: Update ImsManager to use carrier configs.

* commit 'e7663c09acfdfa34d423be3c1ac7fecf2eb5e3e1':
  Update ImsManager to use carrier configs.

4 years agoam e7663c09: Update ImsManager to use carrier configs.
Junda Liu [Thu, 25 Jun 2015 19:16:46 +0000]
am e7663c09: Update ImsManager to use carrier configs.

* commit 'e7663c09acfdfa34d423be3c1ac7fecf2eb5e3e1':
  Update ImsManager to use carrier configs.

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 agoStub base class implementation for some IMS interfaces
Etan Cohen [Wed, 6 Aug 2014 00:09:28 +0000]
Stub base class implementation for some IMS interfaces

OEM implementations should sub-class ImsServiceBase and ImsCallSessionListenerBase.
Allows changing the IImsService and IImsCallSessionListener interfaces without breaking
legacy implementations.

Note: main purpose is to allow staged implementations across different
architectures - not to deploy default/stubbed service implementations.

Change-Id: I5874854186456f5853627fbbf3d3b48a71636a72

4 years agoIMS: Add an extra for ims phantom MO call.
Anju Mathapati [Tue, 16 Jun 2015 23:33:16 +0000]
IMS: Add an extra for ims phantom MO call.

A boolean parameter EXTRA_IS_UNKNOWN_CALL is added to denote
whether the call provided in ACTION_IMS_INCOMING_CALL is an
unknown dialing call

Change-Id: I4b9c2ed49995b29834560bbfbedd99b5f1f85eb7
Bug: 21877055

4 years agoIMS RAT Reporting in Registration Callbacks
Omkar Kolangade [Tue, 5 May 2015 00:55:13 +0000]
IMS RAT Reporting in Registration Callbacks

Modifying the registrationProgressing and
registrationConnected callbacks to have a parameter
for IMS Radio Access Technology information.
Through this, frameworks is aware of the IMS
RAT - LTE or WiFi - and can use the information
to display appropriate UI notifications.

Bug: 21902225
Change-Id: I18f77f502ffae152cca1f53b31698358f9a869b9

4 years agoAdd Exception Handling To setAdvanced4GMode API
Omkar Kolangade [Fri, 24 Oct 2014 18:10:52 +0000]
Add Exception Handling To setAdvanced4GMode API

Added a try-catch block to handle ImsException.

Bug: 21800429
Change-Id: I335e2db69348cd617100b65184ee1b970e7bc11c

4 years agoam 95be7c68: IMS: Conference changes
Uma Maheswari Ramalingam [Thu, 11 Jun 2015 17:08:05 +0000]
am 95be7c68: IMS: Conference changes

* commit '95be7c68495a3a22c45b8d7867bf5c0246513adb':
  IMS: Conference changes

4 years agoam 95be7c68: IMS: Conference changes
Uma Maheswari Ramalingam [Thu, 11 Jun 2015 15:57:30 +0000]
am 95be7c68: IMS: Conference changes

* commit '95be7c68495a3a22c45b8d7867bf5c0246513adb':
  IMS: Conference changes

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 agoMWI,phantom call,Suppl services
Shriram Ganesh [Sun, 31 May 2015 17:06:15 +0000]
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
3. IMS: CallForward Unconditional Timer
- Add new API for callforward
   unconditional timer in aidl file.

4. IMS : Incoming Call Barring
- Added new field to display ICB
   anonymous number.
- Modified existing API to support
   request like registration,activation,
   deactivation,erasure,interogation.

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

6.  Don't reset mUpdateRequest flag upon
receiving call update notification,
oncallSessionUpdated().

7. Reset mHold variable when hold request failed
reset mHold variable so that ImsCall's state corresponds to the
actual state of the call

Change-Id: I7a0293d21fca4bf40dbe764c5d9d9dbb8665d55d

4 years agoam a1ed7b09: IMS: Ims Conference fixes
Uma Maheswari Ramalingam [Tue, 2 Jun 2015 19:24:09 +0000]
am a1ed7b09: IMS: Ims Conference fixes

* commit 'a1ed7b0957567367d0e782ee6ce1db265d028ece':
  IMS: Ims Conference fixes

4 years agoam a1ed7b09: IMS: Ims Conference fixes
Uma Maheswari Ramalingam [Mon, 1 Jun 2015 22:46:51 +0000]
am a1ed7b09: IMS: Ims Conference fixes

* commit 'a1ed7b0957567367d0e782ee6ce1db265d028ece':
  IMS: Ims Conference fixes

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

4 years agoMerge commit 'acae2e4' into merge
Etan Cohen [Tue, 26 May 2015 16:19:57 +0000]
Merge commit 'acae2e4' into merge

4 years agoMerge commit '6f3737f' into merge
Etan Cohen [Tue, 26 May 2015 16:19:50 +0000]
Merge commit '6f3737f' into merge

4 years agoMerge commit '48b9589' into merge
Etan Cohen [Tue, 26 May 2015 16:18:54 +0000]
Merge commit '48b9589' into merge

4 years agoMerge "Revert "Merge commit '6f3737f' into merge""
Etan Cohen [Fri, 22 May 2015 05:09:39 +0000]
Merge "Revert "Merge commit '6f3737f' into merge""

4 years agoMerge "Revert "Merge commit '48b9589' into merge""
Etan Cohen [Fri, 22 May 2015 05:09:39 +0000]
Merge "Revert "Merge commit '48b9589' into merge""

4 years agoRevert "Merge commit '6f3737f' into merge"
Etan Cohen [Fri, 22 May 2015 05:09:09 +0000]
Revert "Merge commit '6f3737f' into merge"

This reverts commit 5f4406f0bb8bab1fcd33b52a08fb79ed8ba7a742.

Change-Id: I85afceb67112a772cedf4a902714d28c81900312

4 years agoRevert "Merge commit 'acae2e4' into merge"
Etan Cohen [Fri, 22 May 2015 05:07:46 +0000]
Revert "Merge commit 'acae2e4' into merge"

This reverts commit 8b99d7d5c174cbd2c4f6fef4f31dcd70564abbb8.

Change-Id: I0dd2b7f3640e9aa2151e2d26af13be2376394294

4 years agoRevert "Merge commit '48b9589' into merge"
Etan Cohen [Fri, 22 May 2015 05:07:19 +0000]
Revert "Merge commit '48b9589' into merge"

This reverts commit 2fa9007c902224e08f1cf8377c6469f0ea2222b2.

Change-Id: I4f05872eb477b5b6be819f90869a40a20f328570

4 years agoMerge commit 'acae2e4' into merge
Etan Cohen [Fri, 22 May 2015 00:29:45 +0000]
Merge commit 'acae2e4' into merge

4 years agoMerge commit '6f3737f' into merge
Etan Cohen [Fri, 22 May 2015 00:29:39 +0000]
Merge commit '6f3737f' into merge

4 years agoMerge commit '48b9589' into merge
Etan Cohen [Fri, 22 May 2015 00:29:33 +0000]
Merge commit '48b9589' into merge

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

Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final

Bug: 21040387
Bug: 21066505
Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0

4 years agoDO NOT MERGE More video related API fixes
Yorke Lee [Tue, 12 May 2015 23:24:05 +0000]
DO NOT MERGE 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

4 years agoMore video related API fixes
Yorke Lee [Tue, 12 May 2015 23:24:05 +0000]
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

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 agoAdded API to configure VT over IMS.
Etan Cohen [Tue, 5 May 2015 01:02:09 +0000]
Added API to configure VT over IMS.

Bug: 20750301
Change-Id: Iecad593e8f7aa5a76a37ff63e9ff9b9536827a5c

4 years agoChange sendSessionModifyRequest VideoProvider API signature.
Tyler Gunn [Thu, 30 Apr 2015 22:32:17 +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

Bug:20300433
Change-Id: Ieb83fb0b71eaf948c19241ec59411b3d434fae33

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

Bug:20300433
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
 messages.
- 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
 messages.
- 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