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

2 years agoExposing IMSCallSessionListenerProxy for test intent.
Tyler Gunn [Fri, 5 Aug 2016 21:38:13 +0000]
Exposing IMSCallSessionListenerProxy for test intent.

Bug: 30697460
Change-Id: I8f7bd29d83bb1e5acc3d218ca8108317738f9e2d

2 years agoEnsure provisioned VT value is set appropriately on boot. am: fb4abdfc32 am: 73937c7747
Tyler Gunn [Mon, 1 Aug 2016 22:22:13 +0000]
Ensure provisioned VT value is set appropriately on boot. am: fb4abdfc32 am: 73937c7747
am: a6d09d96d9

Change-Id: I64bed6b064677470bb4586d1fe17aa4f729db22f

2 years agoEnsure provisioned VT value is set appropriately on boot. am: fb4abdfc32
Tyler Gunn [Mon, 1 Aug 2016 20:15:05 +0000]
Ensure provisioned VT value is set appropriately on boot. am: fb4abdfc32
am: 73937c7747

Change-Id: I9cb53157850acc8cc6838e8e5af964722770fcc0

2 years agoEnsure provisioned VT value is set appropriately on boot.
Tyler Gunn [Mon, 1 Aug 2016 20:13:07 +0000]
Ensure provisioned VT value is set appropriately on boot.
am: fb4abdfc32

Change-Id: I81799c6c41a0e5ec0e67b80bbe632e5687bd9f45

2 years agoEnsure provisioned VT value is set appropriately on boot.
Tyler Gunn [Mon, 1 Aug 2016 18:14:46 +0000]
Ensure provisioned VT value is set appropriately on boot.

ImsManager#updateImsServiceConfig is responsible for setting the
provisioned / device VT values on boot.  Previous changes were made
to ensure that changing the enhanced 4G LTE switch would NOT change the
VT setting at the same time.  This change is made in the same spirit,
and decouples the VT feature setting on bootup from the voLTE setting.

Bug: 30454597
Change-Id: I625cfb03b7da3fc68ae52b39007ffb86613297c9

2 years agoMerge \\"Use SystemProperties to cache provisioned status for volte, wfc, vt.\\"...
Amit Mahajan [Fri, 22 Jul 2016 22:40:04 +0000]
Merge \\"Use SystemProperties to cache provisioned status for volte, wfc, vt.\\" into nyc-mr1-dev am: d7cd12478f
am: 5870d1ffd7

Change-Id: I60a8928e85daedc4dc813d20629982d847668b1a

2 years agoUse SystemProperties to cache provisioned status for volte, wfc, vt. am: 24f7b167e5
Amit Mahajan [Fri, 22 Jul 2016 22:40:04 +0000]
Use SystemProperties to cache provisioned status for volte, wfc, vt. am: 24f7b167e5
am: 6247814c79

Change-Id: I7aa701220dade6b19ec8079e96881df2b95ea256

2 years agoMerge \"Use SystemProperties to cache provisioned status for volte, wfc, vt.\" into...
Amit Mahajan [Fri, 22 Jul 2016 22:36:47 +0000]
Merge \"Use SystemProperties to cache provisioned status for volte, wfc, vt.\" into nyc-mr1-dev
am: d7cd12478f

Change-Id: Ie16022ebfbe6c14eccb11427f27b9df9e3e390ed

2 years agoUse SystemProperties to cache provisioned status for volte, wfc, vt.
Amit Mahajan [Fri, 22 Jul 2016 22:36:46 +0000]
Use SystemProperties to cache provisioned status for volte, wfc, vt.
am: 24f7b167e5

Change-Id: Iee6aaa234974af9c8dc8c631a2c79736369b6819

2 years agoMerge "Use SystemProperties to cache provisioned status for volte, wfc, vt." into...
TreeHugger Robot [Fri, 22 Jul 2016 22:27:00 +0000]
Merge "Use SystemProperties to cache provisioned status for volte, wfc, vt." into nyc-mr1-dev

2 years agoAdd ImsVideoProviderWrapperCallback to notify local components. am: 359bcd029c
Tyler Gunn [Fri, 22 Jul 2016 22:24:53 +0000]
Add ImsVideoProviderWrapperCallback to notify local components. am: 359bcd029c
am: a450254a4a

