Commit Graph

48 Commits

Author SHA1 Message Date
Denis Kenzior 30c19a915e call-forwarding: Properly signal changes
For the ForwardingFlagOnSim property
2010-12-17 17:01:59 -06:00
Denis Kenzior 183624f870 call-forwarding: Get rid of status_on_sim variable 2010-12-17 16:50:33 -06:00
Denis Kenzior 212b291e15 call-forwarding: Simplify sim_set_cf_indicator 2010-12-17 16:40:32 -06:00
Denis Kenzior 424b2f8eb9 call-forwarding: More style fixes 2010-12-17 16:30:43 -06:00
Denis Kenzior 5a9fbb912e call-forwarding: Use a flag instead of a boolean
For storing the presence of CPHS CFF file
2010-12-17 16:11:29 -06:00
Denis Kenzior 88d499d96e call-forwarding: Get rid of cfis_indicator
There's no need to track this information, since if we pick a record
with cfis_indicator for something besides Voice only, then when we
set the record again, the number we set is no longer applicable to
those services.
2010-12-17 16:08:27 -06:00
Denis Kenzior f0d8ae9135 call-forwarding: Minor style fixes 2010-12-17 16:08:24 -06:00
Denis Kenzior 8b848e2b7e call-forwarding: Get rid of unneeded variable 2010-12-17 12:51:18 -06:00
Jeevaka Badrappan 8f8ae1b62f call-forwarding: Read/Write cfis/cphs-cff 2010-12-17 12:23:37 -06:00
Lucas De Marchi b210838e87 core: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 13:27:15 -06:00
Jeevaka Badrappan 175ac85942 call-forwarding: skip property change data and fax 2010-11-24 15:54:46 -06:00
Jeevaka Badrappan 2d0cb92155 src: coding style fixes - rule M6 2010-11-22 05:07:52 -06:00
Yang Gu a9aac83e33 ss: Use function to judge if it's busy 2010-09-26 19:50:50 -05:00
Jeevaka Badrappan 4196182770 Fix multi-line comment style issues 2010-09-21 21:16:01 -05:00
Jeevaka Badrappan 0741cc8cb2 call-forwarding: Add __ofono_call_forwarding_is_busy 2010-09-09 10:08:37 -05:00
Yang Gu e24d1d1285 call-forwarding: Check if ussd is busy 2010-09-09 09:01:52 -05:00
Denis Kenzior 87ca1b0c8f Fix: Don't use ofono_debug directly in the core
Use DBG macro which is integrated with the new debug framework.
2010-02-08 11:54:03 -06:00
Denis Kenzior dc16aa7937 Fix: Use snprintf instead of sprintf in the core 2010-02-05 10:33:58 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior cfcf7e6516 Simplify: Use dbus_message_iter_get_args 2009-09-22 11:24:21 -05:00
Denis Kenzior 422df0edfb change int vendor to unsigned int vendor 2009-09-01 21:39:02 -05:00
Denis Kenzior 7ee954b28a Add vendor flag to call-forwarding 2009-09-01 18:14:57 -05:00
Denis Kenzior f59aab7f15 Fix whitespace and style issues 2009-08-19 18:35:06 -05:00
Denis Kenzior 60988bed9d Remove unused header 2009-08-17 17:12:12 -05:00
Denis Kenzior 75510e7cd5 Move call-forwarding-type enum out of common.h 2009-08-17 15:26:24 -05:00
Denis Kenzior 255c6ba0d9 Cleanup atom watches properly 2009-08-17 15:14:05 -05:00
Denis Kenzior 91789b2680 Port call-forwarding to new USSD API 2009-08-17 15:08:48 -05:00
Denis Kenzior f82b9a32fd Move CALL_FORWARDING_INTERFACE define to dbus.h 2009-08-14 16:33:48 -05:00
Denis Kenzior 8a64f93f30 Use atom's modem in call-forwarding 2009-08-14 16:31:48 -05:00
Denis Kenzior 9ad3ad6664 Update to use the new atom_free API 2009-08-14 16:31:46 -05:00
Denis Kenzior 872a24690d Evolve the call-forwarding driver 2009-08-14 11:19:09 -05:00
Denis Kenzior d7a5e7d017 No need to use g_timeout_add here 2009-08-07 17:30:28 -05:00
Denis Kenzior 3e6d4237cb Remove all uses of modem.h 2009-07-29 16:53:19 -05:00
Denis Kenzior 19eeb7f1ba Rename modem_add_interface / modem_remove_interface
Move to ofono_modem_add_interface, ofono_modem_remove_interface
and put in ofono/modem.h
2009-07-29 16:44:16 -05:00
Denis Kenzior 54816de04d Get rid of dbus-gsm.h 2009-07-29 12:26:06 -05:00
Denis Kenzior 1d8785f8bd Rename dbus_gsm_pending_reply 2009-07-29 12:26:06 -05:00
Denis Kenzior 6728542a01 Rename dbus_gsm_dict_append 2009-07-29 12:26:05 -05:00
Denis Kenzior d9025e13e1 Move & Rename PROPERTIES_ARRAY_SIGNATURE 2009-07-29 12:26:05 -05:00
Denis Kenzior 684b5be1fc Rename dbus_gsm_signal_property_changed 2009-07-29 12:26:05 -05:00
Denis Kenzior 00fb6cce62 Rename dbus_gsm error functions to __ofono_error 2009-07-29 12:26:05 -05:00
Denis Kenzior 99c1c92708 Move & Rename dbus_gsm_connection
Move to ofono/dbus.h ofono_dbus_get_connection
2009-07-29 12:26:04 -05:00
Denis Kenzior 7995258761 Squish another uninitialized warning 2009-06-01 14:05:43 -05:00
Denis Kenzior dc17c86a19 Change int type to enum for SS control callbacks 2009-06-01 14:05:41 -05:00
Denis Kenzior ab68cd8e7e Create ofono_phone_number struct
Creates a new structure in driver.h called ofono_phone_number.
This is meant to replace const char *number, int number_type
arguments everywhere.

Fix up all existing code to use this structure instead.
2009-05-26 18:18:12 -05:00
Denis Kenzior 8b49de31cf Simplify CallForwarding interface
Simplify the Call Forwarding interface using some of the ideas from the
Call Barring interface.  The code should be much easier to follow now

Remove Data/Fax attributes and refactor how the Supplementary Service
requests are performed.  The Data/Fax attributes can still be
controlled via supplementary service strings for GCF compliance, but
have been removed from general consumption since oFono does not yet
support Fax or Data bearers.
2009-05-21 17:02:58 -05:00
Denis Kenzior a76864dd5f Fixup SS control case
In certain cases, querying/setting prperties via SS control req
doesn't provide complete state, resulting in subsequent
GetProperties reporting incorrect values
2009-05-20 13:06:23 -05:00
Denis Kenzior 95e9c0dcf2 Remove some other unused variables 2009-05-12 19:09:57 -07:00
Denis Kenzior a78b36290b Add implementation of telephony daemon 2009-05-05 21:14:19 -07:00