HomeSort by relevance Sort by last modified time
    Searched refs:Bus (Results 1 - 25 of 222) sorted by null

1 2 3 4 5 6 7 8 9

  /external/libchrome/dbus/
mock_bus.cc 11 MockBus::MockBus(const Bus::Options& options) : Bus(options) {
mock_exported_object.cc 9 MockExportedObject::MockExportedObject(Bus* bus,
11 : ExportedObject(bus, object_path) {
bus.cc 5 #include "dbus/bus.h"
37 // The class is used for watching the file descriptor used for D-Bus
96 // The class is used for monitoring the timeout used for D-Bus method
102 // Bus::OnRemoveTimeout(). That's why we don't simply delete the object in
103 // Bus::OnRemoveTimeout().
120 void StartMonitoring(Bus* bus) {
121 bus->GetDBusTaskRunner()->PostDelayedTask(
157 // occur if this function is called after Bus::OnRemoveTimeout().
175 Bus::Options::Options(
    [all...]
mock_object_manager.cc 9 MockObjectManager::MockObjectManager(Bus* bus,
12 : ObjectManager(bus, service_name, object_path) {
mock_object_proxy.cc 9 MockObjectProxy::MockObjectProxy(Bus* bus,
12 : ObjectProxy(bus, service_name, object_path, DEFAULT_OPTIONS) {
mock_exported_object.h 19 MockExportedObject(Bus* bus,
exported_object.h 24 class Bus;
29 // ExportedObject is used to export objects and methods to other D-Bus
37 // Client code should use Bus::GetExportedObject() instead of this
39 ExportedObject(Bus* bus, const ObjectPath& object_path);
70 // service name by Bus::RequestOwnership/AndBlock(). If you do it in the
95 // synchronously if this method is called from the message loop in the D-Bus
99 // Unregisters the object from the bus. The Bus object will take care of
128 // Registers this object to the bus
    [all...]
mock_object_manager.h 21 MockObjectManager(Bus* bus,
  /external/libbrillo/brillo/dbus/
dbus_connection.h 10 #include <dbus/bus.h>
16 // DBusConnection adds D-Bus support to Daemon.
22 // Instantiates dbus::Bus and establishes a D-Bus connection. Returns a
23 // reference to the connected bus, or an empty pointer in case of error.
24 scoped_refptr<dbus::Bus> Connect();
26 // Instantiates dbus::Bus and tries to establish a D-Bus connection for up to
29 scoped_refptr<dbus::Bus> ConnectWithTimeout(base::TimeDelta timeout);
32 scoped_refptr<dbus::Bus> bus_
    [all...]
dbus_connection.cc 26 scoped_refptr<dbus::Bus> DBusConnection::Connect() {
30 scoped_refptr<dbus::Bus> DBusConnection::ConnectWithTimeout(
37 dbus::Bus::Options options;
38 options.bus_type = dbus::Bus::SYSTEM;
40 scoped_refptr<dbus::Bus> bus = new dbus::Bus(options); local
43 if (bus->Connect()) {
44 bus_ = bus;
47 LOG(WARNING) << "Failed to get system bus."
    [all...]
dbus_service_watcher.h 15 #include <dbus/bus.h>
20 // DBusServiceWatcher just asks the bus to notify us when the owner of a remote
28 // registered callback in the Bus, because failure to remove callbacks will
29 // cause the Bus to crash the process on destruction.
32 DBusServiceWatcher(scoped_refptr<dbus::Bus> bus,
41 scoped_refptr<dbus::Bus> bus_;
43 dbus::Bus::GetServiceOwnerCallback monitoring_callback_;
mock_dbus_object.h 20 const scoped_refptr<dbus::Bus>& bus,
22 : DBusObject(object_manager, bus, object_path) {}
exported_object_manager.h 18 #include <dbus/bus.h>
39 // ExampleObjectManager(dbus::Bus* bus)
40 // : object_manager_(bus, "/my/objects/path") { }
87 ExportedObjectManager(scoped_refptr<dbus::Bus> bus,
109 const scoped_refptr<dbus::Bus>& GetBus() const { return bus_; }
114 scoped_refptr<dbus::Bus> bus_;
  /system/connectivity/shill/dbus/
chromeos_dbus_service_watcher.cc 22 scoped_refptr<dbus::Bus> bus,
27 bus, connection_name, on_connection_vanished)) {}
chromeos_dbus_service_watcher.h 31 scoped_refptr<dbus::Bus> bus,
dbus_service_watcher_factory.cc 36 scoped_refptr<dbus::Bus> bus, const std::string& connection_name,
38 return new ChromeosDBusServiceWatcher(bus, connection_name,
mock_dbus_service_watcher_factory.h 33 ChromeosDBusServiceWatcher*(scoped_refptr<dbus::Bus> bus,
dbus_service_watcher_factory.h 25 #include <dbus/bus.h>
39 scoped_refptr<dbus::Bus> bus, const std::string& connection_name,
  /system/connectivity/shill/shims/
openvpn_script.cc 48 scoped_refptr<dbus::Bus> bus; local
49 dbus::Bus::Options options;
50 options.bus_type = dbus::Bus::SYSTEM;
51 bus = new dbus::Bus(options);
52 CHECK(bus->Connect());
54 shill::shims::TaskProxy proxy(bus, path, service);
57 if (bus) {
58 bus->ShutdownAndBlock()
    [all...]
ppp.h 28 class Bus;
63 scoped_refptr<dbus::Bus> bus_;
  /system/connectivity/shill/test-rpc-proxy/
proxy_main.cc 65 // Connect to dbus's system bus.
66 dbus::Bus::Options options;
67 options.bus_type = dbus::Bus::SYSTEM;
68 scoped_refptr<dbus::Bus> dbus_bus = new dbus::Bus(options);
  /system/update_engine/
shill_proxy.h 24 #include <dbus/bus.h>
35 explicit ShillProxy(const scoped_refptr<dbus::Bus>& bus);
48 // A reference to the main bus for creating new ServiceProxy instances.
49 scoped_refptr<dbus::Bus> bus_;
  /system/tpm/tpm_manager/client/
tpm_ownership_dbus_proxy.cc 41 dbus::Bus::Options options;
42 options.bus_type = dbus::Bus::SYSTEM;
43 bus_ = new dbus::Bus(options);
tpm_nvram_dbus_proxy.cc 41 dbus::Bus::Options options;
42 options.bus_type = dbus::Bus::SYSTEM;
43 bus_ = new dbus::Bus(options);
  /system/connectivity/apmanager/dbus/
dbus_control.cc 47 // Setup bus connection.
48 dbus::Bus::Options options;
49 options.bus_type = dbus::Bus::SYSTEM;
50 bus_ = new dbus::Bus(options);
84 dbus::Bus::REQUIRE_PRIMARY))
87 // D-Bus service is ready, now we can start the Manager.

Completed in 566 milliseconds

1 2 3 4 5 6 7 8 9