Lines Matching refs:DBus
5 import dbus, gobject, logging, os, stat
6 from dbus.mainloop.glib import DBusGMainLoop
17 CrosDisks DBus interface. In particular, the CrosDisksTester class can be used
18 to derive functional tests that interact with the CrosDisks server over DBus.
54 """ A base class of a DBus proxy client to test a DBus server.
57 some convenient functions for testing the DBus API exposed by a DBus server.
65 bus: The bus where the DBus server is connected to.
66 bus_name: The bus name owned by the DBus server.
67 object_path: The object path of the DBus server.
68 timeout: Maximum time in seconds to wait for the DBus connection.
102 interface: The DBus interface of the signal.
179 """A DBus proxy client for testing the CrosDisks DBus server.
185 DBUS_PROPERTIES_INTERFACE = 'org.freedesktop.DBus.Properties'
204 bus: The bus where the DBus server is connected to.
205 timeout_seconds: Maximum time in seconds to wait for the DBus
212 self.interface = dbus.Interface(self.proxy_object,
214 self.properties = dbus.Interface(self.proxy_object,
260 dbus.Array(options, signature='s'))
344 dbus.Array(options, signature='s'))
358 return self.interface.Unmount(path, dbus.Array(options, signature='s'))
398 self.bus = dbus.SystemBus(mainloop=bus_loop)
424 """"Reconnect the CrosDisks DBus client.
427 timeout_seconds: Maximum time in seconds to wait for the DBus