summaryrefslogtreecommitdiffstats
path: root/telecomm
Commit message (Collapse)AuthorAgeFilesLines
...
* Expose call settings as public API (1/3)Yorke Lee2014-07-211-0/+6
| | | | | | | | Other settings activities like wifi settings, mobile network settings etc are all accessible by third party apps via public intents, so make CallFeaturesSettings similarly available. Bug: 16298644 Change-Id: Ia615797e20f396a38fe382f3a2d54ec41c5249ef
* Merge "Add video call profile constructor which takes video state only." ↵Andrew Lee2014-07-191-0/+9
|\ | | | | | | into lmp-dev
| * Add video call profile constructor which takes video state only.Andrew Lee2014-07-211-0/+9
| | | | | | | | | | Bug: 16014280 Change-Id: I218256ae1e20783084412758cf5a44f7f5dec52e
* | Sent initial data to telecomm on connection creation. (1/3)Santos Cordon2014-07-217-28/+228
| | | | | | | | | | | | | | | | | | 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
* | Catch RemoteException when setting the camera or zoom.Andrew Lee2014-07-211-4/+10
|/ | | | | Bug: 16014280 Change-Id: I7542a0f294929fac589260ab596730d89948c89e
* Revert "Change display Strings to CharSequence (1/2)"Santos Cordon2014-07-212-16/+16
| | | | | | This reverts commit b5e0084414258ff294e7d94bcf9f8492f8ab2d25. Change-Id: I095483414f5e0076c0967b6f1955a0fe71f2b8d9
* Change display Strings to CharSequence (1/2)Santos Cordon2014-07-212-16/+16
| | | | | Bug: 16416927 Change-Id: I81cd3572f3931cd97611621a1db12bea165bda56
* Change telecomm APIs from protected to public (1/3)Santos Cordon2014-07-214-23/+23
| | | | | Bug: 16416927 Change-Id: I859c80a120fa59bba12a5c6bfca17fa57613a6aa
* Move ACTION_CONNECTION_SERVICE into ConnectionService. (1/3)Santos Cordon2014-07-212-7/+9
| | | | | Bug: 16416927 Change-Id: If2d1c19134d2245677f7e0b3d94b118d9b50e751
* Merge "@hide CAPABILITY_CALL_PROVIDER" into lmp-devEvan Charlton2014-07-181-0/+2
|\
| * @hide CAPABILITY_CALL_PROVIDEREvan Charlton2014-07-201-0/+2
| | | | | | | | | | | | Until this API is fleshed out, leave ourselves room to tweak it. Change-Id: Iddedb629d6fa02a56cd2041686dbe54ea5e4793b
* | Rename InCallCall to ParcelableCall (1/2)Santos Cordon2014-07-216-65/+67
|/ | | | | Bug: 16416927 Change-Id: Iae97d83ce74b4395d6877cc167d7e5057dac201b
* Merge "Rename setDestroy() to destroy()" into lmp-devEvan Charlton2014-07-171-1/+1
|\
| * Rename setDestroy() to destroy()Evan Charlton2014-07-201-1/+1
| | | | | | | | Change-Id: I6bb46e679f55547b902d5850ab450e5d3818fa63
* | Change incoming call intent to a TelecommManager method. (1/3)Santos Cordon2014-07-202-53/+81
| | | | | | | | | | | | | | Also moves a few constants from TelecommConstants to TelecommManager. Bug:16416927 Change-Id: I8e74feb228523ed1c186b2f06784d04cb9141f86
* | Rename PhoneAccountMetadata to PhoneAccountEvan Charlton2014-07-2013-108/+106
|/ | | | Change-Id: I4597b14110c1cee7f637ec125b839852ef0f34c4
* Rename PhoneAccount to PhoneAccountHandleEvan Charlton2014-07-2014-130/+130
| | | | Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
* Migrate TelecommConstants to TelecommManagerEvan Charlton2014-07-194-225/+199
| | | | Change-Id: Icdd7637ba1ae27ce7d1f13714257b4a946961037
* Add a notion of the subscription numberEvan Charlton2014-07-193-8/+23
| | | | | | | | | Expose the actual subscription number so that it can be exposed when necessary (such as during emergency calls, when it doesn't match the line 1 number). Bug: 13333595 Change-Id: I0d3b2cfcea08aeba760c392c116303f21beb70d3
* InCallService to inherit directly from Service. (1/2)Santos Cordon2014-07-191-17/+17
| | | | | Bug: 16416927 Change-Id: I31584556c79e49132c628a0f8f25c372eb4e9b3c
* Fixing ADD_CALL (1/3)Santos Cordon2014-07-191-0/+6
| | | | | Bug: 16241726 Change-Id: Ie1dd72a79c2430b10b0239dbdda5508edbc8eb26
* Fix incomplete move of flags from PhoneAccount to PhoneAccountMetadataIhab Awad2014-07-182-8/+7
| | | | Change-Id: I91c0d6be76030117ed3cf6d6d5f7514b4d4802ad
* Add Connection.startActivityFromInCallSailesh Nepal2014-07-1811-7/+127
| | | | | | | | | | | | | | 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
* Use main thread for RemoteConnection callbacksSailesh Nepal2014-07-181-66/+229
| | | | | | | | Currently call backs from RemoteConnection can happen on non-main threads. This CL updates the code to always use the main thread. Change-Id: I134c0fbdba1f916f49676c0c6696ac63bcb7c513
* Merge "Add comments for RemoteCallVideoClient and RemoteCallVideoProvider." ↵Andrew Lee2014-07-172-0/+124
|\ | | | | | | into lmp-dev
| * Add comments for RemoteCallVideoClient and RemoteCallVideoProvider.Andrew Lee2014-07-182-0/+124
| | | | | | | | Change-Id: I521be8fd0e898c78864dab62593d26806eb11fec
* | Wire up multi-SIM experience (1/4)Ihab Awad2014-07-185-85/+127
| | | | | | | | Change-Id: Ib63843267f06b329a675e7ea86167b2cbb554f1b
* | Wiring video state through from ConnectionTyler Gunn2014-07-187-4/+100
|/ | | | | | Bug: 16285417 Bug: 16013178 Change-Id: Ia48959248ca22f4569b0ffd01a1716470aa0a711
* Merge "Pass through video state when answering a call." into lmp-devAndrew Lee2014-07-177-15/+30
|\
| * Pass through video state when answering a call.Andrew Lee2014-07-177-15/+30
| | | | | | | | | | | | Bug: 16013878 Bug: 16015750 Change-Id: Ia9ba6e5f78fcb64e1089db99f5ce11d0ef858ac9
* | Plumb through StatusHints change notificationsEvan Charlton2014-07-173-5/+28
|/ | | | | | | | | | | When StatusHints are modified, inform listeners. Also expose two constants for passing optional strings from the CallService to the in-call UI. Bug: 13334257 Bug: 13334252 Change-Id: If7fde7c1ca6940cec8b7232469a22900c36dbb17
* API changes to enable account selection for a callNancy Chen2014-07-174-0/+40
| | | | | | | | | 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
* Add toString & equals helper methods to PhoneAccount.javaSantos Cordon2014-07-171-0/+22
| | | | | Bug: 16292368 Change-Id: I5dd2bcd2d65e856107ac2f80958e8b408abcec0b
* TTY: frameworks/base changesSailesh Nepal2014-07-165-24/+136
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Adding getVideoState method to Telecomm Call's details.Andrew Lee2014-07-161-0/+7
| | | | | Bug: 16013878 Change-Id: I07b219c0952543b7c27694ae06f0eb468a17f1ee
* Add VideoState member variable to InCallCall.Andrew Lee2014-07-152-6/+26
| | | | | Bug: 16015750 Change-Id: Idee72075e992a94423a3ca7882959fbde03c4434
* Add support for remote incoming callsSailesh Nepal2014-07-148-205/+134
| | | | | | | | | | 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-148-500/+13
|\ | | | | | | into lmp-dev
| * Remove CallServiceProvider and CallServiceDescriptor do not mergeSailesh Nepal2014-07-148-500/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Merge "Implement multi-SIM capabilities (1/6) [DO NOT MERGE]" into lmp-devSantos Cordon2014-07-146-131/+338
|\ \
| * | Implement multi-SIM capabilities (1/6) [DO NOT MERGE]Ihab Awad2014-07-146-131/+338
| | | | | | | | | | | | | | | | | | | | | | | | - Split PhoneAccount into PhoneAccount & PhoneAccountMetadata - Move PhoneAccount methods from TelephonyManager to TelecommManager Bug:16292368 Change-Id: Ib440368d6bd0572b63c942360450fde5c27d84b9 (cherry picked from commit 936b3552b4a3569be9904c826b95b632886fb45d)
* | | Introduce new In-Call Service interfaceIhab Awad2014-07-147-127/+1058
| |/ |/| | | | | | | Change-Id: I2dd8494f6e397c49180b19d1347c62edcae9b4e7 (cherry picked from commit e225fecca486858e8195eaf09d172a70fe7d632b)
* | Add Intent to configure ConnectionServiceEvan Charlton2014-07-141-0/+6
|/ | | | Change-Id: I187cb48f5b763fadeb5346fca34b0dc4ae7e4d43
* Misc Telecomm API changesSailesh Nepal2014-07-1215-218/+287
| | | | | | | | | | | | | | | | 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
* Fix exception in ConnectionServiceAdapter.binderDiedSailesh Nepal2014-07-111-2/+6
| | | | | | Bug: 16215975 Change-Id: I49e7c77c01f306995bb743523436c7620c48a568
* Adding call capabilities to indicate whether call supports VT.Tyler Gunn2014-07-101-0/+12
| | | | | Bug: 16213105 Change-Id: Icb05d3f0f6bd90b2c45bdfb7b199f38aaecc16ca
* Set the call video provider again after listeners are added.Andrew Lee2014-07-102-0/+13
| | | | | Bug: 16043064 Change-Id: I97fecd71fbf2f27721e80fd6ba58c408884472e7
* Add Connection.setCallCapabilitiesSailesh Nepal2014-07-096-24/+38
| | | | | | | 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-0810-3/+224
| | | | | | | | 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