Osmocom GSM Tester, jenkins integrated GSM hardware testing https://osmocom.org/projects/osmo-gsm-tester
Go to file
Neels Hofmeyr 47de6b0a24 ofono/dbus: detach from signals as appropriate
In the dbus_connect() code path, return the subscription token.

In the Modem class, use this token to disconnect signal callbacks when an
interface is removed.

Generalize the signal connect/disconnect handling: have one tuple defining all
signals and their handler functions, add generalized loop to attach them. Store
all subscription tokens in a dict of lists, any number of signal callbacks per
general interface name. When an interface is announced to be removed from
ofono, detach all signals for that interface implicitly.

So far this only handles the MessageManager interface's IncomingMessage signal,
but others will likely follow soon.

Fixes: OS#2242
Change-Id: I0939ef414bc599ee8742df48da04d8d9569d00ba
2017-05-11 12:33:00 +02:00
contrib jenkins: fix trials-cleanup.sh: use 'taken' marker 2017-05-07 01:14:23 +00:00
doc readme: format so that dependencies can be copy-pasted to terminal 2017-05-10 13:08:45 +00:00
example defaults.conf: use only TCH/F instead of dynamic channels 2017-05-08 10:43:59 +00:00
install initial import 2017-03-28 12:37:17 +02:00
selftest cosmetic: lock test: add quotes 2017-05-11 12:33:00 +02:00
src ofono/dbus: detach from signals as appropriate 2017-05-11 12:33:00 +02:00
suites propagate Timeout class to test scope, use in debug suite 2017-05-08 13:06:58 +02:00
.gitignore gitignore: Add *.pyc 2017-04-28 14:56:20 +02:00
Makefile core implementation 2017-04-08 15:43:19 +02:00
check_dependencies.py core implementation 2017-04-08 15:43:19 +02:00
update_version.sh initial import 2017-03-28 12:37:17 +02:00