summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add ability to add sim-initiated MO call to UI (2/4)Yorke Lee2014-10-062-1/+7
|/ | | | | | | | | Add supporting (hidden) APIs to TelecomManager to add the ability to add a previous unknown call to Telecom Bug: 17787391 Change-Id: Ibdfaee81a55e11451c146751cf970980dccad435
* Replace get*PhoneAccounts* public API methods with new method (1/3)Nancy Chen2014-09-171-0/+5
| | | | | | | | | | Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme because a third party app should not be able to see all phone accounts registered. Replace instead with getPhoneAccountsForPackage(Context) which will only return the phone accounts registered by a particular package. Bug: 17510811 Change-Id: I8465ef4f13b62fe83f51835cfffe1656298041a8
* Merge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-devNancy Chen2014-09-171-7/+2
|\
| * Remove ability to enable/disable phoneaccounts (1/6)Nancy Chen2014-09-161-7/+2
| | | | | | | | | | | | | | | | | | | | | | Enabling/disabling of phone accounts was only used for SIP accounts and is no longer necessary for the purpose it was put in. - Remove all references to enabling/disabling phone accounts + Rename getEnabledPhoneAccounts -> getCallCapablePhoneAccounts Bug: 17510811 Change-Id: Id805daae3cc698c75f5e747b6a6107ab0bd3afa0
* | Add new DisconnectCause class to telecomm.Andrew Lee2014-09-161-1/+2
|/ | | | | | | | | | | | | | | | + Add a hidden "UNKNOWN" default type to ToneGenerator. - Hide the Telephony DisconnectCause from the public API. + Add a Telecomm DisconnectCause. This is parcelable, and contains information (code, user facing message, non-user facing reason, and tone) to help describe the disconnect state and what behaviors an application can implement for the user experience. This reduces the causes for a disconnect to a more generic set. + Lots of work to pipe this through. DisconnectCause replaces the code and message which were formerly passed around. Bug: 17241433 Bug: 17329632 Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17
* Pipe TelephonyManager.getCallState through TelecommManagerYorke Lee2014-09-141-0/+5
| | | | | | | | | | | | * Add TelecommManager.getCallState (hidden API) * Make TelephonyManager.getCallState call through to TelecommManager, to be consistent with TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcasts for overall call state. Telephony continues to manage call states for individual subscriptions. Bug: 17378767 Change-Id: Ia5e8b21df801ed3af4f6e14c110a72c92f077f88
* Renaming Telecomm to Telecom.Tyler Gunn2014-09-128-62/+62
| | | | | | | | | | - 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
* API cleanup for RemoteConnection.Andrew Lee2014-09-111-3/+3
| | | | | | | | | | | | | + Rename handle to address. + Rename audioModeIsVoip to IsVoipAudioMode. + Rename Listener to Callback. - Delete getParent() and getChildren() methods. - Delete onChildrenChanged/onParentChanged methods. + Rename Listener to Callback. + Rename Callback methods to reflect other changes. Bug: 17329632 Change-Id: Ie466472e995050f578fbb1c4b9de0ae59e488988
* Make changes to Connection in Telecomm API (1/4)Nancy Chen2014-09-112-4/+0
| | | | | | | | | * onPhoneAccountClicked removed * onSetAudioState -> onAudioStateChanged * onSetState -> onStateChanged Bug: 17329632 Change-Id: Icbba67439317bf1d21f758d58da7c83c4373efa6
* Allowing enable/disable of phone accounts. (1/3)Tyler Gunn2014-09-111-2/+22
| | | | | | | | | | | | - added "hasCapabilities" method on PhoneAccount. - added CAPABILITY_PLACE_EMERGENCY_CALLS. - added isEnabled method builder constructor to initialize from an existing PhoneAccount. Bug: 17306514 Bug: 17408536 Change-Id: I57de508b4adcf207f3b29cab449bfc634db80153
* Enable (@hidden) video connection support for RemoteConnectionsIhab Awad2014-09-081-1/+1
| | | | | | Bug: 16958934 Change-Id: I2c618743a689303f1bec190da53a1ec42d759370
* Updating APIs for CDMA conference call support.Santos Cordon2014-09-052-0/+8
| | | | | Bug:17316859 Change-Id: Ib80c4dcf99c8599c011496756c363c3e6147c20a
* Tweak methods for get/set DefaultOutgoing phone account.Andrew Lee2014-09-031-2/+7
| | | | | | | | + Rename setDefaultOutgoing...() to setUserSelected...(). + Add method for getting the UserSelected outgoing account. Bug: 17179743 Change-Id: I7ae24601ed670d3571acb7ef4f7ffd114d403a99
* Merge "Remove startActivityFromInCall API" into lmp-devEvan Charlton2014-09-032-4/+0
|\
| * Remove startActivityFromInCall APIEvan Charlton2014-09-032-4/+0
| | | | | | | | | | | | | | | | Rip out the startActivityFromInCall API until we can replace it with something better. Bug: 16988478 Change-Id: Ib7b0493353262d9e795d78b78a98dd29e7a3f88e
* | Add supported URI scheme to PhoneAccounts. (1/4)Tyler Gunn2014-09-031-2/+7
|/ | | | | | | | Modified PhoneAccount and builder to support specifying supported URI schemes. Bug: 17140110 Change-Id: Ieef33bb1a6719de6f3897ed10ec38843808a7f85
* Merge "Hiding videoState values in telecomm APIs. (1/3)" into lmp-devTyler Gunn2014-08-301-1/+3
|\
| * Hiding videoState values in telecomm APIs. (1/3)Tyler Gunn2014-08-291-1/+3
| | | | | | | | | | | | | | | | | | Hiding in Connection, ConnectionRequest, and ConnectionService. Also @hiding PhoneAccount and PhoneCapabilities attributes related to VT. Bug: 17243002 Change-Id: I685305cddb99e1d2eb767982106253894a8d282f
* | Merge "Add functions for setting/getting phone accounts." into lmp-devAndrew Lee2014-08-291-17/+37
|\ \
| * | Add functions for setting/getting phone accounts.Andrew Lee2014-08-291-17/+37
| |/ | | | | | | | | Bug: 17179743 Change-Id: I821312ae5903f81a5282987189822e77ac55b7ef
* | Merge "Hide AIDL for RemoteServiceCallback in telecomm" into lmp-devNancy Chen2014-08-291-0/+2
|\ \ | |/ |/|
| * Hide AIDL for RemoteServiceCallback in telecommNancy Chen2014-08-281-0/+2
| | | | | | | | | | | | | | Hide raw AIDL for public API Bug: 17320748 Change-Id: I79926f9a527e8916b235186559c01cf00ded2f12
* | API review PhoneManager -> TelecommManager. Rename methods (6/6)Nancy Chen2014-08-251-5/+5
|/ | | | | | | | | | | | PhoneManager - handlePinMMI docs should explain what a Pin is and what MMI is - rename isInAPhoneCall to isInCall - rename showCallScreen to showInCallScreen - merge this class into TelecommManager, we don't need both Bug: 16960458 Change-Id: I7d573e27ed093f2ddb7849703cc62f9916835393
* ConnectionService API has only one completed callback (1/3)Ihab Awad2014-08-191-10/+1
| | | | | | | | | | | | | Refactor ConnectionService API so it has only one "completed" callback, and connection state and failure codes indicates what happened. Previous design where we had separate callbacks for failure, cancellation and success was error prone because it was easy to forget to implement one of them. Bug: 16993846 Bug: 17070939 Change-Id: I84bf5d041cf78193ccf80db201b08db3b7014830
* Update conference call APIs.Santos Cordon2014-08-181-1/+2
| | | | | | | | | | Clean up conference call APIs to use a distinct type separate from Connection. Also allow the addition of Conference calls at any point using addConference() API method. Bug:16844332 Bug:16449372 Change-Id: I34e45fde1aa43559f5f4e29b990929c188b16875
* Final structural tweaks to Telecomm API (1/8)Ihab Awad2014-08-137-39/+43
| | | | | | Bug: 16416927 Bug: 16494880 Change-Id: I45fbe287c410cbb5e1b985f320b862d732811f43
* Fix incorrect connection ID for remote connection serviceIhab Awad2014-08-121-0/+2
| | | | | | | | | | Also cleans up incidental issues including: * Remote connection service disconnects from the service it represents if it is not currently handling any connections; hope to avert excessive service pinning in the future. * Fix destroyed connection handling. Bug: 16828152 Change-Id: Id4555f91ddac5e9c1a12ce00bfd1ee0d6d2cb1d9
* 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