summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com
Commit message (Collapse)AuthorAgeFilesLines
* Aidl changes related to VideoCallProvider in Ims.Andrew Lee2014-08-081-8/+8
| | | | | | | | | | | | | | | + 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
* Add setConferenceable() API from ConnectionService to incall. (1/4)Santos Cordon2014-08-062-1/+3
| | | | Change-Id: I64fdca08d35f893d755e3b154543a261b1418343
* Connection creation and service wiring for WiFi call managers (1/3)Ihab Awad2014-07-291-1/+5
| | | | | Bug: 16469413 Change-Id: I019922f76f54d2fa376513a6284d6322959a8235
* Add new proximity sensors in Telecomm (1/3)Yorke Lee2014-07-291-0/+4
| | | | | | | | | Add the following two APIs in Telecomm and use them in InCallUI setProximitySensorOn setProximitySensorOff(boolean turnScreenOnImmediately) Bug: 16573954 Change-Id: I8219e9c659f4ea4493f5cd5c8bcaa95a98d180e2
* Add VideoCall and VideoCall.Listener as an inner classes of Call.Andrew Lee2014-07-253-21/+18
| | | | | | Bug: 16494880 Bug: 16495203 Change-Id: Ife3b6723374ea5fbbff4927c4f9168d075be21e1
* Sent initial data to telecomm on connection creation. (1/3)Santos Cordon2014-07-211-1/+3
| | | | | | | | | Telecomm was not sending the initial state for new connections forcing the connection services to postpone when they set data on the connection which resulted in hacky code. This CL makes use of a ParcelableConnection to send the intial connection data. Change-Id: If571414aba19fa1bb282e30632431962b8366cf4
* Rename InCallCall to ParcelableCall (1/2)Santos Cordon2014-07-211-3/+3
| | | | | Bug: 16416927 Change-Id: Iae97d83ce74b4395d6877cc167d7e5057dac201b
* Change incoming call intent to a TelecommManager method. (1/3)Santos Cordon2014-07-201-0/+6
| | | | | | | Also moves a few constants from TelecommConstants to TelecommManager. Bug:16416927 Change-Id: I8e74feb228523ed1c186b2f06784d04cb9141f86
* Rename PhoneAccountMetadata to PhoneAccountEvan Charlton2014-07-202-5/+5
| | | | Change-Id: I4597b14110c1cee7f637ec125b839852ef0f34c4
* Rename PhoneAccount to PhoneAccountHandleEvan Charlton2014-07-202-7/+7
| | | | Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
* Add Connection.startActivityFromInCallSailesh Nepal2014-07-182-0/+6
| | | | | | | | | | | | | | This CL adds a new public API to allow Connections to start an activity on top of the in-call UI. The Connection passes a PendingIntent to Telecomm which then forwards it on to InCallUI. The Connection can cancel the operation by calling PendingIntent.cancel(). This allows services like SIP and Hangouts to show dialogs to the user when making a call. Change-Id: I65119a89c925a93467d1b27304ffec9b088b172f
* Wire up multi-SIM experience (1/4)Ihab Awad2014-07-181-1/+6
| | | | Change-Id: Ib63843267f06b329a675e7ea86167b2cbb554f1b
* Wiring video state through from ConnectionTyler Gunn2014-07-181-0/+2
| | | | | | Bug: 16285417 Bug: 16013178 Change-Id: Ia48959248ca22f4569b0ffd01a1716470aa0a711
* Pass through video state when answering a call.Andrew Lee2014-07-172-2/+2
| | | | | | Bug: 16013878 Bug: 16015750 Change-Id: Ia9ba6e5f78fcb64e1089db99f5ce11d0ef858ac9
* API changes to enable account selection for a callNancy Chen2014-07-171-0/+3
| | | | | | | | | If an account default is not set, the incall ui will display a dialog to allow the user to select an account for that particular call. Bug: 16243703 Change-Id: I8faf2f2ce0b2669a141562832f23e8f3ce88f094
* TTY: frameworks/base changesSailesh Nepal2014-07-161-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | This CL makes the following changes: 1. New public APIs: - TelecommManager.getCurrentTtyMode: This is used to get current TTY mode. It's used by Telephony to set the phone state before calls are created (which is why it can't be a Conneciton API). - TelecommConstants.TTY_MODE_*: These are constants copied from Phone.java - TelecommConstants.ACTION_CURRENT_TTY_MODE_CHANGED: This action is fired when the current TTY mode changes. Apps can listen to this before and during a call. The old version of this was in TtyIntent.java which I deleted. 2. New private API - TelecommManager.isTtySupported: This is used by Telephony to hide the TTY settings on devices that don't support TTY 3. Various updates to use the constants renamed in this CL Change-Id: I652b095af30cc2732a06829dc23492e5355660da
* Add support for remote incoming callsSailesh Nepal2014-07-142-8/+5
| | | | | | | | | | This CL allows a incoming call to be handled through the remote connection API. All calls, incoming and outgoing, are now routed through ConnectionService.createConnection. Change-Id: I5232d062ad3b559f4fe7c8224e7234b2c6bf8431
* Merge "Remove CallServiceProvider and CallServiceDescriptor do not merge" ↵Sailesh Nepal2014-07-142-64/+0
|\ | | | | | | into lmp-dev
| * Remove CallServiceProvider and CallServiceDescriptor do not mergeSailesh Nepal2014-07-142-64/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This CL removes CallServiceProvider. Instead of using a provider we'll look up ConnectionServices using the package manager instead. This CL also removes CallServiceDescriptor. For incoming calls, connection services will now pass a PhoneAccount instead of a call descriptor. For outgoing calls we already use PhoneAccounts for everything. Change-Id: I2e40c5c64c0d242dc41b680943d7e9209142db5b (cherry picked from commit 7ade570fdc1ae719abca54867d97dc7f0130d664)
* | Implement multi-SIM capabilities (1/6) [DO NOT MERGE]Ihab Awad2014-07-141-7/+18
|/ | | | | | | | - Split PhoneAccount into PhoneAccount & PhoneAccountMetadata - Move PhoneAccount methods from TelephonyManager to TelecommManager Bug:16292368 Change-Id: Ib440368d6bd0572b63c942360450fde5c27d84b9 (cherry picked from commit 936b3552b4a3569be9904c826b95b632886fb45d)
* Misc Telecomm API changesSailesh Nepal2014-07-123-2/+9
| | | | | | | | | | | | | | | | The CL contains the following Telecomm API changes: - move CallFeatures into CallCapabilities - add Connection.setHandle(URI, CallPropertyPresentation) - add Connection.setCallerDisplayName(String, CallPropertyPresentation) - add Connection.swapWithBackground: this is used to swap a CDMA call with its background call - add StatusHints.getExtras: this is used to display additional status info such as long distance rates This CL also includes InCallServcie, and RemoteConnection plumbing for the above. Change-Id: Iaffe0b84cea6003f2a9b9d8b30676743d2b236d4
* Add Connection.setCallCapabilitiesSailesh Nepal2014-07-091-1/+1
| | | | | | | This will be used to enable things like hold and conferencing. Change-Id: I90238eeefbcbfaa044881d80833b62e4474821d6
* Move showCallScreen & isInAPhoneCall to PhoneManager.Santos Cordon2014-07-091-0/+5
| | | | Change-Id: I852da78ae80eba120932fb7acb1e5c3db2a8f18a
* Add Connection.setStatusHintsSailesh Nepal2014-07-081-0/+3
| | | | | | | | This CL allows a connection to specify a status hint. The hint contains a label and icon that can be displayed in the InCallUI. For example, wifi calling can set a wifi icon and ssid. Change-Id: I125628b74784d2303b9a429038a9f7ee604f241e
* Add Connection.setAudioModeIsVoipSailesh Nepal2014-07-091-0/+2
| | | | | | This API will be used by Telecomm to set the call's audio mode. Change-Id: I29028e614c598d1f2501c4dfdcdbfc929b09f925
* Move ICallService.aidl to IConnectionService.aidlSailesh Nepal2014-07-082-18/+17
| | | | Change-Id: I5a082e50dafea0104174cb97d3ae8af168944fc3
* Remove handoff APIsSailesh Nepal2014-07-023-3/+3
| | | | | | | This CL removes the old handoff APIs and renames handoffCall() to phoneAccountClicked(). Change-Id: Iab1595faaadcdfe428d97891d314babea21e9633
* Move cancelMissedCallsNotification to PhoneManager.Santos Cordon2014-07-021-0/+5
| | | | Change-Id: I2ce26e77ef1f0acc11552bf28efc039391e09766
* Rename Telecomm "Subscription" to "Account" (1/7)Ihab Awad2014-07-021-7/+7
| | | | | | | Change-Id: Ieb29f6ba9dadacb2c7e26969a47141e11a339a40 Conflicts: telecomm/java/android/telecomm/InCallCall.java
* Merge "API support for reporting of changes to call features. (eg VoLTE, ↵Tyler Gunn2014-07-011-0/+2
|\ | | | | | | VoWIFI, etc)"
| * API support for reporting of changes to call features.Tyler Gunn2014-07-011-0/+2
| | | | | | | | | | | | (eg VoLTE, VoWIFI, etc) Bug: 15987281 Change-Id: Iae351ca2fe7b36c067106695f611cca6b3230556
* | Add function set CallVideoClient on the CallVideoProvider.Andrew Lee2014-07-012-6/+10
| | | | | | | | | | | | | | | | | | | | | | - Added implementation of RemoteCallVideoClient. - Filled out the proxy methods on RemoteCallVideoProvider. - Renamed methods on CallVideoClient/CallVideoProvider. Per Santos's advice, this is to distinguish between the methods handling remote communication, and the actual implementation of those methods. Bug: 15893156 Change-Id: I5f433db1faa820dc96913091ce09938ddf40ffdd
* | Merge "Move call-related SystemAPIs to TelecommManager. (1/3)"Santos Cordon2014-07-011-10/+29
|\ \ | |/ |/|
| * Move call-related SystemAPIs to TelecommManager. (1/3)Santos Cordon2014-06-301-10/+29
| | | | | | | | | | Bug: 15672803 Change-Id: I46e448fe93a9c5b4ae013e8b2fd6f0ce89b94e69
* | Added API methods for the CallVideoProvider.Tyler Gunn2014-06-301-1/+22
| | | | | | | | | | | | | | Cleaned up comments in CallVideoClient to match. Bug: 15893156 Change-Id: I9b1268726e64c2b73441272dae8d6a719a32fa16
* | Merge "Add methods to set a CallVideoProvider on a Call."Andrew Lee2014-06-261-0/+3
|\ \
| * | Add methods to set a CallVideoProvider on a Call.Andrew Lee2014-06-271-0/+3
| |/ | | | | | | | | Bug: 15893156 Change-Id: I6ae151bc37d8c0be2e4c9823e9444717b6cdc0de
* | Adding CallVideoClient, used to provide a callback mechanism for theTyler Gunn2014-06-271-0/+44
|/ | | | | | framework to notify the InCallUI of events related to video calls. Change-Id: Ife628b27bcefd8e88df2fc899cbbcfa07cfac90b
* Merge "Add API to cancel outgoing calls"Sailesh Nepal2014-06-251-0/+2
|\
| * Add API to cancel outgoing callsSailesh Nepal2014-06-251-0/+2
| | | | | | | | | | | | This replaces CallServiceSelectorAdapter.cancelOutgoingCall Change-Id: I9e5da9c607675bc3c230f6eb6d1cc149a38bf905
* | Merge "Add a system API to get the default phone app."Santos Cordon2014-06-251-0/+6
|\ \
| * | Add a system API to get the default phone app.Santos Cordon2014-06-251-0/+6
| | | | | | | | | | | | Change-Id: I59ca863d2af43a3b3c26d18b0279fc6e1e13b9b1
* | | Merge "Adding CallVideoProvider to Telecomm."Andrew Lee2014-06-251-0/+26
|\ \ \ | |_|/ |/| |
| * | Adding CallVideoProvider to Telecomm.Andrew Lee2014-06-241-0/+26
| |/ | | | | | | Change-Id: I16c3c64ff2bcda46e0fd95accb360c972f964b9d
* | Remote Connection implementation.Santos Cordon2014-06-242-0/+31
|/ | | | | | API classes for daisy-chaining connection services. Change-Id: I90991697456377b72ec73d2ef835864cb0b7737a
* Replace CallServiceSelectors with Subscriptions (1/3)Ihab Awad2014-06-234-87/+0
| | | | | | | | | | | | Remove CallServiceSelectors and replace them with comprehensive support for Subscriptions as the means of selecting ways of making phone calls. After this change, a ConnectionService is not a semantically meaningful "way of making a call" -- it's more like the mechanism whereby the Android system communicates with a 3rd party process to ask for phone services. We anticipate each process having only one ConnectionService. Change-Id: I11e6e246ae999683b3800496e98c93c3351aca7b
* Revert "Add ability to set and get DefaultPhoneApplication"Yorke Lee2014-06-201-6/+0
| | | | | | This reverts commit 8bdb1ff3279ab9fde0499231580c76dc2533f3c4. Change-Id: Idc6d64820c23a650e5f0113ed8ff0860c61ea6af
* Add methods to TelephonyManager for Subscription management (1/3)Ihab Awad2014-06-171-0/+16
| | | | | | | | | | | | | | | | | | As part of the effort to permit third-party suppliers of telephone connectivity, we permit clients of TelephonyManager to obtain the currently valid Subscription objects describing these suppliers. The Subscriptions are intended to be self-describing such that an end-user can choose from among them based on the information they contain. One of these objects may then be attached to an ACTION_DIAL or ACTION_CALL Intent to represent the end-user's choice of how to make a call. Change-Id: I2ad1930079042d7bfe762b47c22f0538f7403bff Conflicts: telephony/java/com/android/internal/telephony/ITelephony.aidl Conflicts: telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
* Add ability to set and get DefaultPhoneApplicationYorke Lee2014-06-161-0/+7
| | | | Change-Id: I8aa8cb16965106175c538f36915a31cf4830cef2
* DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)Ihab Awad2014-06-131-1/+1
| | | | | | Bug: 15275904 Bug: 15196474 Change-Id: If9aeae519047b221aa2c178d8d2903c4e2054a6d