summaryrefslogtreecommitdiffstats
path: root/telecomm
Commit message (Collapse)AuthorAgeFilesLines
* Fix hangouts conference calling regression.mike dooley2014-10-091-1/+1
| | | | | | | | Check the connection-by-id hash table instead of conference-by-id hash table when setting conferenceable connections. Bug: 17919110 Change-Id: Ia8a5ab3fb96926e600d21eca7737a0044b233563
* Fixing where call goes from disconnecting to active to disconnecting state.Tyler Gunn2014-10-072-0/+21
| | | | | | | | | - Adding disconnecting state to telecom used to communicate that a call is being disconnected to InCall UI (rather than it existing only as a state in the InCall UI). Bug: 17821930 Change-Id: I6c2d9521915ba154c0468eea62c12c30060edd2e
* Fix build breakYorke Lee2014-10-061-0/+2
| | | | | Bug: 16852844 Change-Id: I227aab0afdf4a5a5cd5dc38e7af055b7a1b94729
* Add ability to add sim-initiated MO call to UI (2/4)Yorke Lee2014-10-065-9/+74
| | | | | | | | | Add supporting (hidden) APIs to TelecomManager to add the ability to add a previous unknown call to Telecom Bug: 17787391 Change-Id: Ibdfaee81a55e11451c146751cf970980dccad435
* Add @SystemApi to missing TelecomManager methodsEvan Charlton2014-10-021-0/+3
| | | | | | | | | | | | A few methods (which should be exposed) were missing @SystemApi annotations. TelecomManager#addNewIncomingCall TelecomManager#registerPhoneAccount TelecomManager#unregisterPhoneAccount Bug: 17786491 Change-Id: Idf318cf6238668762c00ed0913a9c0ccd5bcb884
* Refine implementation of GSM conferences (1/3)Ihab Awad2014-09-305-11/+114
| | | | | Bug: 17684223 Change-Id: I05d05b594803ea2c1da4247111b70ad5f870ac46
* Adding support for Cdma conference calling.mike dooley2014-09-251-0/+14
| | | | | | | | Adding methods to merge and swap Cdma conference calls from hangouts. Bug: 17658943 Change-Id: I0ce472415e3455503223fc0dab5e1a8ee415cde9
* Merge "Hide CarrierPrivilege APIs in TelMgr." into lmp-devJunda Liu2014-09-251-3/+0
|\
| * Hide CarrierPrivilege APIs in TelMgr.Junda Liu2014-09-251-3/+0
| | | | | | | | | | | | | | Per API council decision, we will polish and public in MR1. Bug: b/17639966 Change-Id: Id009cd62b4d44dd17fe7a30e0f8037c6fb373c32
* | Merge "Fix NPE crash when mPhone is null" into lmp-devJay Shrauner2014-09-231-0/+4
|\ \
| * | Fix NPE crash when mPhone is nullJay Shrauner2014-09-221-0/+4
| |/ | | | | | | | | Bug:17609710 Change-Id: Idb99feb6f15fd29809adde51cda1eb0d44e20101
* | Fixing ConcurrentModificationException.mike dooley2014-09-231-5/+5
| | | | | | | | | | | | | | Implementing review feedback. Bug: 17572658 Change-Id: I3a060d21669a58188a24c5d6ec5fefcbca45a976
* | @hide ConnectionService APIs.Tyler Gunn2014-09-2314-1/+54
|/ | | | | Bug: 17569532 Change-Id: I68f7237191bd6d7a1a00ba7bb4fd2f8e3d669e8f
* Pass disconnect reason for failed remote connectionsSailesh Nepal2014-09-201-1/+5
| | | | | | | | | | | | If a remote connection fails to create call setDisconnected instead of setState. This allows us to pass the disconnect reason. Note, this CL is very low risk since it only impacts remote connections. Bug: 17594857 Change-Id: Id296f3f5a4bb9168b358d3bfda94e04623a6b99c
* Add constructor for DisconnectCause that does not require a tone.Nancy Chen2014-09-192-1/+12
| | | | | | | | In order to create a DisconnectCause with a label/description that does not require specifying a tone. Bug: 17486242 Change-Id: If82605ff20fc9f53ed41b49e12575424c6efc2b6
* Replace get*PhoneAccounts* public API methods with new method (1/3)Nancy Chen2014-09-173-30/+59
| | | | | | | | | | 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
* Add playDtmfTone, stopDtmfTone and setAudioState to RemoteConferenceYorke Lee2014-09-161-0/+21
| | | | | Bug: 17512380 Change-Id: Ie26bef643bdec97f64247b5f8099f2676ae6c63e
* Merge "Add missing methods to Conference object" into lmp-devYorke Lee2014-09-172-3/+56
|\
| * Add missing methods to Conference objectYorke Lee2014-09-152-3/+56
| | | | | | | | | | | | | | | | Add setAudioState, onPlayDtmf and onStopDtmf to the conference object. This fixes DTMF tones for conference calls. Bug: 17512380 Change-Id: Ice9403d3d750131f077a3ea129b7f67430c68348
* | Merge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-devNancy Chen2014-09-173-106/+24
|\ \
| * | Remove ability to enable/disable phoneaccounts (1/6)Nancy Chen2014-09-163-106/+24
| |/ | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Fix disconnect log printf in ConnectionService." into lmp-devAndrew Lee2014-09-171-1/+1
|\ \
| * | Fix disconnect log printf in ConnectionService.Andrew Lee2014-09-161-1/+1
| | | | | | | | | | | | | | | Bug: 17534940 Change-Id: I41499701d1f7a3ab0816624d27094c6c86fb5b01
* | | Fix a small printf format bug.mike dooley2014-09-161-1/+1
|/ / | | | | | | | | Bug: 17534940 Change-Id: Idc3c1105c72714f138b07012d0ad9e0bf0ba17f1
* | Add new DisconnectCause class to telecomm.Andrew Lee2014-09-1614-197/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 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
* | No longer require READ_PHONE_STATE permission for getCallStateYorke Lee2014-09-151-4/+0
|/ | | | | Bug: 17510808 Change-Id: Id3bb5bf2fea9489bd613063aa946389e8ceb3104
* Pipe TelephonyManager.getCallState through TelecommManagerYorke Lee2014-09-142-1/+31
| | | | | | | | | | | | * 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-1251-325/+314
| | | | | | | | | | - 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
* Merge "Disconnect all connections if telecomm unbinds to the service." into ↵Santos Cordon2014-09-121-0/+20
|\ | | | | | | lmp-dev
| * Disconnect all connections if telecomm unbinds to the service.Santos Cordon2014-09-111-0/+20
| | | | | | | | | | Bug: 1748658 Change-Id: I7bd3d6f28b7fa25f2ee0b308b5dc16d70d67949f
* | Merge "Add intent broadcast when a PhoneAccount is enabled or disabled. ↵Tyler Gunn2014-09-121-0/+18
|\ \ | | | | | | | | | (1/3)" into lmp-dev
| * | Add intent broadcast when a PhoneAccount is enabled or disabled. (1/3)Tyler Gunn2014-09-111-0/+18
| | | | | | | | | | | | | | | | | | | | | - Added intents to TelecommManager.java Bug: 17408536 Change-Id: Ibc7769cf382a1b074e1b12f2b82c6fc8b9903800
* | | Change UI to represent conferenced IMS connections (1/3)Ihab Awad2014-09-111-2/+13
| | | | | | | | | | | | | | | | | | | | | IMS conferenced connnections cannot individually hold or disconnect. Bug: 17451623 Change-Id: Ie945d2c23f752f5403d01668606fe893dca0a882
* | | Merge "API cleanup for RemoteConnection." into lmp-devAndrew Lee2014-09-119-215/+180
|\ \ \
| * | | API cleanup for RemoteConnection.Andrew Lee2014-09-119-215/+180
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 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
* | | Update TelecommManager per API requirements. (1/3)Nancy Chen2014-09-111-6/+28
|/ / | | | | | | | | | | | | | | | | + Add constants GATEWAY_PROVIDER_PACKAGE and GATEWAY_ORIGINAL_ADDRESS - Remove those corresponding constants from private packages + Modify clearAccounts() so it no longer takes an argument. Bug: 17329632 Change-Id: I3794efe5ad1fafe6e22f4a59146859a96a385ed1
* | Make changes to Connection in Telecomm API (1/4)Nancy Chen2014-09-116-46/+4
| | | | | | | | | | | | | | | | | | * onPhoneAccountClicked removed * onSetAudioState -> onAudioStateChanged * onSetState -> onStateChanged Bug: 17329632 Change-Id: Icbba67439317bf1d21f758d58da7c83c4373efa6
* | Allowing enable/disable of phone accounts. (1/3)Tyler Gunn2014-09-113-10/+193
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge "API changes in GatewayInfo, Response, and PropertyPresentation (1/4)" ↵Nancy Chen2014-09-118-71/+59
|\ \ | | | | | | | | | into lmp-dev
| * | API changes in GatewayInfo, Response, and PropertyPresentation (1/4)Nancy Chen2014-09-088-71/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * GatewayInfo: handle -> address, becomes SystemApi * Response: hidden * PropertyPresentation: class goes away, constants move to TelecommManager Bug: 17329632 Change-Id: I6577ed95ed1535aaf66dfa1853eee85ec6c506d2
* | | Merge "Add docs to Conference object." into lmp-devNancy Chen2014-09-101-2/+28
|\ \ \
| * | | Add docs to Conference object.Nancy Chen2014-09-091-2/+28
| |/ / | | | | | | | | | | | | | | | | | | All public methods now have docs. Bug: 17329632 Change-Id: I0a0e87bd3d78bda85524853882f9fe8a4d18401c
* | | Merge "Set remote connection state after setting handle" into lmp-devSailesh Nepal2014-09-101-1/+2
|\ \ \
| * | | Set remote connection state after setting handleSailesh Nepal2014-09-091-1/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This CL sets the remote connection state after setting the handle. This makes it easier to identify the connection for things like ring deduping. Bug: 17448801 Change-Id: Id08ab0bc6a257384842250ced19cd297a58c0b87
* | | Add ForSubscriber suffix to APIs w/ subId argument.Junda Liu2014-09-091-1/+0
| | | | | | | | | | | | | | | Bug: b/17255752 Change-Id: I142d8961aa4c1fa074833f70c404c955caea0870
* | | Enable (@hidden) video connection support for RemoteConnectionsIhab Awad2014-09-086-23/+397
| |/ |/| | | | | | | | | Bug: 16958934 Change-Id: I2c618743a689303f1bec190da53a1ec42d759370
* | Rename methods/variables on PhoneAccount for API cleanup.Andrew Lee2014-09-081-48/+46
| | | | | | | | | | | | | | | | | | | | + Rename from Handle to Address. + Rename from SubscriptionNumber to SubscriptionAddress. + Store the subscription address as a Uri. Bug: 17390175 Bug: 17329632 Change-Id: I67514d89f0e7c81f74bef352df7a55cc422d1c71
* | Merge "Make changes to Telecomm API per review guidelines." into lmp-devNancy Chen2014-09-086-43/+31
|\ \ | |/ |/|
| * Make changes to Telecomm API per review guidelines.Nancy Chen2014-09-056-43/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | Make changes to Telecomm API per review guidelines in bug: * Rename componentName to packageName and getComponentName to getPackageName in StatusHints * Hide "ROUTE_ALL" and fix misspelling in AudioState * Change getHandle to getAddress and remove getHandlePresentation in ConnectionRequest Bug: 17329632 Change-Id: I8b3666cc22d24f470c940825c77a7b4d0701dc16
* | Updating APIs for CDMA conference call support.Santos Cordon2014-09-058-18/+115
| | | | | | | | | | Bug:17316859 Change-Id: Ib80c4dcf99c8599c011496756c363c3e6147c20a