Commit Graph

87 Commits

Author SHA1 Message Date
Ben Gilad cacf0d96f8 Merge "Adding the OutgoingCallProcessor and the initial wiring between it and the switchboard." into master-nova-dev 2014-01-29 21:21:16 +00:00
Ben Gilad 0bf5b91228 Adding the OutgoingCallProcessor and the initial wiring between it and the switchboard.
Change-Id: Ic331cdf5c8c84ae2a93a42f84aa19e5885bc0768
2014-01-29 12:43:19 -08:00
Evan Charlton 18cc42f16b Clean up some TODOs
Remove synchronized by migrating work to the main thread. Also make
callServices a Set because there's no reason it shouldn't be.

Change-Id: Ief49f8d85ec3d82b78695d889a1d3784f7f7e952
2014-01-28 14:46:31 -08:00
Santos Cordon 89a12c5f57 Fix build break.
Change-Id: I370885ad176c78782aedb5cf4f8ee0d821d17028
2014-01-28 00:21:35 -08:00
Santos Cordon caf7f2b218 Merge "Adding an audio beep for the test call service." into master-nova-dev 2014-01-28 01:12:22 +00:00
Santos Cordon 1fee141851 Merge "Update test call service to use new CallInfo parameters." into master-nova-dev 2014-01-28 01:05:10 +00:00
Santos Cordon ee99d32118 Adding an audio beep for the test call service.
Change-Id: I5faf4b27a818dfec57e41c2ffad19e8ac2d15d53
2014-01-27 15:50:26 -08:00
Santos Cordon e4a8e70344 Update test call service to use new CallInfo parameters.
Change-Id: Iba2a7b2ed4e99b7c21c8d0ab2c685b2211bd2bdb
2014-01-17 12:29:36 -08:00
Ben Gilad ee784fbd6b Merge "Add a TODO for handling the returned set of call-service selectors from the finder." into master-nova-dev 2014-01-17 03:43:06 +00:00
Ben Gilad 134cf09661 Add a TODO for handling the returned set of call-service selectors from the finder.
Change-Id: I588c4c4c4324cbee8b20ed5a10428e1a8f475649
2014-01-16 18:26:12 -08:00
Ben Gilad 88cde80069 Merge "Convert the lists of call-services/selectors in switchboard to sets and pass the set of selectors from the finder." into master-nova-dev 2014-01-16 23:36:10 +00:00
Ben Gilad 03292d40a7 Convert the lists of call-services/selectors in switchboard to sets and pass the set of selectors from the finder.
Change-Id: I649cc20fd4fb25745ae1069db342ae6ee50b2ae2
2014-01-16 15:32:41 -08:00
Santos Cordon 7bbcfe6334 Merge "Adding simple implementation of CallService for testing." into master-nova-dev 2014-01-16 22:40:43 +00:00
Santos Cordon 9d97146743 Adding simple implementation of CallService for testing.
Updates some methods of the CallService API and adds very simple
implementations for isCompatibleWith(), call(), and disconnect().

TestCallServiceProvider now returns a single-item list including the single
ICallService implementation

depends on change: I27a8d14c5c63d3f6a70a290ffb39d9f623d40a60

Change-Id: I9b86c2a09c6c8e6d0ee306e5e26b2404fa60376d
2014-01-16 13:12:00 -08:00
Ben Gilad b59769eac7 Adding the lookup logic for call-service selectors.
Change-Id: If18628f9b4854b8055ec43d8e33c0c6f822454cd
2014-01-16 12:58:00 -08:00
Ben Gilad 80ddb5def3 Follow up on the CallServiceFinder TODO to join/remove the inner classes.
Change-Id: I0b01b344657190d9504508c490c14d39eb85d63f
2014-01-15 14:48:29 -08:00
Evan Charlton 0958f53ac4 Remove the synchronization
All of the callbacks happen on the same thread; no need to
synchronize. Also move away from TimerTask and use Handler to post
the termination callback.

Change-Id: If684e29686f2c7557cc56057c7f1ec6a1dfd3bcb
2014-01-14 12:44:40 -08:00
Ben Gilad 1803a839c9 Remove JavaDoc comments for TAG constants per team preference.
Change-Id: I620679bab6dd461735029f619502cd1e25de6e4e
2014-01-13 16:58:57 -08:00
Santos Cordon c861dadba5 Merge "Collect CallService implementations via CallServiceProviderAdapter." into master-nova-dev 2014-01-14 00:48:54 +00:00
Santos Cordon cb83fb6358 Collect CallService implementations via CallServiceProviderAdapter.
Add an implementation of ICallServiceProviderAdapter which can receive
ICallService instances from CallServiceProviders.

