Commit Graph

11 Commits

Author SHA1 Message Date
Evan Charlton
3c7fbb2214 Expose a method to cancel an outgoing call
Expose a method which lets CallServiceSelectors abort an outgoing call.

Bug: 13980764
Change-Id: Id0c608729cb5de3e2a37b2538f1f61ed94bcb31b
2014-04-11 16:02:15 -07:00
Sailesh Nepal
6043793d3e Add InCallCall class to communicate with InCallService
Change-Id: I3916e33e184f57bb6e58ed93a26b866d3ce0e7df
2014-04-07 22:10:27 -07:00
Evan Charlton
924748fa3f Add lifecycle methods to telecomm services
Have the base classes track the adapters and provide an override-able
hook (onAdapterAttached()) to notify when the adapter is set.

Change-Id: I58ca5c6970328861327699ec497fa21288bce7df
2014-04-04 09:26:01 -07:00
Sailesh Nepal
b632e5b122 Handoff: Add APIs to allow handoff between call services
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
2014-04-03 22:12:26 -07:00
Ihab Awad
8111bc57a1 Fix build breakage due to Javadoc typo.
Change-Id: Ib93191adc1b25afe673f3a1834eaa22f4c6bc9d5
2014-04-02 13:30:23 -07:00
Sailesh Nepal
8d20561554 Add CallServiceSelectorAdapter
Previously the selector would communicate with Telecomm using
callbacks.

For handoff, it's easier to communicate using an adapter.

Bug: 13643568
Change-Id: Ida5859a3b5b15c9fa1c533f27a3e14fd0d7c36af
2014-04-01 20:15:04 -07:00
Sailesh Nepal
ab5d282dd6 Add wrappers around telecomm interfaces
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
2014-03-11 16:38:50 -07:00
Evan Charlton
64a44a876b Update CallServiceSelector API
Move the consumer methods to the main thread and use response objects
to return the results back to the caller.

Change-Id: Ifc062cf49421079686d925406c823000232fa728
2014-02-20 17:09:10 -08:00
Ben Gilad
6adbaf70f3 Addressing the TODO to rename CallServiceInfo.
Also removing some unused imports etc.

Change-Id: I48176d5394aee0110f3b7a081a1a616b72b574b9
2014-02-20 17:09:04 -08:00
Santos Cordon
591ef664d8 Fix build.
Change-Id: I4633e4ab3753f0de328bbe0ef59e87dac1d58d54
2014-02-20 17:08:25 -08:00
Evan Charlton
c3010b39c9 Add a CallServiceSelector base implementation
Add the base class for implementing CallServiceSelectors.

Change-Id: I292d962f1b73d0966af0c484ebddc724f8e6c925
2014-02-20 17:07:41 -08:00