storage: Remove obsolete functions that nobody calls
[framework/connectivity/connman.git] / test / show-introspection
index c1cb0ef..4b6450f 100755 (executable)
@@ -4,18 +4,18 @@ import dbus
 
 bus = dbus.SystemBus()
 
-object = dbus.Interface(bus.get_object('org.moblin.connman', '/'),
-                               'org.freedesktop.DBus.Introspectable')
+object = dbus.Interface(bus.get_object("net.connman", '/'),
+                               "org.freedesktop.DBus.Introspectable")
 
 print object.Introspect()
 
-manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"),
-                                       'org.moblin.connman.Manager')
+manager = dbus.Interface(bus.get_object("net.connman", "/"),
+                                       "net.connman.Manager")
 
-interfaces = manager.ListInterfaces()
+technologies = manager.GetTechnologies()
 
-for path in interfaces:
-       object = dbus.Interface(bus.get_object('org.moblin.connman', path),
-                                       'org.freedesktop.DBus.Introspectable')
+for path, properties in technologies:
+       object = dbus.Interface(bus.get_object("net.connman", path),
+                                       "org.freedesktop.DBus.Introspectable")
 
        print object.Introspect()