43 Commits

Author SHA1 Message Date
Tyler Gunn
87b73f370e API Cleanup: Remove VideoState class.
- Remove VideoState class.
- Replace references to VideoState constants with VideoProfile equivalent.
- Push VideoState static methods into VideoProfile.

Bug: 21573551
Change-Id: I1bca02772b5b7d86643f612824b07faef7618725
2015-06-03 10:09:59 -07:00
Yorke Lee
32f2473160 More video related API fixes
android.telecom.Connection.VideoProvider
* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs

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

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

Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
2015-05-12 16:45:14 -07:00
Yorke Lee
400470fab9 Fixes for APi review
Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final

Bug: 21040387
Bug: 21066505
Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
2015-05-12 13:31:25 -07:00
Tyler Gunn
4538216a31 Change sendSessionModifyRequest VideoProvider API signature.
Including a fromProfile in addition to the requestedProfile.

- Changed VideoCallImpl to generate the fromVideoProfile based on the
call's current videoState.  This ensures the InCall UI only needs to
pass in the new video profile; the VideoCall Impl already has enough
knowledge to generate the fromProfile.
  - Changed VideoCallImpl to track the current videoQuality, which forms
a part of the fromVideoProfile.

Bug: 20704229
Change-Id: I89f293f03a2b13fc8c1dcfd8a07ab8640d3950e0
2015-05-06 08:52:27 -07:00
Etan Cohen
fa96c94c30 Merge commit '9561e74' into merge2 2015-04-24 13:43:36 -07:00
Jay Shrauner
8f98843924 Remove connection substate
Bug:20300433
Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
2015-04-16 14:42:39 -07:00
Tyler Gunn
9561e7410b Prevent merging conference calls hosted on peer device.
automerge: 6b91ebf

* commit '6b91ebf58c928987ead635bb1c49a16965d4c835':
  Prevent merging conference calls hosted on peer device.
2015-04-14 18:19:11 +00:00
Rekha Kumar
07366813cd IMS-VT: Upgrade/Downgrade change
-Add isVideo API to VideoProfile.VideoState

IMS-VT: Fix propagation of device orientation.
Orientation received at VT Service is incorrect.
Fixed propagation of device orientation to VT service.

IMS-VT: Upgrade fix
-Add session modify call timed out constant

Notify listeners of video quality changed event
- Propagate the video quality changed message to the UI.

IMS: Add support for video quality
- Add Config interface to get/set video quality

IMS-VT: Multitasking feature
-Support for video multitasking

IMS-VT: Modification of data usage aidl
Change data usage aidl interface to take parameter type long
instead of int

Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc

Propagate the call substate changed message to the UI

IMS-VT: Add call modifiable capability

PhoneCapababilities call type modifiable constant added

IMS-VT: Add a bit mask CALL_SUBSTATE_ALL with all call substate bits set

IMS-VT: Enable Video conferencing.

Enable Video conferencing.

Change-Id: I4240aa6f32c75d6eea8a41da3c87bca651f0901b

IMS-VT: Add hide for setVideoProvider API
Observed compilation error for SDK generation due to setVideoProvider
API. Marking setVideoProvider as hide inorder to resolve the
compilation error.

IMS-VT: Add persist.radio.ims.audio.output for VT calls
-- Add persist.radio.ims.audio.output to set the default speaker
   for VT calls.
-- Add required constants

IMS-VT: Add additional error codes for upgrade downgrade
-Add support to send additional error codes to UI during
 upgrade downgrade.

Change-Id: Id452d225098fe3bccdcd37d242985c5c761144c1
2015-04-01 21:40:45 +00:00
Tyler Gunn
6b91ebf58c Prevent merging conference calls hosted on peer device.
With IMS, the "multiparty" bit on an ImsCall is set to "true" when a call
is merged into a conference.  This not only occurs on the device hosting
the conference call, but also on the devices of the callers merged into
the conference.

This CL adds a listener to the ImsCallSessionListener which is used to
communicate a change in the multiparty state of an ImsCallSession to
the ImsCall.  This solves a problem where the RIL knows of the change, but
since there is no callback, the change is not noticed by Telephony until
another call state change occurrs (e.g. holding the call).

Bug: 19478784
Change-Id: I4847ab3b63f6a00a91d1324196f181467d1753a4
2015-04-01 09:36:19 -07:00
Etan Cohen
817d718d33 Merge "Stop output of call number to logs" into lmp-mr1-wfc-dev 2015-03-26 02:58:55 +00:00
Shriram Ganesh
ee763b3562 Stop output of call number to logs
Bug: 19602904
Change-Id: Ieb6ae8d5ab27571d1f6cf91c530713f22b21b513
2015-03-25 18:23:56 -07:00
Omkar Kolangade
faf7ce03c2 IMS: UT ServiceClass
When CF and CW MMI request will be triggered,
user preferred serviceclass will be sent to
the lower layers.

