Searched refs:dbus (Results 1 - 25 of 56) sorted by relevance

123

/system/bt/service/ipc/dbus/
H A Dbluetooth_adapter.h22 #include <dbus/bus.h>
23 #include <dbus/exported_object.h>
24 #include <dbus/message.h>
25 #include <dbus/object_path.h>
26 #include <dbus/property.h>
28 using ::dbus::Bus;
29 using ::dbus::ExportedObject;
30 using ::dbus::MethodCall;
33 namespace dbus { namespace in namespace:ipc
55 } // namespace dbus
[all...]
H A Dbluetooth_adapter.cc17 #include "service/ipc/dbus/bluetooth_adapter.h"
22 using ::dbus::Bus;
23 using ::dbus::ExportedObject;
24 using ::dbus::MethodCall;
25 using ::dbus::MessageWriter;
26 using ::dbus::Response;
27 using ::dbus::ObjectPath;
28 using ::dbus::ErrorResponse;
38 // TODO(jpawlowski): right now xml interface files are in service/ipc/dbus/
39 // folder. Make a script to move them into /usr/share/dbus
47 namespace dbus { namespace in namespace:ipc
[all...]
H A Dipc_handler_dbus.cc17 #include "service/ipc/dbus/ipc_handler_dbus.h"
21 #include <dbus/bus.h>
23 #include "service/ipc/dbus/bluetooth_adapter.h"
25 using dbus::Bus;
59 ipc::dbus::BluetoothAdapter* bluetooth_adapter =
60 new ipc::dbus::BluetoothAdapter(bus_, adapter());
/system/update_engine/
H A Ddbus_connection.h21 #include <brillo/dbus/dbus_connection.h>
22 #include <dbus/bus.h>
30 const scoped_refptr<dbus::Bus>& GetDBus();
35 scoped_refptr<dbus::Bus> bus_;
H A Dshill_proxy.h24 #include <dbus/bus.h>
25 #include <dbus/object_path.h>
26 #include <shill/dbus-proxies.h>
41 GetServiceForPath(const dbus::ObjectPath& path) override;
45 scoped_refptr<dbus::Bus> bus_;
H A Dconnection_manager.h23 #include <dbus/object_path.h>
50 bool GetDefaultServicePath(dbus::ObjectPath* out_path);
52 bool GetServicePathProperties(const dbus::ObjectPath& path,
H A Dshill_proxy_interface.h24 #include <dbus/object_path.h>
25 #include <shill/dbus-proxies.h>
45 GetServiceForPath(const dbus::ObjectPath& path) = 0;
H A Dfake_shill_proxy.h25 #include <shill/dbus-proxies.h>
26 #include <shill/dbus-proxy-mocks.h>
45 GetServiceForPath(const dbus::ObjectPath& path) override;
49 const dbus::ObjectPath& path,
H A Dpower_manager_chromeos.cc19 #include <power_manager/dbus-constants.h>
20 #include <power_manager/dbus-proxies.h>
H A Dpower_manager_chromeos.h21 #include <power_manager/dbus-proxies.h>
H A Dfake_shill_proxy.cc32 const dbus::ObjectPath& path) {
42 const dbus::ObjectPath& path,
/system/tpm/tpm_manager/client/
H A Dtpm_ownership_dbus_proxy.h26 #include <dbus/bus.h>
27 #include <dbus/object_proxy.h>
56 void set_object_proxy(dbus::ObjectProxy* object_proxy) {
61 // Template method to call a given |method_name| remotely via dbus.
69 scoped_refptr<dbus::Bus> bus_;
70 dbus::ObjectProxy* object_proxy_;
H A Dtpm_ownership_dbus_proxy_test.cc20 #include <dbus/mock_object_proxy.h>
37 mock_object_proxy_ = new StrictMock<dbus::MockObjectProxy>(
38 nullptr, "", dbus::ObjectPath(""));
43 scoped_refptr<StrictMock<dbus::MockObjectProxy>> mock_object_proxy_;
49 dbus::MethodCall* method_call,
50 const dbus::MockObjectProxy::ResponseCallback& response_callback) {
52 dbus::MessageReader reader(method_call);
56 auto response = dbus::Response::CreateEmpty();
57 dbus::MessageWriter writer(response.get());
91 dbus
[all...]
H A Dtpm_nvram_dbus_proxy_test.cc20 #include <dbus/mock_object_proxy.h>
37 mock_object_proxy_ = new StrictMock<dbus::MockObjectProxy>(
38 nullptr, "", dbus::ObjectPath(""));
43 scoped_refptr<StrictMock<dbus::MockObjectProxy>> mock_object_proxy_;
51 dbus::MethodCall* method_call,
52 const dbus::MockObjectProxy::ResponseCallback& response_callback) {
54 dbus::MessageReader reader(method_call);
62 auto response = dbus::Response::CreateEmpty();
63 dbus::MessageWriter writer(response.get());
87 dbus
[all...]
H A Dtpm_nvram_dbus_proxy.h26 #include <dbus/bus.h>
27 #include <dbus/object_proxy.h>
63 void set_object_proxy(dbus::ObjectProxy* object_proxy) {
68 // Template method to call a given |method_name| remotely via dbus.
76 scoped_refptr<dbus::Bus> bus_;
77 dbus::ObjectProxy* object_proxy_;
H A Dtpm_ownership_dbus_proxy.cc20 #include <brillo/dbus/dbus_method_invoker.h>
41 dbus::Bus::Options options;
42 options.bus_type = dbus::Bus::SYSTEM;
43 bus_ = new dbus::Bus(options);
46 dbus::ObjectPath(tpm_manager::kTpmManagerServicePath));
H A Dtpm_nvram_dbus_proxy.cc20 #include <brillo/dbus/dbus_method_invoker.h>
41 dbus::Bus::Options options;
42 options.bus_type = dbus::Bus::SYSTEM;
43 bus_ = new dbus::Bus(options);
46 dbus::ObjectPath(tpm_manager::kTpmManagerServicePath));
/system/tpm/trunks/
H A Dtrunks_dbus_proxy.h24 #include <dbus/bus.h>
25 #include <dbus/object_proxy.h>
55 scoped_refptr<dbus::Bus> bus_;
56 dbus::ObjectProxy* object_proxy_;
H A Dtrunks_dbus_proxy.cc21 #include <brillo/dbus/dbus_method_invoker.h>
48 dbus::Bus::Options options;
49 options.bus_type = dbus::Bus::SYSTEM;
50 bus_ = new dbus::Bus(options);
52 trunks::kTrunksServiceName, dbus::ObjectPath(trunks::kTrunksServicePath));
87 std::unique_ptr<dbus::Response> dbus_response =
H A Dtrunks_dbus_service.h25 #include <brillo/dbus/dbus_method_response.h>
26 #include <brillo/dbus/dbus_object.h>
/system/tpm/attestation/client/
H A Ddbus_proxy.h25 #include <dbus/bus.h>
26 #include <dbus/object_proxy.h>
66 void set_object_proxy(dbus::ObjectProxy* object_proxy) {
71 scoped_refptr<dbus::Bus> bus_;
72 dbus::ObjectProxy* object_proxy_;
H A Ddbus_proxy_test.cc20 #include <dbus/mock_object_proxy.h>
37 mock_object_proxy_ = new StrictMock<dbus::MockObjectProxy>(
38 nullptr, "", dbus::ObjectPath(""));
43 scoped_refptr<StrictMock<dbus::MockObjectProxy>> mock_object_proxy_;
49 dbus::MethodCall* method_call,
50 const dbus::MockObjectProxy::ResponseCallback& response_callback) {
52 dbus::MessageReader reader(method_call);
63 auto response = dbus::Response::CreateEmpty();
64 dbus::MessageWriter writer(response.get());
96 dbus
[all...]
/system/tpm/attestation/server/
H A Ddbus_service_test.cc20 #include <brillo/dbus/dbus_object_test_helpers.h>
21 #include <dbus/mock_bus.h>
22 #include <dbus/mock_exported_object.h>
43 dbus::Bus::Options options;
44 mock_bus_ = new NiceMock<dbus::MockBus>(options);
45 dbus::ObjectPath path(kAttestationServicePath);
47 new NiceMock<dbus::MockExportedObject>(mock_bus_.get(), path);
55 std::unique_ptr<dbus::Response> CallMethod(dbus::MethodCall* method_call) {
60 std::unique_ptr<dbus
[all...]
H A Ddbus_service.h22 #include <brillo/dbus/dbus_method_response.h>
23 #include <brillo/dbus/dbus_object.h>
24 #include <dbus/bus.h>
38 DBusService(const scoped_refptr<dbus::Bus>& bus,
/system/tpm/tpm_manager/server/
H A Ddbus_service.h23 #include <brillo/dbus/dbus_method_response.h>
24 #include <brillo/dbus/dbus_object.h>
25 #include <dbus/bus.h>
43 DBusService(scoped_refptr<dbus::Bus> bus,

Completed in 182 milliseconds

123