summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/ConnectionService.java
AgeCommit message (Collapse)Author
2016-07-11Finalize MEP functionality.Tyler Gunn
1) Finish plumbing of PULLING_CALL state. 2) Add new disconnect cause used when maximum number of calls across all devices has been reached. 3) Add PII mask for toString of ImsExternalCallState. Bug: 29522023 Change-Id: I78a0a9f3c3d846cfc58a1c5bcc6f105027602cbc
2016-05-18Add null pointer check in removeConnection am: e370b538ebChenjie Luo
am: 58642e6545 * commit '58642e65455ee9456993a2f6386402fbcec68ab8': Add null pointer check in removeConnection Change-Id: Ia4d14a664c9869d1065313db6795ac4e72dee59d
2016-05-18Add null pointer check in removeConnectionChenjie Luo
am: e370b538eb * commit 'e370b538ebb6ca1072f270aee3003faaa0d1deb2': Add null pointer check in removeConnection Change-Id: I7b615a8f7c7a89617c4f748ad74007ec73db6784
2016-05-12Add null pointer check in removeConnectionChenjie Luo
Bug: 28607777 Change-Id: I199ed75740796540d243ad9f507ab2511c9ed3c1
2016-03-24Add connection properties to Connections.Tyler Gunn
- Per suggestion of API council, moving properties of a Connection from CAPABILITIES_* to PROPERTIES_*. Bug: 27458894 Change-Id: Icce921b03cda514a991646ed39a26559c7e91230
2016-03-23Expand call/connection extras API.Tyler Gunn
Currently, connection extras are propagated up to Telecom as an entire bundle. This is not ideal, as any time a change is made to the extras, the bundle needs to be fetched, changed, and then re-set on the connection, where it is parceled to Telecom as a whole. Using how extras on an Intent as inspiration, this CL adds separate putExtras, putExtra, and removeExtra methods to allow manipulation of the extras bundle without operating on it in its entirety. This Cl also adds support for Calls modifying the extras bundle, with changes propagated back down to ConnectionServices. Bug: 27458894 Change-Id: I152340a3bca2dc03f170b06b172a6823410fb961
2016-03-17DO NOT MERGE Add new ConnectionEvent API (hide) to send a notification to ↵Tyler Gunn
Telecom Connection event used to inform Telecom that it should play or stop the on hold tone. This is used to play or stop a tone when the peer puts the current call on hold. BUG=25357778 Change-Id: I2669f8f5062449784a712b9dd28e576326fcc679
2016-03-14Add API support for multi-endpoint.Tyler Gunn
This CL includes changes required to support multi-endpoint (see the design doc linked off the bug). Main changes include: - support for indicating if a call/connection is "external" to the device. - support for indicating if an external call can be pulled from the remote device to the local device. - API used to initiate a pull of a call external to the current device to the current device. - Made the "connection event" API public (was previously @hide); this will be used to support passing some error events involving pulling calls to the incall ui. - Added new InCallService metadata which will be used to determine if an InCallService wants to be informed of external calls. - New disconnect causes which will be used to expose the fact that a multi-endpoint call was answered elsewhere and that a call ended because it was pulled to another device. - New call log call types to indicate if calls were answered elsewhere or pulled to another device. Bug: 27458894 Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
2016-02-25Merge "Add APIs to support CDMA add-call limitations." into nyc-devSantos Cordon
2016-02-17Add APIs to support CDMA add-call limitations.Santos Cordon
Bug: 22850789 Change-Id: I63de958c6c788a7da5696416e59d2f43cbe633cc
2016-02-16Add new ConnectionEvent API (hide) to send a notification to TelecomTyler Gunn
Connection event used to inform Telecom that it should play or stop the on hold tone. This is used to play or stop a tone when the peer puts the current call on hold. BUG=25357778 Change-Id: I2669f8f5062449784a712b9dd28e576326fcc679
2015-12-01Merge "DO NOT MERGE ANYWHERE" into cw-e-devBryce Lee
2015-11-30Merge "Add callback for connections to be notified when the ringer is ↵Bryce Lee
silenced." into cw-e-dev am: 52bdf11583 am: b241487c16 am: 64e41590d2 am: 0ca7de9031 * commit '0ca7de90310034d118f21343a69a38ebc02dd0bc': Add callback for connections to be notified when the ringer is silenced.
2015-11-17Add callback for connections to be notified when the ringer is silenced.Bryce Lee
Bug: 25644529 Change-Id: Ie7dc9028cf6243d98b2d87ca4c8b3ffcd31e3676
2015-11-17DO NOT MERGE ANYWHEREBryce Lee
Add ability to set supported audio routes on phone accounts and connection. The set audio routes are used by Telecom to restrict where the audio may be routed to. For example, an account can specify that calls may not be routed over bluetooth headsets, which will prevent a new call from being routed to this source. Bug: 25485578 Change-Id: Ia1ca665e9ae8852a2538ab7cbeb3a73217d9b03b
2015-09-17Merge "Support for Telecom Call IDs."Tyler Gunn
2015-09-01Support for Telecom Call IDs.Tyler Gunn
Add support for caching telecom call ID in connection and conference classes. Enhance connection service call ID generation: For "existing calls", the connection service will try to use a call ID of the format ClassName@ID Where ClassName is the ComponentName of the connection service, and ID is a unique incrementing ID for the connection service. Bug: 23357902 Change-Id: I2284b018465e2b330fc8a3b556758e9f34a2daba
2015-08-28Add capability for a connection hand rejection text response.Bryce Lee
Change-Id: Id90417736bed7ab8750144ccaf3c7b449ec832b8
2015-07-16am 5aff3b54: Merge "Maintain call time across SRVCC (2/3)." into mnc-devRoshan Pius
* commit '5aff3b5489262ccff4b6f9e18e0d990ebfe4d7bc': Maintain call time across SRVCC (2/3).
2015-07-15Maintain call time across SRVCC (2/3).Roshan Pius
When an IMS conference call encounters an SRVCC event requiring a fallback to GSM/CDMA, we need to maintain the call time for the conference host across this fallback. So, adding a connectTime attribute in the underlying conference host's connection object which can be used to account for the call time from the now inactive conference call into the new call created. BUG: 21918593 Change-Id: I13e7ae6e31f004e798776c02ac7a6ac09a10f0bd
2015-07-06Added support for mid-call enabled SRVCC conference callShriram Ganesh
When TelephonyConnection is created for an unknown connection, the recalculation of conference participants have to be retriggered. This is because, unless that TelephonyConnection is added to ConnectionService, it cannot be added as part of a conference call in CallsManager. Change-Id: Ic9359104f02eddff655d84fd25f5c28c9158e5f4
2015-06-29Telecom API council changes.Santos Cordon
- adding more javadocs. - fixing javadoc on isEnabled - renaming to CONFIGURE_PHONE_ACCOUNT Bug: 21573551 Change-Id: Ice035b8573a08ea18181a73c9e9a462520a934f1
2015-05-28Add extras to Connections/Calls. (1/3)Santos Cordon
Two major changes: 1) Add the notion of extras to a Connection. These extras will be parceled through to InCallService as Call.getExtras() 2) The previously existing Call.getExtras() has been renamed to getIntentExtras(). This name better describes the fact that these particular extras are from the original CALL or INCOMING_CALL intents. Change-Id: I08c1baf4f08d54757f98012f0c08b423a707c53d
2015-05-14Merge "Add BIND_TELECOM_CONNECTION_SERVICE permission" into mnc-devYorke Lee
2015-05-13Add BIND_TELECOM_CONNECTION_SERVICE permissionYorke Lee
Bug: 21088342 Change-Id: I465307899d83c4a3ee5e88a28554c4b867c1f4ba
2015-05-13Rename AudioState to CallAudioStateYorke Lee
Deprecate AudioState class and make methods @SystemApi where necessary to minimize impact to SystemApi Replace usages of AudioState inside Telecom sub-systems Fire both onCallAudioStateChanged and onAudioStateChanged callbacks for backward compatibility Support both setAudioState and setCallAudioState for all classes Bug: 21040387 Bug: 21088300 Change-Id: I3ec7b3afdaa344c6d639d1c421f1842d67f7d0f7
2015-05-08Un-@hiding some missed VT APIs.Tyler Gunn
Bug: 20947116 Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2
2015-05-01Merge commit '17455a3' into master_mergePrerepa Viswanadham
2015-04-28Add plumbing for merge failures and renable button. (3/4)Anthony Lee
The merge failure is not plumbed up through any layer that can trap the callback and act on it. The first part of this fix is to create that plumbing. Then we need to reenable the merge button. At this point in time, we leverage the fact that forcing the call to reassess its capabilities will poke the InCallUI to reenable the merge button. In the future, we should plumb the merge failure all the way to InCallUI and not only handle the button but display UI to the user. The UI is currently being displayed by CallNotifier which is the wrong place. See b/20530631 for more details. Bug: 20229905 Change-Id: I0355ada46b484c6db4bee656c77386dd61be5e1f
2015-04-24Merge commit '7f61051' into merge2Etan Cohen
2015-04-20Merge "API Cleanup - rename IConferenceable to Conferenceable."Tyler Gunn
2015-04-20API Cleanup - rename IConferenceable to Conferenceable.Tyler Gunn
Bug: 20165255 Change-Id: If4cb323749b6ef9e8657506434d760d07c34167f
2015-04-16DO NOT MERGE Remove connection substateJay Shrauner
Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
2015-04-16Remove connection substateJay Shrauner
Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
2015-04-16Fix missing comma.Andrew Lee
Change-Id: Ied739e7f1b6d548237821db553f27994b0ee92af
2015-04-16resolve merge conflicts of edc625f to m-wireless-dev.Andrew Lee
Change-Id: Ibbcd764505ccc38f9f61c96993d979a099f1cc6b
2015-04-15DO NOT MERGE Make Telecom/InCallUI APIs publicJay Shrauner
Bug:20260870 Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
2015-04-15Make Telecom/InCallUI APIs publicJay Shrauner
Bug:20260870 Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
2015-04-15Add StatusHints to Conference object.Andrew Lee
+ Consolidated ParcelableConference constructors; only one is used. Bug: 20181703 Change-Id: Iad49f10404e1c1eedc4ef68525bde0f10a8dfc97
2015-04-01IMS-VT: Upgrade/Downgrade changeRekha Kumar
-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-01-12Fix for call timer resetting when starting IMS conference call. 1/4Tyler Gunn
- Added support in Conference for specifying the connect time when the conference is created. Bug: 18959443 Change-Id: I501edde3b62f6bf021eb7455089e80626013da12
2014-12-16Pass onPostDialChar call back from Telephony to Telecom.Nancy Chen
Add plumbing to alert Telecom every time a character is processed after the post dial wait state (the processing happens in Telephony). Bug: 18644688 Change-Id: I487d76aa9c959ca528c6377374aa35c2d0b4a803
2014-11-28Telecom API updates (1/6)Ihab Awad
Bug: 18292176 Change-Id: I060366234a5a60510c385dc837f2b7e79596eaf5
2014-11-17Change Connections to allow setting conferenceable with conferences.Tyler Gunn
- Added IConferenceable interface used so that connections and conferences can both be considered candidates as "conferenceable" with a connection. - Fixed ConnectionService#conference to support cases where either call 1 or call 2 is a conference and the other is a connection. Previously did not support cases where call 2 is a conference. Bug: 18200934 Change-Id: I32a8dd30a154d6280f2ae89fd147817235998465
2014-11-10Apply @hide / @SystemApi to android.telecom.*Evan Charlton
Move the android.telecom.* namespace back to @hide, and also mark it with @SystemApi so that system-privileged apps can use them. Bug: 18302450 Change-Id: I33ae1b9b0dfdb1c5eff51ca3c829196bcfc9411c
2014-11-06Change access to removeConnection so we can override it.Anthony Lee
Bug: 18056632 Bug: 18240234 Change-Id: I4e82051a27f3565e9a854df8b27c35300cdbe2ad
2014-10-31Even, Even more telecom javadoc.Santos Cordon
Bug: 18142177 Change-Id: Ic952f3a81cb957bc5b9b6d0aa755adaab9fb74aa
2014-10-30Creating connections for conference event package participants.Tyler Gunn
- Add "addExistingConnection" method to connection service which provides a way for a connection service to notify telecom of a pre-existing connection (connections are normally created through telecom). - Modify TelephonyConferenceController to retrieve its state from a multiparty connection in the conference (in the case of IMS calls, this would be the ImsCall that manages the conference) instead of just taking the first one. Bug: 18057361 Change-Id: I26993aec54ecb0ce90ae6983fd3eed9d8d0a5773
2014-10-07am 770ed6ec: Fix build breakYorke Lee
* commit '770ed6ec920ec10798c5b7a7b4850ccc0b2a531f': Fix build break
2014-10-07Fix build breakYorke Lee
Bug: 16852844 Change-Id: I227aab0afdf4a5a5cd5dc38e7af055b7a1b94729 (cherry picked from commit 9858af0ec68ad28db60047587c8eb6232b4a6591)