Change-Id: I230c59ec1ab0832e24755d5ba497b2b5e0749ec1
2015-03-25 12:25:29 -07:00
Etan Cohen
796d60b12e Update documentation of IImsConfig interface.
Change-Id: Id176c131e0192a2ebb4dd73e902c2a893feebcdc
2015-03-09 10:13:40 -07:00
Rekha Kumar
b54d218d8b IMS: Support for IMS Registration error codes
- Add support for propagation of IMS Registration errors
- Add reason type - operator specific
- Add call drop reason type and error code CD-04 that specifies there was no
  qualified LTE network to handover to from a wifi call

Change-Id: Ib9c93dfafe8d8fbdece3a5daf6fd13ef0c16f158
2015-03-06 16:08:34 -08:00
Omkar Kolangade
827fcb7f8d IMS OMA-DM Intent and ImsReasonInfo Additions
Adding an intent for OMA-DM use case where
the network sends a string error indicating
the device is not provisioned to make calls.
The string the network is expected to send
is added to ImsReasonInfo.

Bug: 18242739
Change-Id: If7f654f834f543523af40b422ea9659c5f0b4de4
2014-12-16 09:48:27 -08:00
Etan Cohen
db45a01e22 Add missing member to string conversion - helps in debugging.
Change-Id: I0c8b58f69adcd89038a2c320c9d75172b7a10d5c
2014-12-10 18:17:26 +00:00
Libin.Tang@motorola.com
2cdac3bd53 IMS: change getMasterValue to getProvisionedValue.
Bug: 18576107
Change-Id: I21293d42b87911a98af8169b697d0e40eafb8760
2014-12-09 10:03:21 -08:00
Libin.Tang@motorola.com
bec2c3e251 IMS: add ImsConfig api to get volte provisioned value.
Bug: 18576107
Change-Id: I22d9f675ec607c30906b36cdab72e4d25463ecf5
2014-12-09 10:03:21 -08:00
Uma Maheswari Ramalingam
a8af6bb333 IMS: start and stop dtmf tones.
Support of start and stop dtmf tones in Imsphone

Bug: 18371919
Change-Id: I986f6b8e9aa1a5729d280eb8a5c60e129c3796cd
CRs-Fixed: 751797
2014-12-08 22:59:44 +00:00
Omkar Kolangade
93c33d7d90 IMS Call End Cause Additions
Adding call end reasons for the
following use cases:
1. User rejects/ends call due to
   low battery.
2. User rejects call due to
   blacklisted call ID.

Bug: 18481702
Change-Id: I3537c732880e60218c83ec69861cb788adc57bc1
2014-12-04 01:30:34 +00:00
Etan Cohen
fbedecc099 MSIM IMS: convert to phone ID based selection.
Bug: 18576822
Change-Id: I2a756782ccdab5e4d10193c593cf89a7aa4fcda4
2014-12-01 23:30:58 +00:00
Shriram Ganesh
482e6da972 IMS: Peer capabilities support
Add support for querying peer capabilities

IMS: Add support for HD icon display related information

Added support to pass the restrict cause associated with the peer
in order to enable display of the HD icon when necessary.Added
support to pass local audio codec information and defined values
for new codecs not defined.

Change-Id: If05d46bdb3907a0ec7efdde48337a7932a7a5c21
2014-11-11 16:36:15 +00:00
Tyler Gunn
3bffcf78b5 Communicating participant changes to conference controller.
- Add new ConferenceParticipant parcelable class which represents a
single participant contained in the conference event package.
- Adding callbacks/listeners to Connection to handle changes to
participant state.

Bug: 18057361
Change-Id: Iadfebe84959f30f8e835f282aa994c0b92768aa6
2014-10-28 13:51:27 -07:00
Tyler Gunn
f764e80757 IMS call merge call-back changes.
Renaming callSessionMerged to callSessionMergeStarted.
Adding callSessionMergeComplete callback for when merge successfully
completes.

Bug: 18056632
Change-Id: I8fc73b6c9db5e7970de81d8c3e09abc80f1a262f
2014-10-24 14:06:40 -07:00
Tyler Gunn
6a7ed1eb40 Propagating isMultiParty indicator from RIL up into Telephony layer.
- Adding isMultiParty() method to IImsCallSession AIDL.

Bug: 18058253
Change-Id: I1c44d3db0f7aa00a3ae6efb1231c5ddd39ab20ac
2014-10-22 11:26:40 -07:00
Libin.Tang@motorola.com
846b71daaf change setProvisionedValue/setProvisionedStringValue to
return operation result.

Change-Id: I24f127280d4692633ede7e17a63ababee1b6c71f
2014-10-20 17:33:44 +00:00
Shriram Ganesh
69f35c8e1b IMS: Unsol TTY notification support
Code changes to support UNSOL_TTY_NOTIFICATION handling.

