summaryrefslogtreecommitdiffstats
path: root/telecomm
Commit message (Collapse)AuthorAgeFilesLines
* Fix emergency callback number not shown for incoming calls.Tyler Gunn2015-03-112-0/+22
| | | | | | | | | - Adding new Connection/Call capability: CAPABILITY_SHOW_CALLBACK_NUMBER. - Used in Telephony to indicate on an incoming call that the callback number should be shown. Bug: 18689292 Change-Id: I1ab3baf9f0d5a22c4b01e6504e88d496182e01c7
* Merge "Indicate local and remote RX/TX capabilities for VT." into m-wireless-devAndrew Lee2015-03-112-16/+100
|\
| * Indicate local and remote RX/TX capabilities for VT.Andrew Lee2015-03-102-16/+100
| | | | | | | | | | | | | | | | | | | | | | This provides more granular API support for representing the mix of state and capabilities of local and remote video clients. For our implementation, we are primarily concerned with bidirectional video calling. But, this provides support for representing certain error scenarios, and flexibility for other parties which may desire to implement one-way video calling. Change-Id: I0373ffd377c3547fa8dd98ab5fde4f8d616a1d2f
* | Helper methods for voicemail status provider.Nancy Chen2015-03-111-114/+0
|/ | | | | | | | | | | Added method to make it easier to insert into the voicemail status table. Also takes in a phone account for future multi-SIM support. Remove VvmSyncService class in favor of moving most of the code to OmtpVvmSyncService. Bug: 19236241 Change-Id: I5d9def276fbdbc6f825fb35e9fa31bfc3cead1ba
* Hide calllog entries for unregistered phone accountsSantos Cordon2015-03-051-0/+9
| | | | | | Cherry-picked from master Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
* Add frameworks classes and methods necessary for VVM syncadapter structure.Nancy Chen2015-03-023-0/+479
| | | | | | | | | | | | | | | | | | + VvmSyncService is the base class for all visual voicemail sync services that run the visual voicemail sync adapter. This class handles writing to the voicemail provider and receiving changes from the voicemail provider. + AuthenticatorService is a stub class for visual voicemail sync adapters that do not use an Account (all sync adapters must have an account associated with them, so a stub account is necessary). + Voicemail parcelable object to pass voicemail data around easier. This is mostly copied from VoicemailProviderDemo + Extra helper methods in VoicemailContract to help insert and delete from the voicemail provider. + Add multi-sim fields to VoicemailContract.Voicemails Bug: 19236241 Change-Id: I603e3e5908704cd043e46221680d8bb600ed2cf4
* Small update to PhoneAccountHandle ID javadoc.Santos Cordon2015-03-021-0/+3
| | | | Change-Id: I31832347689e1e9291cd6b9c100918668fa4b056
* Unhide telecom APIs needed by ContactsBrian Attwell2015-03-024-23/+18
| | | | | | | | | | | | | | | | | * Removed @SystemApi and @hide from some telecom classes and APIs * Stopped using explicit @link's to ConnectionService, so that I didn't need to unhide ConnectionService * Added @SystemApi to hidden methods inside classes that I removed @SystemApi from. * Ran update-api. This picked up unrelated Math changes from b/11388705. Unbundling Bug: 18777272 Bug: 11388705 Change-Id: I218e0c3c0ae515d3deb2d3b67657db45a0bad999
* Rename from VoWIFI to WIFI.Andrew Lee2015-02-192-8/+8
| | | | | | | Make capability labeling for calls over Wifi more generic. Bug: 19151548 Change-Id: I8b4adb0fb6f1e09f7c16d2d0f48bc7fe849a289e
* Merge "Fixing conference merge where only one party is added to conference." ↵Tyler Gunn2015-02-021-0/+10
|\ | | | | | | into lmp-mr1-dev
| * Fixing conference merge where only one party is added to conference.Tyler Gunn2015-01-291-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | - Adding "onConferenceStarted" listener for Connections. - This is necessary so that an ImsCall can report the fact that it has went from being a single party call to a multiparty call. This was not previously necessary since the multiparty bit change would be detected when one of the connections being merged changed state. Since we now must defer the establishment of the conference until all connections have been merged, we need a means of detecting when the call becomes multiparty. Bug: 18960042 Change-Id: I3ba138cb546e3efdf89b29d6676d00257a5e00cd
* | Fix crash when making emergency callsSailesh Nepal2015-01-281-1/+5
|/ | | | | | | | | | | | | When making an emergency call the fallback connection manager would crash. The problem was that the connection manager would get a setVideoProvider() call even though it wasn't routing calls. The root cause of this crash is b/19185063. As a short term work around I'm adding a null check to avoid the crash. BUG: 19020123 Change-Id: Ibe4a791882c9b5e21ae629a63f8d89cd3deba828
* Add method in TelecomManager to return line1Number for a PhoneAccount.Nancy Chen2015-01-242-3/+28
| | | | | | | | | | Since we do not want to expose SubIds in the app layer, we need a wrapper to extra the subId from a PhoneAccount and return the value of TelephonyManager#line1Number. Also update error strings to be more consistent. Bug: 19087382 Change-Id: Ie5a474d45336921d1007b36a4d26cd4da68f8b91
* Fix for call timer resetting when starting IMS conference call. 1/4Tyler Gunn2015-01-123-2/+51
| | | | | | | | - Added support in Conference for specifying the connect time when the conference is created. Bug: 18959443 Change-Id: I501edde3b62f6bf021eb7455089e80626013da12
* IMS: Set phone account in IMS Conference objectAnju Mathapati2014-12-171-1/+1
| | | | | | | | Get phone account from conference host connection and set it to ImsConference while constructing Bug: 18690773 Change-Id: I018a84512eb6ce001a8021d148895bf87dddc2ef
* Pass onPostDialChar call back from Telephony to Telecom.Nancy Chen2014-12-167-1/+79
| | | | | | | | 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
* Merge "Associate a UserHandle with each PhoneAccountHandle" into lmp-mr1-devEvan Charlton2014-12-062-7/+47
|\
| * Associate a UserHandle with each PhoneAccountHandleEvan Charlton2014-12-052-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This needs to be tracked so that connections get directed to the correct user. This is not a public API; rather, it will be populated and read only by the Telecom service. Expose a new capability, CAPABILITY_MULTI_USER which can be used by system-privileged apps to indicate that this PhoneAccount may be used by any user on the device. Bug: 17421902 Bug: 17421044 Change-Id: I673904a7ae038c88688bba62642e93174e55c308
* | Merge "Relax access on deprecated fields for compatibility." into lmp-mr1-devIhab Awad2014-12-051-6/+6
|\ \ | |/ |/|
| * Relax access on deprecated fields for compatibility.Ihab Awad2014-12-041-6/+6
| | | | | | | | | | Bug: 18610816 Change-Id: If2398069ecd1c5fa1e49af50527bf817b29fde96
* | Merge "Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)" ↵Nancy Chen2014-12-052-0/+25
|\ \ | |/ |/| | | into lmp-mr1-dev
| * Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)Nancy Chen2014-12-042-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | Since we don't want the phone app to call TelephonyManager methods directly, create a method in TelecomManager to mimic the behavior. The reason we don't return the voicemail number directly is because once TelecomManager becomes public, we don't want any old app to be able to get the SIM's voicemail number. Bug: 18233678 Change-Id: I620af409788aea7b58169b72a563baeed8115080
* | Merge "Re-add Connection.getCallCapabilities" into lmp-mr1-devEvan Charlton2014-12-031-0/+5
|\ \
| * | Re-add Connection.getCallCapabilitiesSailesh Nepal2014-12-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | This method wasn't supposed to be removed. Bug: 18594044 Bug: 18292176 Change-Id: Iac4cc0972643a8271957e480d3f48d50243af271
* | | Change a semi-colon to a colon in AudioState logging.Nancy Chen2014-12-021-1/+1
| |/ |/| | | | | | | | | | | I believe "route;" -> "route:" was the intended context. Bug: 18327621 Change-Id: I5fcd285f58dcd74287937babf3f0a8122dab5d3d
* | Merge "Rename VoLTE capability to HD audio." into lmp-mr1-devAndrew Lee2014-12-022-8/+8
|\ \ | |/ |/|
| * Rename VoLTE capability to HD audio.Andrew Lee2014-12-012-8/+8
| | | | | | | | | | | | | | | | This is a more specific and less technology-specific title for communicating this to Dialer/InCall. Bug: 18103173 Change-Id: I70ad50bb09eb807a621259976bb9fb7953a9a8aa
* | Fix immutability bug in http://ag/587241Ihab Awad2014-12-021-1/+5
|/ | | | | Bug: 18292176 Change-Id: Icf1f717d76f042d9950a1d8cca9def061de1c1b8
* Fix to a compatibility patch that was missed in ag/587241Ihab Awad2014-12-011-1/+1
| | | | Change-Id: I2339085a9a2cc0d6a3f4b5e07130b5178a62c729
* Telecom API updates (1/6)Ihab Awad2014-11-2815-331/+644
| | | | | | Bug: 18292176 Change-Id: I060366234a5a60510c385dc837f2b7e79596eaf5
* Add system API to get registered connection managersSailesh Nepal2014-11-211-0/+10
| | | | | | | | | This API is used to check if we're in the simplified version of the call assistant settings UI or the version that displays a full list. Bug: 18473946 Change-Id: I7dca50ada80b2203bd8d646bb510418646382df8
* Merge "Change Connections to allow setting conferenceable with conferences." ↵Tyler Gunn2014-11-204-25/+146
|\ | | | | | | into lmp-mr1-dev
| * Change Connections to allow setting conferenceable with conferences.Tyler Gunn2014-11-174-25/+146
| | | | | | | | | | | | | | | | | | | | | | - 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
* | Add GENERIC_CONFERENCE to phone capabilities.Andrew Lee2014-11-181-0/+14
|/ | | | | | | | | This is a temporary capability to recognize CDMA conference calls so we can show the right strings in the InCallUi. This should be moved to CallProperties when possible. b/18434985 Bug: 18284408 Change-Id: Ia3e2ff91c8f8a91ff0123df4d3e6a581bdf85895
* Fix PhoneAccount parceling (1/2)Ihab Awad2014-11-111-0/+1
| | | | | Bug: 18343731 Change-Id: Ie69d33cec5e184f1b33d2b4225b8f3dc9ff50f82
* Update PhoneAccount icon API (1/6)Ihab Awad2014-11-111-55/+139
| | | | | | | | Responding to comments by jeffbrown@ in http://ag/574833 Bug: 18291787 Change-Id: I011aa59642f1ca6998bce76a59850909d2daa987
* Apply @hide / @SystemApi to android.telecom.*Evan Charlton2014-11-1014-2/+78
| | | | | | | | 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
* Make add-call a global property of telecom. (1/4)Santos Cordon2014-11-104-6/+52
| | | | | | | | ADD_CALL didn't make sense as a property of Connection or Call. This changes it to be a global property instead. Bug: 18285352 Change-Id: I658e7a6977a848600272cde2914612c8691bb801
* Conference event package performance improvement.Tyler Gunn2014-11-061-6/+7
| | | | | | | | | - Instead of sending each participant to the telephony conference controller, all participants are sent at once. This way the conference only needs to be recalculated once. Bug: 18057361 Change-Id: I86205fc7f1d2648bb180fc7eaf3ad611955952f9
* Replace onConferenceChanged with onConnectionAdded.Andrew Lee2014-11-062-7/+8
| | | | | | | | | | | | | | | | This change is motivated by a desire to be able to adjust the phone capabilities of a conference depending on its connections. Turns out Connection is not a good place to do this, because when the conference is set, this code is only fired if the connection service already contains the conference. Conference makes more sense to do this anyways, at the end of the day. + Add onConnectionAdded function to Conference.java. - Remove onConferenceChanged function from Connection.java. Bug: 18241753 Change-Id: Ib9212a8483a7a7b542618697399bbab8b2701b04
* Change access to removeConnection so we can override it.Anthony Lee2014-11-061-1/+2
| | | | | | Bug: 18056632 Bug: 18240234 Change-Id: I4e82051a27f3565e9a854df8b27c35300cdbe2ad
* Merge "Make APIs to get system phone accounts public" into lmp-mr1-devSailesh Nepal2014-11-061-4/+0
|\
| * Make APIs to get system phone accounts publicSailesh Nepal2014-11-061-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This is used by Wi-Fi calling to handoff and incoming call to a cellular call. For example, when doing an handoff we can look through the outgoing phone accounts and find the one that the user has verified with their google account. We can then handoff to that phone account. Bug: 17686424 Change-Id: I06d42aa8f4a36d11e5293ed6f7c62b796226f5c1
* | Merge "Add CONNECTION_MANAGER_NOT_SUPPORTED to DisconnectCause" into lmp-mr1-devSailesh Nepal2014-11-061-3/+17
|\ \
| * | Add CONNECTION_MANAGER_NOT_SUPPORTED to DisconnectCauseSailesh Nepal2014-11-051-3/+17
| |/ | | | | | | | | | | | | | | | | This CL adds a new disconnect cause. Connection managers can specify this disconnect cause when it doesn't want to route calls. Bug: 16903083 Change-Id: I05822991c5c34ca3533652a10fbcb8845a604925
* | Merge "Adding method to get disconnect cause from conference" into lmp-mr1-devmike dooley2014-11-061-0/+7
|\ \ | |/ |/|
| * Adding method to get disconnect cause from conferencemike dooley2014-11-041-0/+7
| | | | | | | | | | Bug: 17842499 Change-Id: Ifb6e61d50d66aa8e8299e7024b2ab6d1d0f9d878
* | Support disconnecting conference participants from conference.Tyler Gunn2014-11-041-0/+9
|/ | | | | | | | | | | | - Added "onDisconnectConferenceParticipant" method used to inform a connection acting as the conference host that one of the participants should be disconnected. - Added "VIRTUAL_CALL" PhoneCapability used to indicate that a call cannot be the active or background call, but only be a child of another call. Bug: 18228141 Bug: 18176606 Change-Id: I7aec631cc89c0f08e174b24ce3a9cb547b47e36b
* Merge "Adn queries for multi-SIM. (2/3)" into lmp-mr1-devNancy Chen2014-11-042-1/+25
|\
| * Adn queries for multi-SIM. (2/3)Nancy Chen2014-11-032-1/+25
| | | | | | | | | | | | | | | | Define a method in Telecom to take in a subscription account and return the URI for an ADN query for that account. Bug: 17917937 Change-Id: Ic50a4add7fe44a5164271dc9c9e5a58e45e72336