Change-Id: Ie3667a82de5c8b6d47b4e436869e5213e4da09a0
2014-01-13 16:36:13 -08:00
Evan Charlton 2def71e6fd Add guava to the build
This should have been in I2ab040302c10872d847f96369a99f52e1208d644 to
allow easy building in eclipse.

Change-Id: I135dc074e787e0ad89859166f3a6b77fdaa37258
2014-01-13 06:57:51 -08:00
Ben Gilad 2495d57b5b Adding the Call class (JavaDoc) description.
Change-Id: If0091135df5cfbf6396ddc20207d039e395cbf58
2014-01-09 17:26:19 -08:00
Ben Gilad 0407fb2c5a Continuing the outgoing call flow -- passing call services from the finder back to the switchboard.
Change-Id: I613e8e77af02b645c7bffc6661c5b3c3e07278dc
2014-01-10 01:13:53 +00:00
Ben Gilad d17443c4ed Follow up on c/401744.
Change-Id: I53bdfae84532c9f382d3ebfa8ab7c993898725b7
2014-01-08 14:19:21 -08:00
Santos Cordon f57ecf7653 Merge "Adding telecom test directory." into master-nova-dev 2014-01-03 23:33:11 +00:00
Santos Cordon 76faae5274 Adding telecom test directory.
Adds a notification-based test CallService + first do-nothing unit-test.

Change-Id: Ifa2725da44305024adced42154d6b458767bd5d0
2014-01-03 15:31:21 -08:00
Evan Charlton ac1aa9e108 Allow Telecomm to be imported into Eclipse
Add .project and .classpath files so that Telecomm can be imported
into Eclipse as a standalone project. Once the android.telecomm APIs
become part of the SDK, we can remove the frameworks-base-telecomm
symlink.

Change-Id: I2ab040302c10872d847f96369a99f52e1208d644
2014-01-03 13:47:12 -08:00
Santos Cordon 8e8b8d2a66 Find ICallServiceProviders on the device.
Uses package manager to find all ICallServiceProviders registered on the
system. This CL does not do the work of actually binding to the
providers.

Change-Id: I63cb3f73727e49542c09edf021fe010adf8ce90f
2014-01-03 13:20:55 -08:00
Ben Gilad dd8c60896b Basic wiring to hook up the call activity logic with calls manager.
Change-Id: I3bbd1401b933b353578d66168ce1bdf914b6f762
2013-12-30 15:33:29 -08:00
Evan Charlton f5a56c903f Fix the build
There was an extra + in there; remove it.

Change-Id: I81b498da437bdb5dfdda972ad5a64b549a1b7afb
2013-12-19 09:23:48 -08:00
Santos Cordon 7ff3e09b9b Adding CallServiceReceiver for Call service binding intents.
CallServiceReceiver listens to an intent intended to be used by
CallService implementation to request that CallsManager create a binding
to the CallService.

Change-Id: I8afcb0c1010409263eac3ee7504045d9d95ed53b
2013-12-19 01:52:05 +00:00
Santos Cordon 3e3b541d72 Adding CallServiceReceiver for Call service binding intents.
CallServiceReceiver listens to an intent intended to be used by
CallService implementation to request that CallsManager create a binding
to the CallService.

Change-Id: I8afcb0c1010409263eac3ee7504045d9d95ed53b
2013-12-18 17:50:58 -08:00
Santos Cordon 10e68320fe Add CALL* intent handling to Telecomm.
Adds a new activity to handle CALL, CALL_PRIVILEGED and CALL_EMERGENCY
withing Telecomm. Shows a toast upon receipt of intent.

Change-Id: Ia9ea7b0abd47d0f423c04ddbaa04452c31ca2318
2013-12-18 16:25:04 -08:00
Ben Gilad 9f2bed3137 Adding the basic Telecomm flow components.
Change-Id: I1044d42ba4e05e03a88e858ef0357c2cc788393f
2013-12-12 17:43:26 -08:00
Ben Gilad 4937ff9234 Adding the Telecomm manifest etc.
Change-Id: I0893805adbd9a4e74e9d224be3a9935da97bfc06
2013-12-12 13:13:15 -08:00
Ben Gilad a38b18a8fa Initial packages/services/Telecomm check in.
Change-Id: I6cd22c0f138417f658589bf9f01ab4ac688f2e04
2013-12-11 15:32:01 -08:00
Baligh Uddin 0803e726fd Initial empty repository 2013-12-11 07:12:39 -08:00