Change-Id: I74bba5d06198e016db259ec1f7d28663d475cb92
2014-10-10 16:24:13 +00:00
Shriram Ganesh
163900a6a1 Ims: Send user selected TTY mode to lower layers.
Irrespective of whether TTY device is connected or not
send TTY mode setting to modem whenever user changes it
from settings.

Change-Id: I2797cdffea0c10c90cd4f213bd0ea9d63c09f29d
2014-10-10 16:23:24 +00:00
Tyler Gunn
ef9f6f957d Renaming Telecomm to Telecom.
- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
2014-09-12 22:16:17 -07:00
Libin.Tang@motorola.com
c47b18fb25 IMS: modify sendDtmf interface.
Bug: 17282921
Change-Id: If96f209e91db420e089d429bb5c7a0f9882b4057
2014-08-26 20:15:33 +00:00
Jing Zhao
e647a013a0 VoLTE incoming call number
Set incoming call number in OIR to be shown to user

Bug: 17032453
Change-Id: Iceadb0f537fb35f685cbcf8279ccef7d86036600
2014-08-21 22:05:04 +00:00
Ihab Awad
b19a0bcdd8 Final structural tweaks to Telecomm API (1/8)
Bug: 16416927
Bug: 16494880
Change-Id: I45fbe287c410cbb5e1b985f320b862d732811f43
2014-08-13 11:16:46 -07:00
Andrew Lee
752217bfc6 Aidl changes related to VideoCallProvider in Ims.
+ Added a getVideoCallProvider function in IImsCallSession
+ Added IImsVideoCallProvider aidl. This is used for communication
between Telephony and the ImsService. It is redundant with
IVideoCallProvider on some level, but see associated bug and comments
in the class for more detail.
+ Added IImsVideoCallCallback. This is used for communicationing
callback invocations from ImsService to Telephony. It is redundant
with IVideoCallCallback for same reason in bugs/comments.
+ Some minor formatting changes.

Bug: 16886403
Change-Id: I03de12d4432f837e0930bc077307509b645493e0
2014-08-08 12:09:54 -07:00
Shriram Ganesh
61aac3aa0a IMS Framework & AIDL Changes for Call Barring & String Error Codes.
Change-Id: I66fdbbd175c13261c283627999f37071259f7a6a
2014-08-05 00:48:40 +00:00
Shriram Ganesh
af9a696b20 Add changes for LTE to IWLAN Handover Notifications for an IMS Call
Change-Id: I6847ba1660df81d8d2ba610e9b27638800f71f77
2014-08-04 23:57:51 +00:00
Uma Maheswari Ramalingam
1c18285c36 Add ECBM functionality for IMS
Code for adding ECBM functionality for IMS.

Change-Id: I2833c81baf0a55a18ac6433c47fd76bad7cf0ec9
2014-08-03 02:05:14 +00:00
Andrew Lee
48332d622b Convert VideoState into an inner class.
- Add helper functions to make it easier to figure out properties of a
particular video state, to make things more convenient.
- Update references and documentation.

Bug: 16629892
Change-Id: I621532e8cab080afd56e5db739b9edbee6261f74
2014-07-29 13:35:59 -07:00
ram
ab458a1858 IMS: Adding ims on/off interface files and callback for enabled/disabled features.
Change-Id: I4e0049d605d9e7d13035c43e2504cdfb67a7a102
2014-07-24 17:36:17 +00:00
Tyler Gunn
aa07df84f2 Wiring video state through from Connection
Bug: 16285417
Bug: 16013178
Change-Id: Ia48959248ca22f4569b0ffd01a1716470aa0a711
2014-07-18 01:30:34 +00:00
Etan Cohen
a4d88d1e6e IMS: Add Config interface to get/set IMS service/capabilities
Change-Id: I5f422aae105cbf8e85aee711aaa49b5d2e958573
2014-07-11 23:23:34 +00:00
Etan Cohen
1e98a77fff IMS Framework and AIDL Changes to Support CLIR/P and COLR/P
Change-Id: I72626f016e87503e2d0e680c01e482bfbb592b06
2014-07-01 17:50:32 +00:00
Wink Saville
0a493e8722 Fix java doc.
Change-Id: I620c2ea77504fa4ead92e8a4faf0db4eff4f5e2b
2014-06-26 04:50:00 -07:00
Wink Saville
f8458ff9d9 Fix lpdk build.
Move aidl files from frameworks/opt/net/ims to frameworks/base so lpdk
compiles. The reason is lpdk doesn't have frameworks/base sources so
references to Pending and Bundle in aidl files breaks the pdk build.

I had to move all of them and the ims/*java files for dependency reasons.

Change-Id: I92452562591b157cecdfc01bcd892c4f35f5965c
2014-06-26 02:37:08 +00:00