[connman] Share a single connection to D-Bus system bus.
authorOssama Othman <ossama.othman@intel.com>
Sun, 13 Oct 2013 06:29:39 +0000 (23:29 -0700)
committerOssama Othman <ossama.othman@intel.com>
Sun, 13 Oct 2013 06:29:39 +0000 (23:29 -0700)
commit04347ed0803aa2d2f06c0e6d6135fc044087cf22
tree042ed7b5a8816ac47762f8557a97e6164f279e8f
parent9a46e802090e73fb3788753636cb17b7b203e6d7
[connman] Share a single connection to D-Bus system bus.

Previously each GDBusProxy to a Connman object had its own
system bus connection.  That was wasteful and unnecessary.
All Connman D-Bus proxies now share a single connection.  This
reduces resource utilization and improves performance in some
cases, e.g. the settings daemon WiFi connect/disconnect
implementation.

Change-Id: Idec33eeb90f8403170adc4f9eec5984bb98b5ce6
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
20 files changed:
plugins/connman/Makefile.am
plugins/connman/bluetooth.cpp
plugins/connman/bluetooth.hpp
plugins/connman/clock.cpp
plugins/connman/clock.hpp
plugins/connman/connman.cpp
plugins/connman/connman.hpp
plugins/connman/connman_manager.cpp
plugins/connman/connman_manager.hpp
plugins/connman/dbus_connection.cpp [new file with mode: 0644]
plugins/connman/dbus_connection.hpp [new file with mode: 0644]
plugins/connman/ethernet.cpp
plugins/connman/ethernet.hpp
plugins/connman/registration.cpp
plugins/connman/service.cpp
plugins/connman/service.hpp
plugins/connman/technology.cpp
plugins/connman/technology.hpp
plugins/connman/wifi.cpp
plugins/connman/wifi.hpp