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
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
b0be5779b8
call-barring: Add __ofono_call_barring_is_busy
2010-09-09 10:08:22 -05:00
Yang Gu
8e03a47995
call-barring: Check if ussd is busy
2010-09-09 09:01:28 -05:00
Pekka Pessi
9a398a1087
Fix: Check password length based on its type
...
The different password types have different length requirements, so
update is_valid_pin to validate according to the password type being
validated (PIN / PUK / NET)
2010-03-19 13:48:04 -05:00
Pekka Pessi
3f6da155bd
Fix: Interrogation of barring does not need pin
2010-03-18 11:36:19 -05:00
Pekka Pessi
7b62731ded
Fix: Number of barring services is constant
2010-03-18 11:36:09 -05:00
Denis Kenzior
d1c85bd14c
Style: Remove the now unnecessary braces
2010-03-18 11:27:06 -05:00
Pekka Pessi
cf18a9df27
Fix: Return newly-queried barring status
...
We were returning the contents of the old locks
2010-03-18 11:13:22 -05:00
Pekka Pessi
15a4ecf8a8
Fix: call barring can only be (de)activated
2010-03-18 11:09:36 -05:00
Andrzej Zaborowski
0bac79f1a2
Fix: Use g_dbus_emit_signal in call-barring,meter
2010-02-15 14:57:25 -06: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
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Denis Kenzior
955e6a61ee
Style: Fix a few more occurences of if/else
...
See Linux coding style document for details
2009-12-17 21:45:39 -06: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
15b1a733b0
Introduce vendor parameter to call-barring
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
21588cc5f8
Remove the use of driver.h
2009-08-17 17:14:01 -05:00
Denis Kenzior
60988bed9d
Remove unused header
2009-08-17 17:12:12 -05:00
Denis Kenzior
255c6ba0d9
Cleanup atom watches properly
2009-08-17 15:14:05 -05:00
Denis Kenzior
65eb5e2089
Refactor call barring to the new USSD API
2009-08-17 15:08:48 -05:00
Denis Kenzior
314c0facc3
Refactor cssn into ofono_ssn
...
Make this into a fully fledged entity, with a driver instead of the
current kludge. This means modem drivers can actually choose whether
to instantiate a CSSN atom or not
Move the notification functions from voicecall.c into ssn.c.
Move the cssn.h header into include/ssn.h and refactor
Update call barring to utilize ofono_ssn and use the new atom_watch
functionality to detect when ssn has been added or removed
2009-08-14 18:49:01 -05:00
Denis Kenzior
ae4ea4cd5e
Move CALL_BARRING_INTERFACE definition to dbus.h
2009-08-14 16:33:48 -05:00
Denis Kenzior
31a940825b
Use atom's modem storage in call barring
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
622221e90f
Fix passing in modem where call_barring expected
2009-08-14 15:15:06 -05:00
Denis Kenzior
67e19dc14c
Evolve the call-barring driver
...
- Move call barring related functionality out of driver.h into a
dedicated file, call-barring.h
- Update to use the new atom framework
- Remove over-reliance on the modem structure, call-barring structure
should now be used instead whenever possible
2009-08-14 11:19:09 -05:00
Denis Kenzior
6b9d8567b4
No need to use g_timeout_add
...
Simply calling the function here should be sufficient
2009-08-07 16:33:31 -05:00
Andrzej Zaborowski
d36f8d868a
Use invalid_args instead of invalid_format
2009-08-05 12:20: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
2982a7962f
Minor style issue
2009-06-18 16:58:05 -05:00
Andrzej Zaborowski
b091f7b186
Add CallBarring::ChangePassword
2009-06-18 16:58:00 -05:00
Denis Kenzior
d0a569b9c0
Squish another uninitialized warning in CB
2009-06-01 14:05:45 -05:00
Denis Kenzior
dc17c86a19
Change int type to enum for SS control callbacks
2009-06-01 14:05:41 -05:00
Denis Kenzior
b028585d07
Tweak the call barring API
2009-05-28 10:03:38 -05:00
Denis Kenzior
dfbda09dc9
Make CB operations take a mask of the bearers
...
Currently we only really support Voice calls, so only that
bearer is enabled. However, in the future we might support
other call types.
2009-05-28 10:03:35 -05:00
Denis Kenzior
77b0d38a14
Fix minor logic flow bug in CallBarring
2009-05-21 17:02:29 -05:00
Denis Kenzior
80828c5ee3
Add class parameter to the query function for CB
2009-05-20 13:06:51 -05:00
Denis Kenzior
8022060bc2
Rework Call Barring Interface
2009-05-20 13:03:12 -05:00