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
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
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
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
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 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
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 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: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 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
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 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 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
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 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: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
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
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: 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: 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 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 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
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.\" 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.
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-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
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

2 years agoAdd isVtProvisionedOnDevice() and isWfcProvisionedOnDevice() to ImsManager.dump().
pkanwar [Tue, 12 Jul 2016 18:11:54 +0000]
Add isVtProvisionedOnDevice() and isWfcProvisionedOnDevice() to ImsManager.dump().
am: 10d1883ea2

Change-Id: Iae71cec0e31221328fa65505adeab899718e0de3

2 years agoAdd isVtProvisionedOnDevice() and isWfcProvisionedOnDevice() to
pkanwar [Tue, 12 Jul 2016 15:50:01 +0000]
Add isVtProvisionedOnDevice() and isWfcProvisionedOnDevice() to
ImsManager.dump().

Bug: 29988911

Change-Id: I5598d85f5cd153096b7946cfc730b6cd34b7c613

2 years agoImsManager: refine logs for turnOnIms() and turnOffIms()
Meng Wang [Fri, 8 Jul 2016 23:23:20 +0000]
ImsManager: refine logs for turnOnIms() and turnOffIms()
am: ca7d4c44d0

Change-Id: I7cfaa0e67687e93eed38c2e3878221d60306b686

2 years agoImsManager: refine logs for turnOnIms() and turnOffIms()
Meng Wang [Fri, 1 Jul 2016 05:05:24 +0000]
ImsManager: refine logs for turnOnIms() and turnOffIms()

Bug: 29875759
Change-Id: Id1a88976dfb8313aab297132ae33a60d1972e475

2 years agoMerge \"hide PII from log\" into nyc-mr1-dev
fionaxu [Wed, 6 Jul 2016 23:22:26 +0000]
Merge \"hide PII from log\" into nyc-mr1-dev
am: e4344cd61e

Change-Id: If980329bf58064f6c7b689bb995d7f648c69ef1a

2 years agoMerge "hide PII from log" into nyc-mr1-dev
Chen Xu [Wed, 6 Jul 2016 23:20:37 +0000]
Merge "hide PII from log" into nyc-mr1-dev

2 years agohide PII from log
fionaxu [Wed, 6 Jul 2016 21:04:06 +0000]
hide PII from log

Bug: 29943985
Change-Id: I9f8df2e7a3063c8979f1a82d477306a047e230a9

2 years agoHook In VT Provisioned Status Update
Nathan Harold [Wed, 6 Jul 2016 17:01:43 +0000]
Hook In VT Provisioned Status Update
am: a9fc7f12a5

Change-Id: Iff54d50d39be892c97a87538862d705bbbb4a914

2 years agoHook In VT Provisioned Status Update
Nathan Harold [Thu, 30 Jun 2016 23:12:14 +0000]
Hook In VT Provisioned Status Update

Bug: 29919309
Change-Id: Id843a72974c81d319434c279f7e330498771264e

2 years agoReport VT data usage to the client
Jack Yu [Wed, 29 Jun 2016 22:12:26 +0000]
Report VT data usage to the client
am: b42ff55315

Change-Id: Ice15063d9793fb10c4854dba45cd2d8c2afe2a87

2 years agoReport VT data usage to the client
Jack Yu [Wed, 22 Jun 2016 20:20:52 +0000]
Report VT data usage to the client

Report the aggregated VT data usage per call to the registered
client.

bug: 20888836
Change-Id: I6d9629aebfde641f96fbfe2071346ae3bc362cdb

2 years agoAdd helper methods and video history tracking to ImsCall.
Tyler Gunn [Thu, 23 Jun 2016 20:20:12 +0000]
Add helper methods and video history tracking to ImsCall.
am: 1ac24854db

Change-Id: I38fdd8854d9679caca2496d03fc168b10a491e2e

2 years agoAdd helper methods and video history tracking to ImsCall.
Tyler Gunn [Wed, 22 Jun 2016 17:04:23 +0000]
Add helper methods and video history tracking to ImsCall.

Adding some helper methods to ImsCall:
- isVideoCall
- isWifiCall

Add code to track whether an ImsCall has been a video call at some point
in its existence.

Bug: 29275420
Change-Id: If5ac272e86d08f81ad64ec87cbcdb27c4bf985c3

2 years agoMove caching of VoLTE provisioned value from ImsConfigImpl to ImsManager
Pavel Zhamaitsiak [Fri, 10 Jun 2016 17:25:47 +0000]
Move caching of VoLTE provisioned value from ImsConfigImpl to ImsManager
am: 002b20483c

