2 years agoExpose ImsManager#setWfcNonPersistentForSlot
Meng Wang [Mon, 27 Mar 2017 17:47:45 +0000]
Expose ImsManager#setWfcNonPersistentForSlot

This API allows non-persistently update WFC on/off state and WFC mode
at the same time to avoid racing condition.

Bug: 32159037
Test: make
Change-Id: I6064eb42941a1f2cb3941f3be52dcdc0e91b78d0
(cherry-pick of https://android-review.googlesource.com/#/c/358121/)

2 years agoSupport MSIM devices in ImsManager am: 16417b40a0 am: b9b48d2323
Brad Ebinger [Thu, 16 Mar 2017 23:57:25 +0000]
Support MSIM devices in ImsManager am: 16417b40a0 am: b9b48d2323
am: a109a8ab41

Change-Id: Ia69a6467249bdb86b07ce7994cd3905fe1e2d90c

2 years agoSupport MSIM devices in ImsManager am: 16417b40a0
Brad Ebinger [Thu, 16 Mar 2017 23:44:13 +0000]
Support MSIM devices in ImsManager am: 16417b40a0
am: b9b48d2323

Change-Id: Ia73a845b7ac15df22cd8d242ff39782e6bbdfd8e

2 years agoSupport MSIM devices in ImsManager
Brad Ebinger [Thu, 16 Mar 2017 23:36:14 +0000]
Support MSIM devices in ImsManager
am: 16417b40a0

Change-Id: I85dae88d8b61a53d746c8f49091311b1bcd34e80

2 years agoAdded configuration for VT downgrade/tear down when data disabled am: 2b19b33fc1...
Jack Yu [Thu, 16 Mar 2017 21:40:52 +0000]
Added configuration for VT downgrade/tear down when data disabled am: 2b19b33fc1 am: 7000e8348c
am: 8be198b4a2

Change-Id: If94e30bfe7921f44354f436f37de639573983136

2 years agoAdded configuration for VT downgrade/tear down when data disabled am: 2b19b33fc1
Jack Yu [Thu, 16 Mar 2017 21:34:50 +0000]
Added configuration for VT downgrade/tear down when data disabled am: 2b19b33fc1
am: 7000e8348c

Change-Id: I947167b3a5a34e6d0a91bb8f7d608b703de7ae3a

2 years agoAdded configuration for VT downgrade/tear down when data disabled
Jack Yu [Thu, 16 Mar 2017 21:28:43 +0000]
Added configuration for VT downgrade/tear down when data disabled
am: 2b19b33fc1

Change-Id: Icc0fbd2e5f301de643209b2093279be663d1ccc8

2 years agoSupport MSIM devices in ImsManager
Brad Ebinger [Tue, 7 Mar 2017 21:48:50 +0000]
Support MSIM devices in ImsManager

All configuration options dealing with IMS are
accessed via ImsManager using static methods that
always apply the settings to the user's default voice
SIM. This does not work for LTE+LTE devices that will
need to store these options on a per subscription ID
basis. This change deprecates the old methods and
introduces a "ForSlot" variant of all of the methods.

Test: Unit Tests
Change-Id: Icd18db169a4bbfdb998dd2b14d62287755f07436

2 years agoAdded configuration for VT downgrade/tear down when data disabled
Jack Yu [Thu, 17 Nov 2016 01:20:38 +0000]
Added configuration for VT downgrade/tear down when data disabled

Added a new flag that allows carriers to ignore data disabled
(e.g. data reaches limit or user disables data) so VT calls
will not be downgraded/torn down and VT service will not be
disabled.

bug: 32880745
Merged-In: Iad786b542c3db0cd300cef27a41e492e6888b639
Change-Id: Iad786b542c3db0cd300cef27a41e492e6888b639

2 years agoDisable a phone number log for user build am: fb688ca811 am: da6eba0396
Shunta Sakai [Fri, 10 Mar 2017 00:03:23 +0000]
Disable a phone number log for user build am: fb688ca811 am: da6eba0396
am: 79e8bb3fd6

Change-Id: I6585f46671a7b93ae65552c33b2e9a38245d85fb

2 years agoDisable a phone number log for user build am: fb688ca811
Shunta Sakai [Thu, 9 Mar 2017 21:52:13 +0000]
Disable a phone number log for user build am: fb688ca811
am: da6eba0396

Change-Id: I5cf624d5f0c7be0e32099b2ce53150377a2be55c

2 years agoDisable a phone number log for user build
Shunta Sakai [Thu, 9 Mar 2017 21:46:43 +0000]
Disable a phone number log for user build
am: fb688ca811

Change-Id: I57c5f20a3d8b2ae5a4ad05e4c42ed447f33878be

2 years agoDisable a phone number log for user build
Shunta Sakai [Tue, 6 Dec 2016 11:32:07 +0000]
Disable a phone number log for user build

A phone number is privacy data. Therefore, it should be prevented
from logging in user build.

Co-Author: youhei.x.miyoshi <youhei.x.miyoshi@sonymobile.com>
Co-Author: Yong Shi <yong.xa.shi@sonymobile.com>

Test: manual - checked log
Bug: 34582911
Change-Id: Icf47ea8394244823579a147e8469ff2fd5d839cd

2 years agoRemove the sending of IMS_SERVICE_UP/_DOWN from ImsManager am: 7c40cd0d3e am: c42e5d82a7
Brad Ebinger [Tue, 28 Feb 2017 23:00:30 +0000]
Remove the sending of IMS_SERVICE_UP/_DOWN from ImsManager am: 7c40cd0d3e am: c42e5d82a7
am: b9f48fb60c

Change-Id: I196598adcbfa581106f8366b6fadd95b224aabd8

2 years agoRemove the sending of IMS_SERVICE_UP/_DOWN from ImsManager am: 7c40cd0d3e
Brad Ebinger [Tue, 28 Feb 2017 22:55:57 +0000]
Remove the sending of IMS_SERVICE_UP/_DOWN from ImsManager am: 7c40cd0d3e
am: c42e5d82a7

Change-Id: I69d9086f12df489ce697a9fe8ad5cb1fad826519

2 years agoRemove the sending of IMS_SERVICE_UP/_DOWN from ImsManager
Brad Ebinger [Tue, 28 Feb 2017 22:49:34 +0000]
Remove the sending of IMS_SERVICE_UP/_DOWN from ImsManager
am: 7c40cd0d3e

Change-Id: I3e52cbe4cbebabf48f541edf09d76a45f93c2fe9

2 years agoRemove the sending of IMS_SERVICE_UP/_DOWN from ImsManager
Brad Ebinger [Mon, 27 Feb 2017 21:43:07 +0000]
Remove the sending of IMS_SERVICE_UP/_DOWN from ImsManager

ImsManager should not be sending IMS_SERVICE_UP/_DOWN
since it runs in the process that is using it and
may not have the correct permissions to do so.

Bug: 35736451
Test: Telephony Unit Tests
Change-Id: If89122d7218a0a5309a582837ccc97724c6f511e

2 years agoMoving classes that must be used by an ImsService to base/ am: ffc6936284 am: 0f92c09a64
Brad Ebinger [Thu, 23 Feb 2017 20:19:51 +0000]
Moving classes that must be used by an ImsService to base/ am: ffc6936284 am: 0f92c09a64
am: 126dabe574

Change-Id: I6afbf0f07a1d4e6be0ef3848d2ec7bf8413faf9a

2 years agoMoving classes that must be used by an ImsService to base/ am: ffc6936284
Brad Ebinger [Thu, 23 Feb 2017 20:14:00 +0000]
Moving classes that must be used by an ImsService to base/ am: ffc6936284
am: 0f92c09a64

Change-Id: Ic434b23c4a2839d4b1212b8818afa74e6a2e101e

2 years agoMoving classes that must be used by an ImsService to base/
Brad Ebinger [Thu, 23 Feb 2017 20:10:37 +0000]
Moving classes that must be used by an ImsService to base/
am: ffc6936284

Change-Id: I48ce41a34770aec3bcb3ba18f8bd236f46191dbe

2 years agoMoving classes that must be used by an ImsService to base/
Brad Ebinger [Thu, 2 Feb 2017 22:07:07 +0000]
Moving classes that must be used by an ImsService to base/

This change moves classes that need to be used by an unbundled
ImsService to frameworks/base to facilitate its usage.

Bug: 30290416
Test: Build and run device
Change-Id: Id90f09ff445a6918996e35dc83e55ec98238de89

2 years agoRemove Session Id from ImsService APIs that do not need it. am: b5f30c7854 am: 8dcc70a6a7
Brad Ebinger [Tue, 21 Feb 2017 20:32:19 +0000]
Remove Session Id from ImsService APIs that do not need it. am: b5f30c7854 am: 8dcc70a6a7
am: f72f113ad5

Change-Id: Iae8a76042e2817220d605520de7b0dd4d9fb8a4e

2 years agoRemove Session Id from ImsService APIs that do not need it. am: b5f30c7854
Brad Ebinger [Tue, 21 Feb 2017 20:28:11 +0000]
Remove Session Id from ImsService APIs that do not need it. am: b5f30c7854
am: 8dcc70a6a7

Change-Id: Ied6d9b667f51a77852c31fdece448257c740b43e

2 years agoRemove Session Id from ImsService APIs that do not need it.
Brad Ebinger [Tue, 21 Feb 2017 20:23:27 +0000]
Remove Session Id from ImsService APIs that do not need it.
am: b5f30c7854

Change-Id: I064d41d55246dbc5ed4fa131852320070c40dd9d

2 years agoRemove Session Id from ImsService APIs that do not need it.
Brad Ebinger [Fri, 17 Feb 2017 22:54:31 +0000]
Remove Session Id from ImsService APIs that do not need it.

Not all ImsService APIs need a session ID associated with them,
such as the APIs that query the ImsService status. This change
updates the APIs to reflect this.

Test: Manual
Change-Id: I82a74643c6d883886cada9845ece99006f2690fa

2 years agoModifies ImsManager to support ImsResolver am: 14b0a9e7ee am: 77e79e53e6
Brad Ebinger [Fri, 17 Feb 2017 20:33:30 +0000]
Modifies ImsManager to support ImsResolver am: 14b0a9e7ee am: 77e79e53e6
am: 3b0513a120  -s ours

Change-Id: Ied385017a92bd1061f32d03fe9c46dc69c28a0c4

2 years agoModifies ImsManager to support ImsResolver am: 14b0a9e7ee
Brad Ebinger [Fri, 17 Feb 2017 20:29:17 +0000]
Modifies ImsManager to support ImsResolver am: 14b0a9e7ee
am: 77e79e53e6

Change-Id: I82902b313deb170d62ddb0c7ef60c30e0d14bfc4

2 years agoModifies ImsManager to support ImsResolver
Brad Ebinger [Fri, 17 Feb 2017 19:31:54 +0000]
Modifies ImsManager to support ImsResolver
am: 14b0a9e7ee

Change-Id: I8b8633140624e47262af859f9a4e03d5d4b6b5ea

2 years agoModifies ImsManager to support ImsResolver
Brad Ebinger [Thu, 26 Jan 2017 19:18:21 +0000]
Modifies ImsManager to support ImsResolver

This change modifies the ImsManager to support both the old and
new versions of ImsService. This is done by creating the
ImsServiceProxyCompat class, which implements IMMTelFeature
and uses the old IImsService interface. ImsServiceProxy then
extends ImsServiceProxyCompat, which implements the new interface
for newer devices, which use IImsServiceController.

A callback interface has also been introduced to the ImsManager, which
takes information back from the ImsService regarding its status
(NOT_READY,INITIALIZING,READY) and uses it to ensure that we are not
operating on an ImsService that is not READY.

Test: Manual
Merged-In: I46f1f7237dffcdd12b66c16cd319818d1d21c101
Change-Id: I46f1f7237dffcdd12b66c16cd319818d1d21c101

2 years agoModifies ImsManager to support ImsResolver
Brad Ebinger [Thu, 26 Jan 2017 19:18:21 +0000]
Modifies ImsManager to support ImsResolver

This change modifies the ImsManager to support both the old and
new versions of ImsService. This is done by creating the
ImsServiceProxyCompat class, which implements IMMTelFeature
and uses the old IImsService interface. ImsServiceProxy then
extends ImsServiceProxyCompat, which implements the new interface
for newer devices, which use IImsServiceController.

A callback interface has also been introduced to the ImsManager, which
takes information back from the ImsService regarding its status
(NOT_READY,INITIALIZING,READY) and uses it to ensure that we are not
operating on an ImsService that is not READY.

Test: Manual
Change-Id: I46f1f7237dffcdd12b66c16cd319818d1d21c101

2 years agoRemove static from the listener.
Naveen Kalla [Wed, 15 Feb 2017 19:55:44 +0000]
Remove static from the listener.
am: 0484b73849

Change-Id: I6e887b28bad339a978e40ae859ce0a7a92cf4fb2

2 years agoRemove static from the listener.
Naveen Kalla [Tue, 14 Feb 2017 22:55:24 +0000]
Remove static from the listener.

To support Multi-SIM and multi-IMS stack use cases, we should have
multiple instances of ImsManager. And each instance may need a
separate isntance of the Listener if it needs to invoke non-static
methods or access any fields of the ImsManager.

Test: Successful compilation with this change.
Change-Id: Idf4de1232ea54fef03a9e4a7ce1d98b8df841291
(cherry picked from commit 196fd3bd575c8e4c5c2466079500c06287ec3e02)

2 years agoAdd an API to get recent IMS disconnect reasons am: 525c3a2fdc am: ac99f22a28 am...
Naveen Kalla [Wed, 15 Feb 2017 17:59:15 +0000]
Add an API to get recent IMS disconnect reasons am: 525c3a2fdc am: ac99f22a28 am: 8a0ec2d8db
am: 48bc974ef6

Change-Id: I0197f6c82121bdba78b023791e98b08a68dd1711

2 years agoAdd an API to get recent IMS disconnect reasons am: 525c3a2fdc am: ac99f22a28
Naveen Kalla [Wed, 15 Feb 2017 17:55:21 +0000]
Add an API to get recent IMS disconnect reasons am: 525c3a2fdc am: ac99f22a28
am: 8a0ec2d8db

Change-Id: I1f31daac491226863c6467a71291728a6a73724b

2 years agoAdd an API to get recent IMS disconnect reasons am: 525c3a2fdc
Naveen Kalla [Wed, 15 Feb 2017 17:52:22 +0000]
Add an API to get recent IMS disconnect reasons am: 525c3a2fdc
am: ac99f22a28

Change-Id: If1363d72c2538c1cb6c4297fe7edd629073d5fe9

2 years agoAdd an API to get recent IMS disconnect reasons
Naveen Kalla [Wed, 15 Feb 2017 17:48:50 +0000]
Add an API to get recent IMS disconnect reasons
am: 525c3a2fdc

Change-Id: Id650fb412d961230758a34547064911aff5c1c85

2 years agoMerge "Remove static from the listener."
TreeHugger Robot [Wed, 15 Feb 2017 00:46:58 +0000]
Merge "Remove static from the listener."

2 years agoRemove static from the listener.
Naveen Kalla [Tue, 14 Feb 2017 22:55:24 +0000]
Remove static from the listener.

To support Multi-SIM and multi-IMS stack use cases, we should have
multiple instances of ImsManager. And each instance may need a
separate isntance of the Listener if it needs to invoke non-static
methods or access any fields of the ImsManager.

Test: Successful compilation with this change.
Change-Id: Idf4de1232ea54fef03a9e4a7ce1d98b8df841291

2 years agoAdd an API to get recent IMS disconnect reasons
Naveen Kalla [Mon, 6 Feb 2017 22:46:42 +0000]
Add an API to get recent IMS disconnect reasons

ImsManager will store the last 16 disconnect reasons when
onImsDisconnect callback is invoked. This information can be
accessed by the clients of ImsManager using the new
getRecentImsDisconnectReasons API

Bug: 34694758
Test: Ensure that the new API returns IMS disconnect reasons
in chronological order after running a few scenarios where IMS
gets connected and disconnected.

Change-Id: Iff5edeb9bba8898349ffce64f5975f5b1717cf76

2 years agoModify ImsVideoCallProvider to include calling UID for permission check. am: b984c78a...
Tyler Gunn [Wed, 8 Feb 2017 22:10:24 +0000]
Modify ImsVideoCallProvider to include calling UID for permission check. am: b984c78aba am: 07b6e48c68 am: c8ee152d36
am: 7da209df9b  -s ours

Change-Id: Id16b75b891bb432eb109f4c0d69c0c62cad5db50

2 years agoModify ImsVideoCallProvider to include calling UID for permission check. am: b984c78a...
Tyler Gunn [Wed, 8 Feb 2017 22:04:39 +0000]
Modify ImsVideoCallProvider to include calling UID for permission check. am: b984c78aba am: 07b6e48c68
am: c8ee152d36

Change-Id: Idf1d998074923d0cc87c168cf96a5d2fcfc4615d

2 years agoModify ImsVideoCallProvider to include calling UID for permission check. am: b984c78aba
Tyler Gunn [Wed, 8 Feb 2017 22:01:11 +0000]
Modify ImsVideoCallProvider to include calling UID for permission check. am: b984c78aba
am: 07b6e48c68

Change-Id: I921309912041ba827f46362f8054a77df0bac7d4

2 years agoModify ImsVideoCallProvider to include calling UID for permission check.
Tyler Gunn [Wed, 8 Feb 2017 21:55:49 +0000]
Modify ImsVideoCallProvider to include calling UID for permission check.
am: b984c78aba

Change-Id: I5d4f5d9d650ed69e2a55474d50d3691c6e8fb47f

2 years agoModify ImsVideoCallProvider to include calling UID for permission check.
Tyler Gunn [Wed, 30 Nov 2016 23:16:52 +0000]
Modify ImsVideoCallProvider to include calling UID for permission check.

Modify the ImsVideoCallProvider, which the vendor IMS stack implements to
include the UID of telephony.  The vendor IMS stack will use this when
opening the camera for the purpose of camera permission verification by
the camera service.

Test: Unit, manual.
Bug: 32747443
Merged-In: I0884cc08ea4afa23c08e3fe1e2873b3f5aac2b40
Change-Id: I0884cc08ea4afa23c08e3fe1e2873b3f5aac2b40

2 years agoMerge "Update ImsRegistrationListener"
Meng Wang [Thu, 22 Dec 2016 20:03:39 +0000]
Merge "Update ImsRegistrationListener"

2 years agoUse pause signaling to halt a video call when data limit is reached. am: 266d3920dd
Tyler Gunn [Thu, 22 Dec 2016 02:06:29 +0000]
Use pause signaling to halt a video call when data limit is reached. am: 266d3920dd
am: 9139f28b30

Change-Id: I062f00a882dfca98bf409f5d87e5dee23ea90eae

2 years agoUse pause signaling to halt a video call when data limit is reached.
Tyler Gunn [Thu, 22 Dec 2016 02:01:00 +0000]
Use pause signaling to halt a video call when data limit is reached.
am: 266d3920dd

Change-Id: Ide11728466897c5b9dd55ba3837c04d9d8d8a27d

2 years agoAdds testing framework to com.android.ims am: 3eb99bdaaa am: d4af2331b8 am: f2818debe7
Brad Ebinger [Thu, 22 Dec 2016 00:51:26 +0000]
Adds testing framework to com.android.ims am: 3eb99bdaaa am: d4af2331b8 am: f2818debe7
am: 227163ef2e

Change-Id: I7d3ed3bbf0dcf727143a9b532c75272823b5b03e

2 years agoAdds testing framework to com.android.ims am: 3eb99bdaaa am: d4af2331b8
Brad Ebinger [Thu, 22 Dec 2016 00:45:55 +0000]
Adds testing framework to com.android.ims am: 3eb99bdaaa am: d4af2331b8
am: f2818debe7

Change-Id: I9c264ff259046f0b041eaad9619b13dd12402fc5

2 years agoAdds testing framework to com.android.ims am: 3eb99bdaaa
Brad Ebinger [Thu, 22 Dec 2016 00:40:24 +0000]
Adds testing framework to com.android.ims am: 3eb99bdaaa
am: d4af2331b8

Change-Id: Iaa53d8e6ec7bec927a8ef38a6438ae201cd41963

2 years agoAdds testing framework to com.android.ims
Brad Ebinger [Thu, 22 Dec 2016 00:36:41 +0000]
Adds testing framework to com.android.ims
am: 3eb99bdaaa

Change-Id: I172b9a1ef447a5dde3104b867a102a59500bca17

2 years agoUse pause signaling to halt a video call when data limit is reached.
Tyler Gunn [Wed, 21 Dec 2016 18:39:48 +0000]
Use pause signaling to halt a video call when data limit is reached.

This proved to be problematic as the InCallUI is the only place where
we would previously get a pause signal.  Added a VideoPauseTracker
class which is responsible for tracking the source of pause requests and
ensuring that the video is only paused on the first request, and only
resumed on the last resume request.

Added some new logic to ImsVideoCallProviderWrapper to support receiving
pause and resume requests from other sources, and to ensure that requests
to pause or resume use the VideoPauseTracker to determine if the pause
or resume should actually be passed along to the modem.

Test: manual
Bug: 30760683
Change-Id: Id54b2a955745132ab09feb01b5c961f6115ef3df

2 years agoAdds testing framework to com.android.ims
Brad Ebinger [Wed, 21 Dec 2016 01:05:27 +0000]
Adds testing framework to com.android.ims

Test: Adding
Change-Id: I8da86a5b9bc54cf56c95844d4845be38a61a9221

2 years agoUpdate ImsRegistrationListener
Meng Wang [Thu, 8 Dec 2016 00:27:15 +0000]
Update ImsRegistrationListener

1. Replace onImsConnected() with onImsConnected(int)
2. Replace onImsProgressing() with onImsProgressing(int)
3. Add registrationChangeFailed()

Bug: 33430556
Test: m
Change-Id: I14c171494bdcb0d82ed4be0caff8cb52d35421cc

2 years agoDO NOT MERGE ImsRegistrationListener#registrationChangeFailed am: e441415a33
Meng Wang [Sat, 10 Dec 2016 00:25:44 +0000]
DO NOT MERGE ImsRegistrationListener#registrationChangeFailed am: e441415a33
am: 99e04765f2  -s ours

Change-Id: Ib52d7ad1f86fedede7ec8c3e9e54e284b02c756c

2 years agoDO NOT MERGE ImsRegistrationListener#registrationChangeFailed
Meng Wang [Sat, 10 Dec 2016 00:16:53 +0000]
DO NOT MERGE ImsRegistrationListener#registrationChangeFailed
am: e441415a33

Change-Id: Ia30672c87b79c486fc724eb58be25ec5048813a8

2 years agoDO NOT MERGE ImsRegistrationListener#registrationChangeFailed
Meng Wang [Thu, 8 Dec 2016 00:27:15 +0000]
DO NOT MERGE ImsRegistrationListener#registrationChangeFailed

Bug: 33430556
Change-Id: Icea36e559f447b14c41a04cd517c12b632bc2c0c

2 years agoModify ImsVideoCallProvider to include calling UID for permission check.
Tyler Gunn [Wed, 30 Nov 2016 23:16:52 +0000]
Modify ImsVideoCallProvider to include calling UID for permission check.

Modify the ImsVideoCallProvider, which the vendor IMS stack implements to
include the UID of telephony.  The vendor IMS stack will use this when
opening the camera for the purpose of camera permission verification by
the camera service.

Test: Unit, manual.
Bug: 32747443
Change-Id: I0884cc08ea4afa23c08e3fe1e2873b3f5aac2b40

2 years agoMerge "ImsManager: check roaming status in setWfcSetting" into nyc-mr2-dev am: e86c5833f2
Meng Wang [Wed, 23 Nov 2016 00:38:42 +0000]
Merge "ImsManager: check roaming status in setWfcSetting" into nyc-mr2-dev am: e86c5833f2
am: 552cc3c237

Change-Id: I824dd15fe74e4bada26267c706a5913a4985e6c0

2 years agoImsManager: check roaming status in setWfcSetting am: 663aa12c70
Meng Wang [Wed, 23 Nov 2016 00:38:41 +0000]
ImsManager: check roaming status in setWfcSetting am: 663aa12c70
am: ec69f5cfe8

Change-Id: I8cd387ff5a836f439ea59965432e1cb779db1468

2 years agoMerge "ImsManager: check roaming status in setWfcSetting" into nyc-mr2-dev
Meng Wang [Wed, 23 Nov 2016 00:36:25 +0000]
Merge "ImsManager: check roaming status in setWfcSetting" into nyc-mr2-dev
am: e86c5833f2

Change-Id: Icb86f7af6656ba2a213704141ca03aa3ec5734c6

2 years agoImsManager: check roaming status in setWfcSetting
Meng Wang [Wed, 23 Nov 2016 00:36:22 +0000]
ImsManager: check roaming status in setWfcSetting
am: 663aa12c70

Change-Id: Ibe58ff96e9a883cdb2bca5c289be7e546dd2ebe7

2 years agoMerge "ImsManager: check roaming status in setWfcSetting" into nyc-mr2-dev
Meng Wang [Wed, 23 Nov 2016 00:29:28 +0000]
Merge "ImsManager: check roaming status in setWfcSetting" into nyc-mr2-dev

2 years agoAdded configuration for VT downgrade/tear down when data disabled am: 5778185cdc
Jack Yu [Fri, 18 Nov 2016 19:29:37 +0000]
Added configuration for VT downgrade/tear down when data disabled am: 5778185cdc
am: f1945ddf51  -s ours

Change-Id: Iaba1fdf33e952ef84f39b98e4b249f16a4aa41fa

2 years agoAdded configuration for VT downgrade/tear down when data disabled
Jack Yu [Fri, 18 Nov 2016 19:26:37 +0000]
Added configuration for VT downgrade/tear down when data disabled
am: 5778185cdc

Change-Id: Id27502754e2a0fdc72e955594809e6207fc4973b

2 years agoAdded configuration for VT downgrade/tear down when data disabled
Jack Yu [Thu, 17 Nov 2016 01:20:38 +0000]
Added configuration for VT downgrade/tear down when data disabled

Added a new flag that allows carriers to ignore data disabled
(e.g. data reaches limit or user disables data) so VT calls
will not be downgraded/torn down and VT service will not be
disabled.

bug: 32880745
Merged-In: I8d3675e7df5972a05b35f1231f287c0dba8e9468
Change-Id: Iad786b542c3db0cd300cef27a41e492e6888b639

2 years agoAdded configuration for VT downgrade/tear down when data disabled
Jack Yu [Thu, 17 Nov 2016 23:44:04 +0000]
Added configuration for VT downgrade/tear down when data disabled

Added a new flag that allows carriers to ignore data disabled
(e.g. data reaches limit or user disables data) so VT calls
will not be downgraded/torn down and VT service will not be
disabled.

Test: telephony unit tests
bug: 32880745
Change-Id: I8d3675e7df5972a05b35f1231f287c0dba8e9468

2 years agoImsManager: check roaming status in setWfcSetting
Meng Wang [Tue, 15 Nov 2016 05:04:19 +0000]
ImsManager: check roaming status in setWfcSetting

In setWfcSetting(true), setWfcModeInternal(mode) is invoked.
The mode to be passed should be determined by current roaming status.

Bug: 32787997
Change-Id: I9e96de0a1db83adf50a8ba008a6b3741fe3c9b95

2 years agoImsManager: updateWfcFeatureAndProvisionedValues use roaming state am: 531a8b68b4...
Meng Wang [Thu, 6 Oct 2016 23:19:47 +0000]
ImsManager: updateWfcFeatureAndProvisionedValues use roaming state am: 531a8b68b4 am: 8f5ae40756
am: 6c7a14d290

Change-Id: Icdb5f782f94bf8b4070d20cc23bd3c7d939fdd59

2 years agoImsManager: updateWfcFeatureAndProvisionedValues use roaming state am: 531a8b68b4
Meng Wang [Thu, 6 Oct 2016 23:07:42 +0000]
ImsManager: updateWfcFeatureAndProvisionedValues use roaming state am: 531a8b68b4
am: 8f5ae40756

Change-Id: Ibd951bf9faf0c94781c24ed35f5860da1aefb513

2 years agoImsManager: updateWfcFeatureAndProvisionedValues use roaming state
Meng Wang [Thu, 6 Oct 2016 23:04:08 +0000]
ImsManager: updateWfcFeatureAndProvisionedValues use roaming state
am: 531a8b68b4

Change-Id: I70c0d9be607c271a1908aa1674a6ece5e9aa42d5

2 years agoImsManager: updateWfcFeatureAndProvisionedValues use roaming state
Meng Wang [Thu, 6 Oct 2016 18:29:46 +0000]
ImsManager: updateWfcFeatureAndProvisionedValues use roaming state

In updateImsServiceConfig, WFC should be updated according to roaming
state. Roaming-aware version of getWfcMode() should be used.

Bug: 31972897
Change-Id: Ic4d6a516373d6ccdadad4fd43ed9e092d8ef72a6

2 years agoImsManager: add wfc roaming mode getter/setter am: 374770193c am: 21322cc58a
Meng Wang [Thu, 29 Sep 2016 05:54:52 +0000]
ImsManager: add wfc roaming mode getter/setter am: 374770193c am: 21322cc58a
am: 82b37bf474

Change-Id: I5d153957b7120fe9fcc7f5c1a70904bc681c70e1

2 years agoImsManager: add wfc roaming mode getter/setter am: 374770193c
Meng Wang [Thu, 29 Sep 2016 00:30:44 +0000]
ImsManager: add wfc roaming mode getter/setter am: 374770193c
am: 21322cc58a

Change-Id: I791c2600aba284cf2108371a66d526666c33349d

2 years agoImsManager: add wfc roaming mode getter/setter
Meng Wang [Thu, 29 Sep 2016 00:22:05 +0000]
ImsManager: add wfc roaming mode getter/setter
am: 374770193c

Change-Id: Iae2bd4818be93b0acf5819c8b844ab967a043ddd

2 years agoImsManager: add wfc roaming mode getter/setter
Meng Wang [Tue, 20 Sep 2016 16:59:56 +0000]
ImsManager: add wfc roaming mode getter/setter

Bug: 31492826
Change-Id: Ia13c59bb1aba892759da2184bf570011ebe0876f

2 years agoFix potential error copying null conference participant list. am: 108a6b7283 am:...
Tyler Gunn [Wed, 24 Aug 2016 22:37:03 +0000]
Fix potential error copying null conference participant list. am: 108a6b7283 am: ef3d89d01a
am: ce8a6542dd

Change-Id: Ic288a4c11b80b43ded2d1695b038a08aacbaf8d8

2 years agoFix potential error copying null conference participant list. am: 108a6b7283
Tyler Gunn [Wed, 24 Aug 2016 22:24:05 +0000]
Fix potential error copying null conference participant list. am: 108a6b7283
am: ef3d89d01a

Change-Id: I2a615eca5d499be15e40ac6b8370aab3bcec444b

2 years agoFix potential error copying null conference participant list.
Tyler Gunn [Wed, 24 Aug 2016 22:17:33 +0000]
Fix potential error copying null conference participant list.
am: 108a6b7283

Change-Id: I02c93d0706fb071fc053c654bac1df2ed1fd440c

2 years agoFix potential error copying null conference participant list.
Tyler Gunn [Wed, 24 Aug 2016 04:05:25 +0000]
Fix potential error copying null conference participant list.

In some cases, mConferenceParticipants can be null, causing the copy
code to crash the com.android.phone app.

Adding appropriate null/empty checks to prevent this.

Bug: 31044679
Change-Id: I9ee464281af8213c03705d054500b8c5e2f12f05

2 years agoModify getConferenceParticipants() to return copy of the conference data. am: 3a3d8eb...
Tyler Gunn [Fri, 19 Aug 2016 14:51:20 +0000]
Modify getConferenceParticipants() to return copy of the conference data. am: 3a3d8ebcc5 am: 119f590472
am: dc7432e575

Change-Id: I246bb792afa2c1ba3debd04338ba4f882c2254bc

2 years agoModify getConferenceParticipants() to return copy of the conference data. am: 3a3d8ebcc5
Tyler Gunn [Fri, 19 Aug 2016 14:44:53 +0000]
Modify getConferenceParticipants() to return copy of the conference data. am: 3a3d8ebcc5
am: 119f590472

Change-Id: Ib968b3ec7929c75d1d1e0c3b9e52bccbafb02021

2 years agoModify getConferenceParticipants() to return copy of the conference data.
Tyler Gunn [Fri, 19 Aug 2016 14:35:00 +0000]
Modify getConferenceParticipants() to return copy of the conference data.
am: 3a3d8ebcc5

Change-Id: I90f7f4bd602444799ee6f53461ea5ea85bbfd7dc

2 years agoModify getConferenceParticipants() to return copy of the conference data.
Tyler Gunn [Thu, 18 Aug 2016 19:58:26 +0000]
Modify getConferenceParticipants() to return copy of the conference data.

In ImsConference#updateConferenceAfterCreation, getConferenceParticipants
is called to get a copy of the CEP data.  This, however, happens on a
different thread than the update of that data.

The ImsCall#getConferenceParticipants() method already synchronizes the
return of the data on a lock which would prevent it from being updated
while the "get" method is called, however, once the reference is returned
there is no guarantee the underlying list won't be changed.

Bug: 30861872
Change-Id: I27a1aa35299d36588c73bc47710e129e5e537a6a

2 years agoMerge "Call setFeatureValue() even if turning off IMS." into nyc-mr1-dev am: 385640ea...
Amit Mahajan [Sat, 13 Aug 2016 00:19:04 +0000]
Merge "Call setFeatureValue() even if turning off IMS." into nyc-mr1-dev am: 385640ea76 am: 216a255970
am: 352311d71f

Change-Id: Ibfe8a6b42c5f41f1e7bacabfe7725d0b7728c543

2 years agoCall setFeatureValue() even if turning off IMS. am: 9cba36d1c6 am: 7047b2f121
Amit Mahajan [Sat, 13 Aug 2016 00:19:03 +0000]
Call setFeatureValue() even if turning off IMS. am: 9cba36d1c6 am: 7047b2f121
am: fbafb4b797

Change-Id: Ic14f90787cd99cba301864b093682b43e591995b

2 years agoMerge "Call setFeatureValue() even if turning off IMS." into nyc-mr1-dev am: 385640ea76
Amit Mahajan [Sat, 13 Aug 2016 00:11:57 +0000]
Merge "Call setFeatureValue() even if turning off IMS." into nyc-mr1-dev am: 385640ea76
am: 216a255970

Change-Id: Ia03cbb58fabd7a6b297b809d1c89cf8d38459b82

2 years agoCall setFeatureValue() even if turning off IMS. am: 9cba36d1c6
Amit Mahajan [Sat, 13 Aug 2016 00:11:57 +0000]
Call setFeatureValue() even if turning off IMS. am: 9cba36d1c6
am: 7047b2f121

Change-Id: I8441e964e78b359ded2b0538dcebdf4d058b0485

2 years agoMerge "Call setFeatureValue() even if turning off IMS." into nyc-mr1-dev
Amit Mahajan [Sat, 13 Aug 2016 00:08:23 +0000]
Merge "Call setFeatureValue() even if turning off IMS." into nyc-mr1-dev
am: 385640ea76

Change-Id: I58db58ca90bf4e2284f086ecb5ff9379a3160579

2 years agoCall setFeatureValue() even if turning off IMS.
Amit Mahajan [Sat, 13 Aug 2016 00:08:23 +0000]
Call setFeatureValue() even if turning off IMS.
am: 9cba36d1c6

Change-Id: I9cc91770bbf5239aee86e97e9b31f7c2784ab7a0

2 years agoMerge "Call setFeatureValue() even if turning off IMS." into nyc-mr1-dev
Amit Mahajan [Fri, 12 Aug 2016 23:57:52 +0000]
Merge "Call setFeatureValue() even if turning off IMS." into nyc-mr1-dev

2 years agoAdd prototype of terminate() which supports override terminate reason code. am: 25a72...
Tyler Gunn [Fri, 12 Aug 2016 17:32:36 +0000]
Add prototype of terminate() which supports override terminate reason code. am: 25a72fccf3 am: d7391e4b7a
am: bde999dfef

Change-Id: I64bf74c1875ae36e004dbd2703120e9f148ec016

2 years agoCall setFeatureValue() even if turning off IMS.
Amit Mahajan [Thu, 11 Aug 2016 17:17:23 +0000]
Call setFeatureValue() even if turning off IMS.

setFeatureValue() needs to be called so that next time IMS is turned
on, IMS stack knows which features to keep turned off. It should be
called after turnOffIms().

Bug: 30651940
Change-Id: Ia2d388d9336bfa6f7950f45c4a705bf5858cfa19

2 years agoAdd prototype of terminate() which supports override terminate reason code. am: 25a72...
Tyler Gunn [Fri, 12 Aug 2016 15:08:33 +0000]
Add prototype of terminate() which supports override terminate reason code. am: 25a72fccf3
am: d7391e4b7a

Change-Id: I6402fe258f29f18789dcfe32ea59fbfe754b3c84

2 years agoAdd prototype of terminate() which supports override terminate reason code.
Tyler Gunn [Fri, 12 Aug 2016 14:59:29 +0000]
Add prototype of terminate() which supports override terminate reason code.
am: 25a72fccf3

Change-Id: I51aeee2b68718a34f885a0b971e193ebea6eb63b

2 years agoAdd prototype of terminate() which supports override terminate reason code.
Tyler Gunn [Thu, 11 Aug 2016 20:16:54 +0000]
Add prototype of terminate() which supports override terminate reason code.

When ImsCall#termiante(int) is called with a reason code, the modem will
only actually disconnect the call for some disconnect reasons.

Adding an override of that method which allows the caller to specify an
override which is reported as the actual disconnect reason in the
onCallSessionTerminated callback in ImsPhoneCallTracker.

Bug: 30702393
Change-Id: I006046c03630e9d010424591f3bbb7d46da3a76f

2 years agoAdded debug message to help ims call debugging
Jack Yu [Mon, 8 Aug 2016 18:59:18 +0000]
Added debug message to help ims call debugging

Change-Id: I3bf98a95fb62f5511e6b2d87e5fbc72f9b62880e

2 years agoExposing IMSCallSessionListenerProxy for test intent. am: afb53c826d am: 6fde5800e9
Tyler Gunn [Mon, 8 Aug 2016 01:00:36 +0000]
Exposing IMSCallSessionListenerProxy for test intent. am: afb53c826d am: 6fde5800e9
am: 366304a578

Change-Id: If03a376283ab69e89e200aa712c7271d42cf80ea

2 years agoExposing IMSCallSessionListenerProxy for test intent. am: afb53c826d
Tyler Gunn [Mon, 8 Aug 2016 00:53:51 +0000]
Exposing IMSCallSessionListenerProxy for test intent. am: afb53c826d
am: 6fde5800e9

Change-Id: I5416e4a517a9731fac177419a3bd45ff631a222d

2 years agoExposing IMSCallSessionListenerProxy for test intent.
Tyler Gunn [Mon, 8 Aug 2016 00:44:59 +0000]
Exposing IMSCallSessionListenerProxy for test intent.
am: afb53c826d

Change-Id: I2190c089250c5c559c18dfcda240271953734a94