summaryrefslogtreecommitdiffstats
path: root/telecomm
Commit message (Collapse)AuthorAgeFilesLines
* Merge "DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback" ↵Ihab Awad2014-05-304-5/+68
|\ | | | | | | into lmp-preview-dev
| * DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringbackIhab Awad2014-05-304-5/+68
| | | | | | | | | | | | | | | | Provides a pass-through from the ConnectionService API to Telecomm allowing a ConnectionService to either play the ringbacks on its own, or ask Telecomm to play the ringbacks on its behalf. Bug: 15190301 Change-Id: Ib0f2ce9bf798ec0df0e6d33559174c82de059a94
* | Update showCallScreen to use Telecomm (1/6)Santos Cordon2014-05-303-1/+27
|/ | | | | | | | | | | - Add API methods to InCallService and ITelecommService. - Remove old methods from ITelephony. - Route the TelephonyManager methods through ITelecommService instead of ITelephony. - Update Lock screen to use TelephonyManager instead of ITelephony. Bug: 15008165 Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
* Merge "@hide Telecomm APIs [DO NOT MERGE]" into lmp-preview-devEvan Charlton2014-05-281-0/+5
|\
| * @hide Telecomm APIs [DO NOT MERGE]Evan Charlton2014-05-281-0/+5
| | | | | | | | Change-Id: Id2d8d21f5de79bd5ffa468a82b29b77daf07e120
* | Adding ITelecommService definition for Telecomm.Santos Cordon2014-05-281-0/+34
|/ | | | | | | | | | | | Until telecomm code moves into a system service, we need a way for other apps to call into it for call-related functionality. Initial implementation only has silenceRinger. This is to be implemented by the telecomm code and used by TelephonyManager (until we have a TelecommManager). Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f (cherry picked from commit b895606acf18dbb050c9a32106b3c9c2e5111829)
* DO NOT MERGE. Fix invalid format specifier in log messageIhab Awad2014-05-221-1/+1
| | | | | | Bug: 15154713 Change-Id: Ia1f45eb568b31f02a7443def0dc9ef32a21e7f02 (cherry picked from commit 8523607b6e4927d034e47681174843f22308e34a)
* Add logging utilities to Telecomm classesIhab Awad2014-05-213-47/+218
| | | | | | | Add logging utility class from packages/services/Telecomm to the Telecomm classes in the framework. Change-Id: I54a9edc4daa24ffdeb15b08afc5ad8a238d04291
* Publish new Telecomm API for Connection ServicesIhab Awad2014-05-185-0/+901
| | | | | | | | Creates a new API for Connection Services providing phone connections to the Android system. Supersedes CallService API, which will be gradually replaced by this one. Change-Id: Ie4b06c1b0843a777c5b8ee9c5dd12b9d9f990980
* Merge "Add toString to CallServiceDescriptor" into master-novaSailesh Nepal2014-04-151-0/+8
|\
| * Add toString to CallServiceDescriptorSailesh Nepal2014-04-151-0/+8
| | | | | | | | Change-Id: I847dbd8cf965516ad45f91d2db5df19469e2a2f8
* | Expose a method to cancel an outgoing callEvan Charlton2014-04-113-0/+24
|/ | | | | | | Expose a method which lets CallServiceSelectors abort an outgoing call. Bug: 13980764 Change-Id: Id0c608729cb5de3e2a37b2538f1f61ed94bcb31b
* Expose CallState.NEWEvan Charlton2014-04-101-3/+2
| | | | | | | | | | Expose CallState.NEW so that we have a state before DIALING. Immediately transitioning calls to DIALING is wrong, because that shouldn't happen until the CallService is actually dialing. Bug: 13902624 Change-Id: Id5ee0d4d050deb2f3038f3de8fdd265caa75f7b2
* Fix SDK buildSailesh Nepal2014-04-082-2/+2
| | | | Change-Id: I325f5f5b3fae7c8a27640106e8f3298c4e18388d
* Add InCallCall class to communicate with InCallServiceSailesh Nepal2014-04-078-167/+228
| | | | Change-Id: I3916e33e184f57bb6e58ed93a26b866d3ce0e7df
* Add lifecycle methods to telecomm servicesEvan Charlton2014-04-043-15/+48
| | | | | | | Have the base classes track the adapters and provide an override-able hook (onAdapterAttached()) to notify when the adapter is set. Change-Id: I58ca5c6970328861327699ec497fa21288bce7df
* Handoff: Add APIs to allow handoff between call servicesSailesh Nepal2014-04-037-3/+101
| | | | | | | | | | | | This CL adds: - CallInfo.mExtra and CallInfo.mCurrentCallServiceDescriptor. These can be used by the selector to perform handoff. - InCallService.setHandoffEnabled to enform the in-call UI that handoff is allowed. - InCallAdapater.handoffCall to initiate handoff. Bug: 13643568 Change-Id: I94c28b10c0e0a253450f14d31ecdc416d5b44ca4
* Add disconnect cause and message extrasSailesh Nepal2014-04-021-3/+11
| | | | | | | These extras will be sent out as a part of the ACTION_PHONE_STATE_CHANGED broadcast. Change-Id: I23fe43e7f3604471185ffb30be9ac553438b78f3
* Fix build breakage due to Javadoc typo.Ihab Awad2014-04-021-1/+2
| | | | Change-Id: Ib93191adc1b25afe673f3a1834eaa22f4c6bc9d5
* Add CallServiceSelectorAdapterSailesh Nepal2014-04-017-265/+130
| | | | | | | | | | Previously the selector would communicate with Telecomm using callbacks. For handoff, it's easier to communicate using an adapter. Bug: 13643568 Change-Id: Ida5859a3b5b15c9fa1c533f27a3e14fd0d7c36af
* Merge "Add CallCapabilities and CallNumberPresentation" into master-novaSailesh Nepal2014-04-012-0/+82
|\
| * Add CallCapabilities and CallNumberPresentationSailesh Nepal2014-04-012-0/+82
| | | | | | | | | | Bug: 13643568 Change-Id: I453a1b0db0edf31b26be64b4dcbabec58a4f96f5
* | Fix the build, take #2Evan Charlton2014-04-011-1/+1
| | | | | | | | | | | | Missed one bad javadoc. Change-Id: Ic70abce0404e966bc9caeabfbd5fd40d170af4de
* | Fix the buildEvan Charlton2014-04-012-12/+12
|/ | | | | | Fix some broken javadocs which are breaking the SDK build. Change-Id: I9b432ad1e871a82391c12ddbbd34cb64a556b2fe
* DTMF dialing support in frameworks/baseIhab Awad2014-03-319-255/+265
| | | | Change-Id: I86695161fab9c4fbd4a021ba69cc61ec5e585adc
* Add disconnect cause to setDisconnected.Santos Cordon2014-03-314-12/+18
| | | | Change-Id: I4ba9b8f47a942b82b7a3d4bed43c0ca945957592
* Delete README fileSailesh Nepal2014-03-251-2/+0
| | | | | | | Documentation is out of date. Also, frameworks/base doesn't seem to have README files except for test directories. Change-Id: I408ede48d592e6f640a040c7be97d272a1c15bd5
* Merge "Add audio mode APIs" into master-novaSailesh Nepal2014-03-258-18/+294
|\
| * Add audio mode APIsSailesh Nepal2014-03-239-19/+294
| | | | | | | | Change-Id: Ia7e78b52b6b30f99a9ba066dae558a105dbebd96
* | Add gateway support to frameworks/base/telecommYorke Lee2014-03-213-3/+167
|/ | | | | | | | | | Add parcelable GatewayInfo class used to store gateway info in Call and CallInfo. Add gateway-related string constants to TelecommConstants Bug: 13477768 Change-Id: I35b2de2d66edeed6273f6cba5329ca0f26264db6
* Merge "frameworks/base: Use Uri for handle" into master-novaSailesh Nepal2014-03-181-5/+7
|\
| * frameworks/base: Use Uri for handleSailesh Nepal2014-03-171-5/+7
| | | | | | | | Change-Id: I7f3163da47159d68903ce45268429f5949203589
* | Merge "Add hold support to frameworks/base/telecomm" into master-novaYorke Lee2014-03-149-2/+142
|\ \
| * | Add hold support to frameworks/base/telecommYorke Lee2014-03-149-2/+142
| | | | | | | | | | | | | | | | | | Bug: 13169202 Change-Id: Ib01990c1f8654f95a4cfcca4a91f0ab143722d8e
* | | Fix the SDK buildEvan Charlton2014-03-131-1/+1
|/ / | | | | | | | | | | Fix a bad {@link} tag which was breaking the SDK javadocs build. Change-Id: Ib44fc5c21738fa65ef3cec72f8c0e8e8f4b938c2
* | Fix SDK build due to missing import in TelecommConstantsSailesh Nepal2014-03-131-0/+1
|/ | | | Change-Id: Ieffc1cbfa4edb913125a0c29284d98351b12f9f4
* Merge "Add constant for Call Id extra" into master-novaSailesh Nepal2014-03-131-0/+6
|\
| * Add constant for Call Id extraSailesh Nepal2014-03-101-0/+6
| | | | | | | | | | | | | | The extra will be used to include the call ID on phone state changes. Change-Id: I9edd0b6e017f8414fa3e148fd4d57958e2072184
* | Fix build break due to links to private APIsSailesh Nepal2014-03-112-6/+6
| | | | | | | | Change-Id: I22360bd93800e1d898becb9fee9312acf82b78c7
* | Add wrappers around telecomm interfacesSailesh Nepal2014-03-1117-44/+489
|/ | | | | | | | | | | | | This CL adds wrappers for: CallServiceLookupResponse CallServiceAdapter IInCallAdapter IInCallService This CL also moves all the aidl files into com.android.internal.telecomm. Change-Id: I840f023bc545643e8bb719825e7bc78344ee46ee
* Fix broken build due to ag/428341.Ben Gilad2014-03-062-2/+2
| | | | Change-Id: I84945e8ce1b5c8b1be0785f71c7eae77699687fe
* Merge "Add the abort API to ICallService implementations." into master-novaBen Gilad2014-03-063-16/+48
|\
| * Add the abort API to ICallService implementations.Ben Gilad2014-03-053-16/+48
| | | | | | | | Change-Id: Ie9b996b4d23184034811ef5667403ff4e47ae2d9
* | Add optional data to incoming callsEvan Charlton2014-03-053-5/+38
|/ | | | | | | | | When a CallService creates an incoming call, allow it to pass a Bundle of arbitrary data along with the intent. This data will be returned to the CallService via setIncomingCallId. This makes it easier for CallServices to match up incoming calls with their IDs. Change-Id: I52e7e1d0788ecd01aa427e76de7ccf4d9b75f1f0
* Adding the aborted call state.Ben Gilad2014-03-041-1/+7
| | | | Change-Id: I26c1e2bc180a2be2d2374143546c666faeea2705
* Adding API support for incoming calls.Santos Cordon2014-02-244-34/+76
| | | | Change-Id: I7b1530d13e5adac530c4f451aa2cd97f275f9cae
* Fix some javadocsEvan Charlton2014-02-213-6/+6
| | | | | | Fix some bad {@link ..} tags in the javadocs. Change-Id: Id64b901218878e9996a390fee9eb72e4b5cd9d93
* Renaming intent to INCOMING_CALL.Santos Cordon2014-02-211-19/+10
| | | | Change-Id: I90ac30be5d8503f100deedf44f8d3bd18de3fa83
* Update CallServiceSelector APIEvan Charlton2014-02-202-34/+135
| | | | | | | Move the consumer methods to the main thread and use response objects to return the results back to the caller. Change-Id: Ifc062cf49421079686d925406c823000232fa728
* Addressing the TODO to rename CallServiceInfo.Ben Gilad2014-02-207-46/+50
| | | | | | Also removing some unused imports etc. Change-Id: I48176d5394aee0110f3b7a081a1a616b72b574b9