summaryrefslogtreecommitdiffstats
path: root/telecomm
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Merge "Even, Even more telecom javadoc." into lmp-mr1-devSantos Cordon2014-11-031-8/+58
|\ \ | |/ |/|
| * Even, Even more telecom javadoc.Santos Cordon2014-10-311-8/+58
| | | | | | | | | | Bug: 18142177 Change-Id: Ic952f3a81cb957bc5b9b6d0aa755adaab9fb74aa
* | Merge "Handle MMI for multi-SIM (1/3)" into lmp-mr1-devNancy Chen2014-10-312-0/+31
|\ \ | |/ |/|
| * Handle MMI for multi-SIM (1/3)Nancy Chen2014-10-312-0/+31
| | | | | | | | | | | | | | | | | | + Add Telecomm and Telephony methods for handlePinMMIForSubscriber + Add Select Account dialog in Dialer for MMI Bug: 17917937 Change-Id: I26fdc68a07ca0483bf7a052598fe31b1461fd486
* | Merge "Creating connections for conference event package participants." into ↵Tyler Gunn2014-10-317-2/+143
|\ \ | | | | | | | | | lmp-mr1-dev
| * | Creating connections for conference event package participants.Tyler Gunn2014-10-307-2/+143
| |/ | | | | | | | | | | | | | | | | | | | | | | | | - Add "addExistingConnection" method to connection service which provides a way for a connection service to notify telecom of a pre-existing connection (connections are normally created through telecom). - Modify TelephonyConferenceController to retrieve its state from a multiparty connection in the conference (in the case of IMS calls, this would be the ImsCall that manages the conference) instead of just taking the first one. Bug: 18057361 Change-Id: I26993aec54ecb0ce90ae6983fd3eed9d8d0a5773
* | Merge "More updates to javadocs for Telecom APIs." into lmp-mr1-devSantos Cordon2014-10-304-9/+40
|\ \
| * | More updates to javadocs for Telecom APIs.Santos Cordon2014-10-294-9/+40
| | | | | | | | | | | | Change-Id: I8f8389f521c0d654c9bfdc3ad9670be0d118f480
* | | Merge "Even more javadocs for telecom." into lmp-mr1-devSantos Cordon2014-10-302-19/+38
|\ \ \ | |_|/ |/| |
| * | Even more javadocs for telecom.Santos Cordon2014-10-292-19/+38
| |/ | | | | | | | | Bug: 18142177 Change-Id: I4eefe422ec66bb9e14fd8a3b1ee2cb24fedbff51
* | Merge "Communicating participant changes to conference controller." into ↵Tyler Gunn2014-10-293-0/+195
|\ \ | | | | | | | | | lmp-mr1-dev
| * | Communicating participant changes to conference controller.Tyler Gunn2014-10-283-0/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add new ConferenceParticipant parcelable class which represents a single participant contained in the conference event package. - Adding callbacks/listeners to Connection to handle changes to participant state. Bug: 18057361 Change-Id: Iadfebe84959f30f8e835f282aa994c0b92768aa6
* | | Added a function to clear accounts for a specified package.Anthony Lee2014-10-281-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Right now, clearAcounts() only clears the accounts for the calling package. This new function will allow a class like PhoneAccoutBroadcastReceiver to clear accounts for any package. Bug: 17689845 Change-Id: I24db104268535e7e0e33e093e8fab63765df0b08
* | | Merge "PhoneAccounts include literal icon bitmap (1/4)" into lmp-mr1-devIhab Awad2014-10-281-24/+108
|\ \ \
| * | | PhoneAccounts include literal icon bitmap (1/4)Ihab Awad2014-10-281-24/+108
| | |/ | |/| | | | | | | Change-Id: I9110d983c0ca6610075bd24975f1e90d123ef9c1
* | | Merge "Add comment to TelecomManager.getCallState" into lmp-mr1-devYorke Lee2014-10-281-0/+5
|\ \ \ | |/ / |/| |
| * | Add comment to TelecomManager.getCallStateYorke Lee2014-10-281-0/+5
| |/ | | | | | | | | | | | | | | | | Explain why READ_PHONE_STATE permission is not required so that people don't try to add it in the future. Requiring the permission causes stability crashes with legacy apps and system components that don't have the permission. Change-Id: Idf8766aa409d4a2c4ed3d6f81a398f4a0eb24615
* | Merge "Update javadocs for Telecom APIs." into lmp-mr1-devSantos Cordon2014-10-281-6/+49
|\ \ | |/ |/|
| * Update javadocs for Telecom APIs.Santos Cordon2014-10-281-6/+49
| | | | | | | | | | Bug: 18142177 Change-Id: I78461f3634d281a6927cec9c555825a1bdab7a24
* | Merge "Remove TODO in TelecomManager." into lmp-mr1-devTyler Gunn2014-10-231-1/+0
|\ \
| * | Remove TODO in TelecomManager.Tyler Gunn2014-10-231-1/+0
| | | | | | | | | | | | | | | Bug: 18095076 Change-Id: I6509d295e9e25973040e06be96cf1046edc619ff
* | | Merge "Remove SystemApi annotations." into lmp-mr1-devSantos Cordon2014-10-231-5/+0
|\ \ \
| * | | Remove SystemApi annotations.Santos Cordon2014-10-231-5/+0
| | |/ | |/| | | | | | | | | | | | | | | | SystemApi only makes sense for hidden APIs. Bug: 18097290 Change-Id: I76af5f54321c4010334ef419bb7e066663ec784c
* | | am 0145e17d: Merge "Add getter methods in SubInfoRecord for UI. Adapt ↵Nancy Chen2014-10-231-0/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | PhoneAccount." into lmp-sprout-dev * commit '0145e17db742dff963ea581bc944f99358d2dace': Add getter methods in SubInfoRecord for UI. Adapt PhoneAccount.
| * | | Add getter methods in SubInfoRecord for UI. Adapt PhoneAccount.Nancy Chen2014-10-221-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Settings and Dialer need label, icon, and color for UI display of subscriptions/SIMs. Add getters for these methods in SubInfoRecord. Sets up for the following changes: + getIcon will return a drawable instead of a resource ID + getColor will return a color value instead of an index PhoneAccount will also be adding these changes which will be adopted from SubInfoRecord. Adds changes that were reverted from ag/563976. Bug: 17971273 Change-Id: Ie2beedf8475c6deb48a6ab83bc9656c1142cc004
* | | | am df0ace26: Merge "Add an option to set the selected phone account as the ↵Nancy Chen2014-10-233-9/+12
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | default. (1/3)" into lmp-sprout-dev * commit 'df0ace26279f16beacdf9206cb2a8ecc126aecb7': Add an option to set the selected phone account as the default. (1/3)
| * | | Merge "Add an option to set the selected phone account as the default. ↵Nancy Chen2014-10-233-9/+12
| |\ \ \ | | | | | | | | | | | | | | | (1/3)" into lmp-sprout-dev
| | * | | Add an option to set the selected phone account as the default. (1/3)Nancy Chen2014-10-223-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify the phoneAccountSelected method to support the option to set the selected phone account as the default for outgoing phone calls. Bug: 18078232 Change-Id: I2689bc9611366d521dfd3dc2086fd31eb6393876
* | | | | am 40f15895: am 028217eb: Merge "Add hidden method to access a connection\'s ↵Santos Cordon2014-10-221-0/+7
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | | | | | | | | | | service." into lmp-dev * commit '40f158954491c4d2587e0b2a13cd07195bc27b25': Add hidden method to access a connection's service.
| * | | am 028217eb: Merge "Add hidden method to access a connection\'s service." ↵Santos Cordon2014-10-211-0/+7
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | into lmp-dev * commit '028217eb6789e82c96ef5ff5fe0a5a9e0c740d97': Add hidden method to access a connection's service.
| | * | Add hidden method to access a connection's service.Santos Cordon2014-10-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change exposes a method that is used by the actual fix here: I4e4789c044d9e3614f42143cfa6053881a6d109b Bug: 17962996 Change-Id: Iec3795ea372634120c71b0a80ee046e372569ecf
* | | | Fire onConferenceChanged after reseting conference.Andrew Lee2014-10-211-0/+1
| | | | | | | | | | | | | | | | | | | | Bug: 17423848 Change-Id: Ic53f40e806f2bfd5b49bff2caad64bb93b290bad
* | | | Merge "Add functions to update on conference changes." into lmp-mr1-devAndrew Lee2014-10-182-0/+17
|\ \ \ \
| * | | | Add functions to update on conference changes.Andrew Lee2014-10-172-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Add onConferenceChanged() to Connection, so that the Connection can make act on changes to the conference. + Add a utility function to PhoneCapabilities to remove a capability from a PhoneCapabilities bitmask. Figure this abstracts some bit logic away to make things more readable. Bug: 17429707 Change-Id: I0c97731a95dd6573488cd10f094a63abe2428bce