Change-Id: I73ddcd1b794882290edcf861e1b3c2eafeeceec1

2 years agoAdd ImsVideoProviderWrapperCallback to notify local components.
Tyler Gunn [Fri, 22 Jul 2016 22:17:41 +0000]
Add ImsVideoProviderWrapperCallback to notify local components.
am: 359bcd029c

Change-Id: I4482328bd65f5333248b78e62125810a205ac002

2 years agoUse SystemProperties to cache provisioned status for volte, wfc, vt.
Amit Mahajan [Thu, 21 Jul 2016 23:33:53 +0000]
Use SystemProperties to cache provisioned status for volte, wfc, vt.

Bug: 29223318
Change-Id: I992b11735d58c3617f8537fb746ae91619032371

2 years agoAdd ImsVideoProviderWrapperCallback to notify local components.
Tyler Gunn [Fri, 22 Jul 2016 15:46:49 +0000]
Add ImsVideoProviderWrapperCallback to notify local components.

Added a callback class in ImsVideoProviderWrapperCallback so that local
components such as ImsPhoneConnection can listen to incoming session
modification responses.

Bug: 29381561
Change-Id: I38e5be1996c22be2e5f8797c825e0ab90d49fda1

2 years agoMerge \\"Workaround for incorrect EXTRA_CALL_RAT_TYPE in vendor code.\\" into nyc...
Pankaj Kanwar [Fri, 15 Jul 2016 15:23:37 +0000]
Merge \\"Workaround for incorrect EXTRA_CALL_RAT_TYPE in vendor code.\\" into nyc-mr1-dev am: 4effdca336
am: 04415cab83

Change-Id: I42a2ddbbfcdb6233605784891a1a65d027f40d77

2 years agoMerge \"Workaround for incorrect EXTRA_CALL_RAT_TYPE in vendor code.\" into nyc-mr1-dev
Tyler Gunn [Fri, 15 Jul 2016 15:18:09 +0000]
Merge \"Workaround for incorrect EXTRA_CALL_RAT_TYPE in vendor code.\" into nyc-mr1-dev
am: 4effdca336

Change-Id: Id0880cbe800ac79cced9c91992bf72873e74476f

2 years agoMerge "Workaround for incorrect EXTRA_CALL_RAT_TYPE in vendor code." into nyc-mr1-dev
Pankaj Kanwar [Fri, 15 Jul 2016 15:10:26 +0000]
Merge "Workaround for incorrect EXTRA_CALL_RAT_TYPE in vendor code." into nyc-mr1-dev

2 years agoDisable VT when users turn off data or hit data limit am: 643ffe48f0
Jack Yu [Thu, 14 Jul 2016 05:13:17 +0000]
Disable VT when users turn off data or hit data limit am: 643ffe48f0
am: cefd94ec1d

Change-Id: Ic9ceaaa6c2307e1a73dd853057524ba71696096c

2 years agoDisable VT when users turn off data or hit data limit
Jack Yu [Thu, 14 Jul 2016 05:07:47 +0000]
Disable VT when users turn off data or hit data limit
am: 643ffe48f0

Change-Id: I44cd4d525b7c41c0ec2d8e976a098b8344fa359a

2 years agoWorkaround for incorrect EXTRA_CALL_RAT_TYPE in vendor code.
Tyler Gunn [Thu, 14 Jul 2016 00:24:04 +0000]
Workaround for incorrect EXTRA_CALL_RAT_TYPE in vendor code.

Some vendor modems do not spell the EXTRA_CALL_RAT_TYPE as per
definition in ImsCallProfile.  This is a temporary workaround to make
the wifi call check work for now.

Bug: 28933314
Change-Id: I6db8fd3645fef52a9c8b949e77782f743b8e4e4e

2 years agoDisable VT when users turn off data or hit data limit
Jack Yu [Fri, 8 Jul 2016 21:25:46 +0000]
Disable VT when users turn off data or hit data limit

Disable VT when users turn off data or hit data limit. If
there are ongoing VT calls, we'll need to downgrade them
to VoLTE calls.

bug: 27316521
Change-Id: Ia2145db3ccce0325ae65231daa2f3a16f45d035e