Change-Id: I65195db3a031b86be46762a7f23a887db881caf3

2 years agoMove caching of VoLTE provisioned value from ImsConfigImpl to ImsManager
Pavel Zhamaitsiak [Fri, 3 Jun 2016 23:05:31 +0000]
Move caching of VoLTE provisioned value from ImsConfigImpl to ImsManager

ImsConfig.getVolteProvisioned() function was supposed to cache provisioned
value and return it synchronously. This CL moves this functionality to
ImsManager (and adds support for WFC and VT provisioning).

VoLTE and WFC provisioned values are asynchronously updated when
CarrierConfig changes. They are also updated when ACTION_IMS_CONFIG_CHANGED
intent is received (this intent is sent by IMS stack).

Add isWfcProvisionedOnDevice() and isVtProvisionedOnDevice() functions
to ImsManager.

Bug: 26496388
Bug: 27814311
Change-Id: I4640e5c79e339121a2899ef3cd022d2738ab244b

2 years agoEnable ims test mode on verizon
Meng Wang [Thu, 9 Jun 2016 22:58:55 +0000]
Enable ims test mode on verizon
am: 9352c43df0

Change-Id: I38ab70ef6f59a65c8c57473fd55f1bcf69fad42e

2 years agoEnable ims test mode on verizon
Meng Wang [Wed, 8 Jun 2016 21:22:20 +0000]
Enable ims test mode on verizon

Added a new property 'persist.dbg.allow_ims_off'. When it's set,
CarrierConfig KEY_CARRIER_ALLOW_TURNOFF_IMS_BOOL is ignored.
Hence ims can be turned off.

Bug: 28861107
Change-Id: Ieed8f782b6e222131e64ee8755a48acc1100e520

2 years agoChange order in which VT and WFC settings are pushed to IMS stack
Pavel Zhamaitsiak [Fri, 3 Jun 2016 20:53:07 +0000]
Change order in which VT and WFC settings are pushed to IMS stack
am: d46779cbd1

* commit 'd46779cbd1657b9a9ededec35f008f7bfa6b5511':
  Change order in which VT and WFC settings are pushed to IMS stack

Change-Id: I5999ead13d69c0e750f9544fb338b419d0540255

2 years agoChange order in which VT and WFC settings are pushed to IMS stack
Pavel Zhamaitsiak [Fri, 3 Jun 2016 17:39:51 +0000]
Change order in which VT and WFC settings are pushed to IMS stack

This is done in order to distinguish toggle of Enhanced 4G LTE switch
from settings sync.

Bug: 28432762
Change-Id: Ie606bb8d06aa29e8a31194a412dc846590309ba8

3 years agoresolve merge conflicts of 25a0b43 to nyc-mr1-dev
Pavel Zhamaitsiak [Mon, 2 May 2016 23:24:03 +0000]
resolve merge conflicts of 25a0b43 to nyc-mr1-dev
am: 06903de696

* commit '06903de6961de032beb3cd5d0a32983ca21f1cca':

Change-Id: Ide5320f789c3f1b92e11b5de7a7c5c271bce05ad

3 years agoresolve merge conflicts of 0110b7d to nyc-mr1-dev-plus-aosp
Pavel Zhamaitsiak [Mon, 2 May 2016 23:16:41 +0000]
resolve merge conflicts of 0110b7d to nyc-mr1-dev-plus-aosp

Change-Id: If476e2183c04353f4848833864909cc2f191ddf7

3 years agoresolve merge conflicts of 25a0b43 to nyc-mr1-dev
Pavel Zhamaitsiak [Mon, 2 May 2016 23:11:03 +0000]
resolve merge conflicts of 25a0b43 to nyc-mr1-dev

Change-Id: I2ec8738805a34c3d8513f8baa7a6d896403bcf5a

3 years agoMove rcs from frameworks/opt/net/ims to external/ims
Pavel Zhamaitsiak [Mon, 2 May 2016 23:04:11 +0000]
Move rcs from frameworks/opt/net/ims to external/ims
am: 25a0b43d56

* commit '25a0b43d56dcd00711e41d06427eed2bc0ed3764':
  Move rcs from frameworks/opt/net/ims to external/ims

Change-Id: Ie28b33c8d24611a99f1d9fdf8b411378cba9be78

3 years agoMove rcs from frameworks/opt/net/ims to external/ims
Pavel Zhamaitsiak [Mon, 2 May 2016 20:50:12 +0000]
Move rcs from frameworks/opt/net/ims to external/ims

Bug: 27811089
Change-Id: Ie7f356121e97eaeef1b3951f3c8a3c9115f97eaa