230 Commits

Author SHA1 Message Date
Andrew Lee
b8f4db89e6 Use proper name for method for setting paused image.
Change-Id: Ifc3ada4d3b88ae325c2e4edc0c0bdd1b9f836995
2014-07-01 17:00:30 -07:00
Tyler Gunn
9d9f703299 Merge "API support for reporting of changes to call features. (eg VoLTE, VoWIFI, etc)" 2014-07-01 19:22:38 +00:00
Tyler Gunn
8d83fa9bbd API support for reporting of changes to call features.
(eg VoLTE, VoWIFI, etc)

Bug: 15987281
Change-Id: Iae351ca2fe7b36c067106695f611cca6b3230556
2014-07-01 19:22:22 +00:00
Andrew Lee
a5736291bd Add function set CallVideoClient on the CallVideoProvider.
- Added implementation of RemoteCallVideoClient.
- Filled out the proxy methods on RemoteCallVideoProvider.
- Renamed methods on CallVideoClient/CallVideoProvider. Per Santos's
advice, this is to distinguish between the methods handling remote
communication, and the actual implementation of those methods.

Bug: 15893156
Change-Id: I5f433db1faa820dc96913091ce09938ddf40ffdd
2014-07-01 13:28:56 -07:00
Santos Cordon
e19a4fe32f Merge "Move call-related SystemAPIs to TelecommManager. (1/3)" 2014-07-01 14:48:56 +00:00
Santos Cordon
9eb45934c5 Move call-related SystemAPIs to TelecommManager. (1/3)
Bug: 15672803
Change-Id: I46e448fe93a9c5b4ae013e8b2fd6f0ce89b94e69
2014-06-30 16:30:10 -07:00
Sailesh Nepal
091768c302 More fixes for Connection and RemoteConnection
Various clean ups and fixes:
  - allow remote connection to have audio set
  - allow remote connection to have abort
  - move onPostDialWait from ConnectionService to Connection
  - hide APIs we don't need

Change-Id: Ib2d0b40f2e9e7a6b5fbf5d6db48b509b7db3c906
2014-06-30 15:23:53 -07:00
Tyler Gunn
807de8aa76 Fixing crash in phone app due to missing null checks pertaining to
CallVideoProvider.

Change-Id: Ifd5a558a2b36e0cb656c9a57f64ae0744425a3ef
2014-06-30 21:26:05 +00:00
Andrew Lee
bd7c5908ed Merge "Add ICallVideoProvider binder to the InCallCall object." 2014-06-26 23:50:27 +00:00
Andrew Lee
5dc3075cfc Add ICallVideoProvider binder to the InCallCall object.
Bug: 15893156
Change-Id: I450d50c53e0e77944717d1fd8e7b246c3c4bf3b1
2014-06-30 11:44:20 -07:00
Tyler Gunn
bff4131d40 Added API methods for the CallVideoProvider.
Cleaned up comments in CallVideoClient to match.

Bug: 15893156
Change-Id: I9b1268726e64c2b73441272dae8d6a719a32fa16
2014-06-30 11:20:32 -07:00
Nancy Chen
5ffbfccea0 Add Subscription field to Call-related framework objects
Getter and setter methods for framework objects that will need to pass
subscription information between activities.

Bug: 15473965

Change-Id: If1e33fd1fe13262954572558580cdcda73795dc0
2014-06-27 16:17:21 -07:00
Andrew Lee
4ea10b0cba Merge "Add methods to set a CallVideoProvider on a Call." 2014-06-26 18:07:29 +00:00
Andrew Lee
5ffbe8b850 Add methods to set a CallVideoProvider on a Call.
Bug: 15893156
Change-Id: I6ae151bc37d8c0be2e4c9823e9444717b6cdc0de
2014-06-27 15:03:24 -07:00
Tyler Gunn
7c668b921b Adding CallVideoClient, used to provide a callback mechanism for the
framework to notify the InCallUI of events related to video calls.

Change-Id: Ife628b27bcefd8e88df2fc899cbbcfa07cfac90b
2014-06-27 21:57:12 +00:00
Andrew Lee
f759b5bb0b Add wrapper to provide method calls for binder to InCallUI.
Bug: 15893156
Change-Id: I6b12c0e8c915e184bb469b5934865242f9fde00d
2014-06-27 14:11:51 -07:00
Sailesh Nepal
400cc48512 Clean up Connection API
Made all the on* methods overridable. Made the remaining final.

Made getState public.

