HomeSort by relevance Sort by last modified time
    Searched full:bus_ (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/libbrillo/brillo/dbus/
dbus_service_watcher.cc 16 : bus_{bus},
22 bus_->ListenForServiceOwnerChange(connection_name_, monitoring_callback_);
23 bus_->GetServiceOwner(connection_name_, monitoring_callback_);
27 bus_->UnlistenForServiceOwnerChange(
dbus_connection.cc 22 if (bus_)
23 bus_->ShutdownAndBlock();
32 if (bus_)
33 return bus_;
44 bus_ = bus;
45 return bus_;
dbus_signal_handler_unittest.cc 34 bus_ = new dbus::MockBus(options);
36 EXPECT_CALL(*bus_, AssertOnOriginThread()).Times(AnyNumber());
37 EXPECT_CALL(*bus_, AssertOnDBusThread()).Times(AnyNumber());
40 bus_.get(), kTestServiceName, dbus::ObjectPath(kTestPath));
41 EXPECT_CALL(*bus_,
46 void TearDown() override { bus_ = nullptr; }
68 scoped_refptr<dbus::MockBus> bus_; member in class:brillo::dbus_utils::DBusSignalHandlerTest
exported_object_manager_unittest.cc 103 bus_ = new dbus::MockBus(options);
105 EXPECT_CALL(*bus_, AssertOnOriginThread()).Times(AnyNumber());
106 EXPECT_CALL(*bus_, AssertOnDBusThread()).Times(AnyNumber());
108 mock_exported_object_ = new dbus::MockExportedObject(bus_.get(), kTestPath);
109 EXPECT_CALL(*bus_, GetExportedObject(kTestPath)).Times(1).WillOnce(
113 om_.reset(new ExportedObjectManager(bus_.get(), kTestPath));
121 bus_ = nullptr;
132 scoped_refptr<dbus::MockBus> bus_; member in class:brillo::dbus_utils::ExportedObjectManagerTest
dbus_method_invoker_unittest.cc 44 bus_ = new dbus::MockBus(options);
46 EXPECT_CALL(*bus_, AssertOnOriginThread()).Times(AnyNumber());
47 EXPECT_CALL(*bus_, AssertOnDBusThread()).Times(AnyNumber());
50 bus_.get(), kTestServiceName, dbus::ObjectPath(kTestPath));
51 EXPECT_CALL(*bus_,
60 void TearDown() override { bus_ = nullptr; }
146 scoped_refptr<dbus::MockBus> bus_; member in class:brillo::dbus_utils::DBusMethodInvokerTest
201 bus_ = new dbus::MockBus(options);
203 EXPECT_CALL(*bus_, AssertOnOriginThread()).Times(AnyNumber());
204 EXPECT_CALL(*bus_, AssertOnDBusThread()).Times(AnyNumber())
288 scoped_refptr<dbus::MockBus> bus_; member in class:brillo::dbus_utils::AsyncDBusMethodInvokerTest
    [all...]
exported_object_manager.cc 20 : bus_(bus), dbus_object_(nullptr, bus, path) {
26 bus_->AssertOnOriginThread();
44 bus_->AssertOnOriginThread();
61 bus_->AssertOnOriginThread();
90 bus_->AssertOnOriginThread();
exported_property_set.cc 22 : bus_(bus), weak_ptr_factory_(this) {
43 bus_->AssertOnOriginThread();
59 bus_->AssertOnOriginThread();
84 bus_->AssertOnOriginThread();
108 bus_->AssertOnOriginThread();
132 bus_->AssertOnOriginThread();
dbus_object.cc 155 : property_set_(bus.get()), bus_(bus), object_path_(object_path) {
191 exported_object_ = bus_->GetExportedObject(object_path_);
213 bus_.get(),
226 exported_object_ = bus_->GetExportedObject(object_path_);
248 bus_.get(),
265 bus_->UnregisterExportedObject(object_path_);
dbus_connection.h 32 scoped_refptr<dbus::Bus> bus_; member in class:brillo::final
dbus_object_unittest.cc 99 bus_ = new dbus::MockBus(options);
101 EXPECT_CALL(*bus_, AssertOnOriginThread()).Times(AnyNumber());
102 EXPECT_CALL(*bus_, AssertOnDBusThread()).Times(AnyNumber());
107 new dbus::MockExportedObject(bus_.get(), kMethodsExportedOnPath);
108 EXPECT_CALL(*bus_, GetExportedObject(kMethodsExportedOnPath))
116 new DBusObject(nullptr, bus_, kMethodsExportedOnPath));
148 scoped_refptr<dbus::MockBus> bus_; member in class:brillo::dbus_utils::DBusObjectTest
376 MockExportedObjectManager mock_object_manager{bus_, kObjectManagerPath};
378 new DBusObject(&mock_object_manager, bus_, kMethodsExportedOnPath));
  /system/connectivity/apmanager/dbus/
dbus_control.cc 50 bus_ = new dbus::Bus(options);
51 CHECK(bus_->Connect());
56 new ExportedObjectManager(bus_, dbus::ObjectPath(kServicePath)));
75 if (bus_) {
76 bus_->ShutdownAndBlock();
83 CHECK(bus_->RequestOwnershipAndBlock(kServiceName,
95 bus_, object_manager_.get(), config, service_identifier));
101 new DeviceDBusAdaptor(bus_, object_manager_.get(), device));
107 new ManagerDBusAdaptor(bus_, object_manager_.get(), manager));
113 new ServiceDBusAdaptor(bus_, object_manager_.get(), service))
    [all...]
  /external/libchrome/dbus/
exported_object.cc 34 : bus_(bus),
47 bus_->AssertOnDBusThread();
57 if (!bus_->Connect())
59 if (!bus_->SetUpAsyncOperations())
74 bus_->AssertOnOriginThread();
82 bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, task);
97 if (bus_->GetDBusTaskRunner()->RunsTasksOnCurrentThread()) {
105 bus_->GetDBusTaskRunner()->PostTask(
115 bus_->AssertOnDBusThread();
120 bus_->UnregisterObjectPath(object_path_)
    [all...]
object_proxy.cc 58 : bus_(bus),
74 bus_->AssertOnDBusThread();
76 if (!bus_->Connect() ||
86 bus_->SendWithReplyAndBlock(request_message, timeout_ms, error->get());
130 bus_->AssertOnOriginThread();
144 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, task);
166 bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, task);
173 bus_->AssertOnOriginThread();
175 if (bus_->HasDBusThread()) {
177 bus_->GetDBusTaskRunner(), FROM_HERE
    [all...]
object_manager.cc 35 : bus_(bus),
43 DCHECK(bus_);
44 bus_->AssertOnOriginThread();
45 object_proxy_ = bus_->GetObjectProxy(service_name_, object_path_);
55 bus_->GetDBusTaskRunner(),
151 DCHECK(bus_);
152 bus_->AssertOnDBusThread();
160 bus_->RemoveFilterFunction(&ObjectManager::HandleMessageThunk, this);
163 bus_->RemoveMatch(match_rule_, error.get());
171 DCHECK(bus_);
    [all...]
  /system/update_engine/
shill_proxy.cc 26 ShillProxy::ShillProxy(const scoped_refptr<dbus::Bus>& bus) : bus_(bus) {}
29 manager_proxy_.reset(new ManagerProxy(bus_));
39 DCHECK(bus_.get());
40 return std::unique_ptr<ServiceProxyInterface>(new ServiceProxy(bus_, path));
shill_proxy.h 39 // |bus_|.
49 scoped_refptr<dbus::Bus> bus_; member in class:chromeos_update_engine::ShillProxy
  /external/libbrillo/brillo/daemons/
dbus_daemon.cc 26 bus_ = dbus_connection_.Connect();
27 CHECK(bus_);
56 new ExportedObjectManager(bus_, object_manager_path_));
77 CHECK(bus_->RequestOwnershipAndBlock(service_name_,
  /system/connectivity/shill/dbus/
chromeos_dhcpcd_listener.cc 51 : bus_(bus),
56 bus_->AssertOnDBusThread();
57 CHECK(bus_->SetUpAsyncOperations());
58 if (!bus_->is_connected()) {
64 bus_->AddFilterFunction(&ChromeosDHCPCDListener::HandleMessageThunk, this);
68 bus_->AddMatch(match_rule_, error.get());
76 bus_->RemoveFilterFunction(&ChromeosDHCPCDListener::HandleMessageThunk, this);
78 bus_->RemoveMatch(match_rule_, error.get());
95 bus_->AssertOnDBusThread();
  /system/tpm/tpm_manager/client/
tpm_nvram_dbus_proxy.cc 35 if (bus_) {
36 bus_->ShutdownAndBlock();
43 bus_ = new dbus::Bus(options);
44 object_proxy_ = bus_->GetObjectProxy(
tpm_ownership_dbus_proxy.cc 35 if (bus_) {
36 bus_->ShutdownAndBlock();
43 bus_ = new dbus::Bus(options);
44 object_proxy_ = bus_->GetObjectProxy(
  /system/tpm/trunks/
trunks_dbus_proxy.cc 42 if (bus_) {
43 bus_->ShutdownAndBlock();
50 bus_ = new dbus::Bus(options);
51 object_proxy_ = bus_->GetObjectProxy(
  /external/dbus-binding-generator/chromeos-dbus-bindings/
proxy_generator_unittest.cc 136 bus_{bus},
139 bus_->GetObjectProxy(service_name_, object_path_)} {
169 bus_->RemoveObjectProxy(service_name_, object_path_, callback);
301 scoped_refptr<dbus::Bus> bus_;
347 bus_{bus},
351 bus_->GetObjectProxy(service_name_, object_path_)} {
358 bus_->RemoveObjectProxy(service_name_, object_path_, callback);
396 scoped_refptr<dbus::Bus> bus_;
455 bus_{bus},
457 bus_->GetObjectProxy(service_name_, object_path_)}
    [all...]
  /system/connectivity/shill/shims/
ppp.cc 163 bus_ = new dbus::Bus(options);
164 CHECK(bus_->Connect());
166 proxy_.reset(new TaskProxy(bus_, path, service));
174 if (bus_) {
175 bus_->ShutdownAndBlock();
ppp.h 63 scoped_refptr<dbus::Bus> bus_; member in class:shill::shims::PPP
  /system/tpm/attestation/client/
dbus_proxy.cc 36 if (bus_) {
37 bus_->ShutdownAndBlock();
44 bus_ = new dbus::Bus(options);
45 object_proxy_ = bus_->GetObjectProxy(

Completed in 6000 milliseconds

1 2 3