Change-Id: I715539599ac8826e5155852dd8ec56c35e4b89f1
2014-06-26 12:14:56 -07:00
Sailesh Nepal
b32d9e53c2 Merge "Add API to cancel outgoing calls" 2014-06-25 03:38:12 +00:00
Sailesh Nepal
506e38690f Add API to cancel outgoing calls
This replaces CallServiceSelectorAdapter.cancelOutgoingCall

Change-Id: I9e5da9c607675bc3c230f6eb6d1cc149a38bf905
2014-06-25 17:27:15 -07:00
Santos Cordon
52d8a15e14 Remote Connection implementation.
API classes for daisy-chaining connection services.

Change-Id: I90991697456377b72ec73d2ef835864cb0b7737a
2014-06-24 19:06:20 -07:00
Santos Cordon
779b3f04d8 Merge "Add a system API to get the default phone app." 2014-06-25 03:33:37 +00:00
Santos Cordon
6c7a38817c Add a system API to get the default phone app.
Change-Id: I59ca863d2af43a3b3c26d18b0279fc6e1e13b9b1
2014-06-25 15:50:11 -07:00
Andrew Lee
0b16d7d807 Merge "Adding CallVideoProvider to Telecomm." 2014-06-25 17:34:07 +00:00
Andrew Lee
13d11c3065 Adding CallVideoProvider to Telecomm.
Change-Id: I16c3c64ff2bcda46e0fd95accb360c972f964b9d
2014-06-24 13:51:59 -07:00
Ihab Awad
52a28f619f Replace CallServiceSelectors with Subscriptions (1/3)
Remove CallServiceSelectors and replace them with comprehensive
support for Subscriptions as the means of selecting ways of making
phone calls. After this change, a ConnectionService is not a
semantically meaningful "way of making a call" -- it's more like the
mechanism whereby the Android system communicates with a 3rd party
process to ask for phone services. We anticipate each process having
only one ConnectionService.

Change-Id: I11e6e246ae999683b3800496e98c93c3351aca7b
2014-06-23 19:59:27 -07:00
Yorke Lee
cf9bc5e76d Revert "Add ability to set and get DefaultPhoneApplication"
This reverts commit 8bdb1ff3279ab9fde0499231580c76dc2533f3c4.

Change-Id: Idc6d64820c23a650e5f0113ed8ff0860c61ea6af
2014-06-20 10:05:17 -07:00
Yorke Lee
eff9661b2a Merge "Revert "Add getSystemPhoneApplication to TelecommManager"" 2014-06-20 00:24:32 +00:00
Yorke Lee
5e0f061c0f Revert "Add getSystemPhoneApplication to TelecommManager"
This reverts commit 8200c05dcf206f2621fc8017235c739b66d57e8b.

Change-Id: I6536627491830804ddedac0287fa0bcdf014280c
2014-06-19 22:25:13 +00:00
Yorke Lee
8b74c4f67e Add getSystemPhoneApplication to TelecommManager
Change-Id: Ie67698e8363d1498b37692dc7be23b14a0d8c388
2014-06-18 13:01:26 -07:00
Yorke Lee
028d64f9ab Merge "Add getSystemPhoneApplication to TelecommManager" 2014-06-17 21:07:42 +00:00
Ihab Awad
87161a7667 Merge "Add methods to TelephonyManager for Subscription management (1/3)" 2014-06-17 20:49:29 +00:00
Ihab Awad
c35ad0252d Add methods to TelephonyManager for Subscription management (1/3)
As part of the effort to permit third-party suppliers of telephone
connectivity, we permit clients of TelephonyManager to obtain the
currently valid Subscription objects describing these suppliers. The
Subscriptions are intended to be self-describing such that an end-user
can choose from among them based on the information they contain. One
of these objects may then be attached to an ACTION_DIAL or ACTION_CALL
Intent to represent the end-user's choice of how to make a call.

Change-Id: I2ad1930079042d7bfe762b47c22f0538f7403bff

Conflicts:
	telephony/java/com/android/internal/telephony/ITelephony.aidl

Conflicts:
	telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
2014-06-17 15:08:13 -07:00
Sai Cheemalapati
0f0bcb5ac5 Adds speakerphone extra to ACTION_DIAL (2/2).
If optional extra EXTRA_SPEAKERPHONE_ON is added
to an ACTION_DIAL intent, the speakerphone will turn
on automatically once the call is connected.

Bug: 6810980

Change-Id: Ie4e1c5b413e72f9b0dbd590384571147a43a11ac
2014-06-17 11:54:05 -07:00
Yorke Lee
b4ce1432c6 Add TelecommManager to system services
Change-Id: I48a75c578a99aca1149fbae84a5d0f9ac0a457f3
2014-06-16 14:41:50 -07:00
Yorke Lee
2e024708b1 Add ability to set and get DefaultPhoneApplication
Change-Id: I8aa8cb16965106175c538f36915a31cf4830cef2
2014-06-16 10:42:59 -07:00
Ihab Awad
c067754a85 DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)
Bug: 15275904
Bug: 15196474
Change-Id: If9aeae519047b221aa2c178d8d2903c4e2054a6d
2014-06-13 18:05:29 -07:00
Santos Cordon
b693998fdf Support conference calling. (1/4)
Bug: 15006702
Change-Id: I2764ea242f783ba478c9eae86618dd33e9fc792a
2014-06-12 16:15:09 -07:00
Sailesh Nepal
8b4818d9b4 API: Add call service handoff trigger
Change-Id: Iee03a666e7ebc2fe326f32405174466299be9d04
2014-06-06 11:27:43 -07:00
Evan Charlton
7960fd917a Fix the build breakage (update API & javadocs)
Update API and Javadocs to fix the build.

Change-Id: I108e4d824eabb68f8edd864bf67a16188672b01b
2014-06-05 17:31:11 -07:00
Evan Charlton
7d3ff83b8b am 266a63ad: Merge "Expose post-dial APIs" into lmp-preview-dev
* commit '266a63ad7731d7ebaf4c426b3d226e70c6afd2af':
  Expose post-dial APIs
2014-06-05 23:15:58 +00:00
Evan Charlton
e62a885ea6 Merge "Expose post-dial APIs" into lmp-preview-dev 2014-06-05 22:52:07 +00:00
Ihab Awad
fbb092f26e DO NOT MERGE. Implement connection error dialogs (1/4)
Implement reporting of connection errors from ConnectionServices through
Telecomm to the InCallUI.

Bug: 15195720
Bug: 15117141
Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d
(cherry picked from commit 976bfe497da31fa8322969648ffbe77898941d0c)
2014-06-05 12:56:57 -07:00
Ihab Awad
fc91b7d448 DO NOT MERGE. Implement connection error dialogs (1/4)
Implement reporting of connection errors from ConnectionServices through
Telecomm to the InCallUI.

Bug: 15195720
Bug: 15117141
Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d
2014-06-04 23:25:04 +00:00
Evan Charlton
6dea4aceba Expose post-dial APIs
Add APIs to expose post-dial DTMF functionality.

Bug: 13734588
Change-Id: I5cc06268590c3c424ea6daf216cb205b9c470dac
2014-06-04 15:10:57 -07:00
Santos Cordon
24bec88db0 am 00eb98bc: Merge "Add necessary APIs to support conference calling." into lmp-preview-dev
* commit '00eb98bc93f11df3b869eca32f04f71d44ee4e6d':
  Add necessary APIs to support conference calling.
2014-06-02 17:26:42 +00:00
Santos Cordon
980acb9bd6 Add necessary APIs to support conference calling.
All APIs added as @hide to start.

Bug: 15326865
Change-Id: Iee5ce555696f48f57f925e4bd37209ace1355dfd
2014-06-01 14:17:21 -07:00
Ihab Awad
9efdcd8a31 Allow ConnectionService to ask Telecomm for ringback
Cherry picked from branch lmp-preview-dev because checking the changes into master required an API update, whereas the relevant APIs are @hide-ed in the source branch.

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
(cherry picked from commit 20536bc3c4d40fa96306b0319d8313a7437fc702)
2014-05-31 11:19:54 -07:00
Ihab Awad
3da92d6df1 Merge "DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback" into lmp-preview-dev 2014-05-30 21:50:51 +00:00
Santos Cordon
b69f1bddfe am 6d052adc: Merge "Update showCallScreen to use Telecomm (1/6)" into lmp-preview-dev
* commit '6d052adc910bf2d2775881528cef3e41fe2cd14b':
  Update showCallScreen to use Telecomm (1/6)
2014-05-30 21:38:54 +00:00
Santos Cordon
dd36901ac0 Preempt build error from merge with CL (2/2)
Merging CL: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657

Change-Id: Ic4944b27f9d39dbaccb6baa5ba6761dc4663cd02
2014-05-30 14:27:03 -07:00