Home
last modified time | relevance | path

Searched refs:dbus (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/external/ot-br-posix/tests/scripts/
Dcheck-android-build44 DBUS_SOURCE=dbus-1.4.26
49 && sed -i 's/long/long long/' dbus/dbus-arch-deps.h)
55 dbus-address.c \
56 dbus-auth.c \
57 dbus-auth-script.c \
58 dbus-auth-util.c \
59 dbus-bus.c \
60 dbus-connection.c \
61 dbus-credentials.c \
62 dbus-credentials-util.c \
[all …]
/external/libabigail/tests/data/test-read-dwarf/
Dtest13-pr18894.so.abi243 …-instr address-size='64' path='dbus-address.c' comp-dir-path='/tmp/legendre/spack-stage/spack-stag…
247 …<typedef-decl name='dbus_uint32_t' type-id='type-id-3' filepath='../dbus/dbus-arch-deps.h' line='4…
248 …<typedef-decl name='DBusError' type-id='type-id-5' filepath='../dbus/dbus-errors.h' line='43' colu…
249 …r' size-in-bits='256' is-struct='yes' visibility='default' filepath='../dbus/dbus-errors.h' line='…
251 …<var-decl name='name' type-id='type-id-7' visibility='default' filepath='../dbus/dbus-errors.h' li…
254 …<var-decl name='message' type-id='type-id-7' visibility='default' filepath='../dbus/dbus-errors.h'…
257 …<var-decl name='dummy1' type-id='type-id-3' visibility='default' filepath='../dbus/dbus-errors.h' …
260 …<var-decl name='dummy2' type-id='type-id-3' visibility='default' filepath='../dbus/dbus-errors.h' …
263 …<var-decl name='dummy3' type-id='type-id-3' visibility='default' filepath='../dbus/dbus-errors.h' …
266 …<var-decl name='dummy4' type-id='type-id-3' visibility='default' filepath='../dbus/dbus-errors.h' …
[all …]
/external/libabigail/tests/data/test-annotate/
Dtest13-pr18894.so.abi477 …-instr address-size='64' path='dbus-address.c' comp-dir-path='/tmp/legendre/spack-stage/spack-stag…
485 …<typedef-decl name='dbus_uint32_t' type-id='type-id-3' filepath='../dbus/dbus-arch-deps.h' line='4…
487 …<typedef-decl name='DBusError' type-id='type-id-5' filepath='../dbus/dbus-errors.h' line='43' colu…
489 …r' size-in-bits='256' is-struct='yes' visibility='default' filepath='../dbus/dbus-errors.h' line='…
492 …<var-decl name='name' type-id='type-id-7' visibility='default' filepath='../dbus/dbus-errors.h' li…
496 …<var-decl name='message' type-id='type-id-7' visibility='default' filepath='../dbus/dbus-errors.h'…
500 …<var-decl name='dummy1' type-id='type-id-3' visibility='default' filepath='../dbus/dbus-errors.h' …
504 …<var-decl name='dummy2' type-id='type-id-3' visibility='default' filepath='../dbus/dbus-errors.h' …
508 …<var-decl name='dummy3' type-id='type-id-3' visibility='default' filepath='../dbus/dbus-errors.h' …
512 …<var-decl name='dummy4' type-id='type-id-3' visibility='default' filepath='../dbus/dbus-errors.h' …
[all …]
/external/libbrillo/brillo/dbus/
Ddata_serialization.cc14 void AppendValueToWriter(dbus::MessageWriter* writer, bool value) { in AppendValueToWriter()
18 void AppendValueToWriter(dbus::MessageWriter* writer, uint8_t value) { in AppendValueToWriter()
22 void AppendValueToWriter(dbus::MessageWriter* writer, int16_t value) { in AppendValueToWriter()
26 void AppendValueToWriter(dbus::MessageWriter* writer, uint16_t value) { in AppendValueToWriter()
30 void AppendValueToWriter(dbus::MessageWriter* writer, int32_t value) { in AppendValueToWriter()
34 void AppendValueToWriter(dbus::MessageWriter* writer, uint32_t value) { in AppendValueToWriter()
38 void AppendValueToWriter(dbus::MessageWriter* writer, int64_t value) { in AppendValueToWriter()
42 void AppendValueToWriter(dbus::MessageWriter* writer, uint64_t value) { in AppendValueToWriter()
46 void AppendValueToWriter(dbus::MessageWriter* writer, double value) { in AppendValueToWriter()
50 void AppendValueToWriter(dbus::MessageWriter* writer, in AppendValueToWriter()
[all …]
Ddata_serialization.h128 void AppendValueToWriter(::dbus::MessageWriter* writer, char value) = delete;
129 void AppendValueToWriter(::dbus::MessageWriter* writer, float value) = delete;
136 void PopValueFromReader(::dbus::MessageReader* reader, char* value) = delete;
137 void PopValueFromReader(::dbus::MessageReader* reader, float* value) = delete;
156 inline bool DescendIntoVariantIfPresent(::dbus::MessageReader** reader_ref,
157 ::dbus::MessageReader* variant_reader) {
158 if ((*reader_ref)->GetDataType() != ::dbus::Message::VARIANT)
190 BRILLO_EXPORT void AppendValueToWriter(::dbus::MessageWriter* writer,
192 BRILLO_EXPORT bool PopValueFromReader(::dbus::MessageReader* reader,
200 inline static void Write(::dbus::MessageWriter* writer, bool value) {
[all …]
Dexported_property_set_test.cc55 const dbus::ObjectPath kMethodsExportedOnPath(std::string("/export"));
56 const dbus::ObjectPath kTestObjectPathInit(std::string("/path_init"));
57 const dbus::ObjectPath kTestObjectPathUpdate(std::string("/path_update"));
75 ExportedProperty<dbus::ObjectPath> path_prop_;
77 ExportedProperty<std::vector<dbus::ObjectPath>> pathlist_prop_;
80 Properties(scoped_refptr<dbus::Bus> bus, const dbus::ObjectPath& path) in Properties()
112 dbus::Bus::Options options; in SetUp()
113 options.bus_type = dbus::Bus::SYSTEM; in SetUp()
114 bus_ = new dbus::MockBus(options); in SetUp()
120 new dbus::MockExportedObject(bus_.get(), kMethodsExportedOnPath); in SetUp()
[all …]
Dexported_object_manager_test.cc30 const dbus::ObjectPath kTestPath(std::string("/test/om_path"));
31 const dbus::ObjectPath kClaimedTestPath(std::string("/test/claimed_path"));
40 void ReadTestPropertyDict(dbus::MessageReader* reader) { in ReadTestPropertyDict()
41 dbus::MessageReader all_properties(nullptr); in ReadTestPropertyDict()
42 dbus::MessageReader each_property(nullptr); in ReadTestPropertyDict()
55 void VerifyInterfaceClaimSignal(dbus::Signal* signal) { in VerifyInterfaceClaimSignal()
56 EXPECT_EQ(signal->GetInterface(), std::string(dbus::kObjectManagerInterface)); in VerifyInterfaceClaimSignal()
58 std::string(dbus::kObjectManagerInterfacesAdded)); in VerifyInterfaceClaimSignal()
62 dbus::MessageReader reader(signal); in VerifyInterfaceClaimSignal()
63 dbus::MessageReader all_interfaces(nullptr); in VerifyInterfaceClaimSignal()
[all …]
Ddbus_object_test.cc80 dbus::Message* message, in TestWithMessage()
88 dbus::Message* message) { in TestWithMessageAsync()
101 dbus::Bus::Options options; in SetUp()
102 options.bus_type = dbus::Bus::SYSTEM; in SetUp()
103 bus_ = new dbus::MockBus(options); in SetUp()
108 const dbus::ObjectPath kMethodsExportedOnPath{ in SetUp()
111 new dbus::MockExportedObject(bus_.get(), kMethodsExportedOnPath); in SetUp()
147 void ExpectError(dbus::Response* response, const std::string& expected_code) { in ExpectError()
148 EXPECT_EQ(dbus::Message::MESSAGE_ERROR, response->GetMessageType()); in ExpectError()
152 scoped_refptr<dbus::MockBus> bus_;
[all …]
Ddbus_method_invoker.h96 inline std::unique_ptr<::dbus::Response> CallMethodAndBlockWithTimeout( in CallMethodAndBlockWithTimeout()
98 ::dbus::ObjectProxy* object, in CallMethodAndBlockWithTimeout()
103 ::dbus::MethodCall method_call(interface_name, method_name); in CallMethodAndBlockWithTimeout()
105 ::dbus::MessageWriter writer(&method_call); in CallMethodAndBlockWithTimeout()
107 ::dbus::ScopedDBusError dbus_error; in CallMethodAndBlockWithTimeout()
114 errors::dbus::kDomain, in CallMethodAndBlockWithTimeout()
120 errors::dbus::kDomain, in CallMethodAndBlockWithTimeout()
132 inline std::unique_ptr<::dbus::Response> CallMethodAndBlock( in CallMethodAndBlock()
133 ::dbus::ObjectProxy* object, in CallMethodAndBlock()
138 return CallMethodAndBlockWithTimeout(::dbus::ObjectProxy::TIMEOUT_USE_DEFAULT, in CallMethodAndBlock()
[all …]
Ddbus_method_invoker_test.cc24 using dbus::MessageReader;
25 using dbus::MessageWriter;
26 using dbus::Response;
73 dbus::Bus::Options options; in SetUp()
74 options.bus_type = dbus::Bus::SYSTEM; in SetUp()
75 bus_ = new dbus::MockBus(options); in SetUp()
80 mock_object_proxy_ = new dbus::MockObjectProxy( in SetUp()
81 bus_.get(), kTestServiceName, dbus::ObjectPath(kTestPath)); in SetUp()
83 GetObjectProxy(kTestServiceName, dbus::ObjectPath(kTestPath))) in SetUp()
85 int def_timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT; in SetUp()
[all …]
Ddbus_object_internal_impl.h56 virtual void HandleMethod(::dbus::MethodCall* method_call,
80 void HandleMethod(::dbus::MethodCall* method_call, in HandleMethod()
88 ::dbus::MessageReader reader(method_call); in HandleMethod()
114 void HandleMethod(::dbus::MethodCall* method_call, in HandleMethod()
120 ::dbus::MessageWriter writer(response.get()); in HandleMethod()
126 ::dbus::MessageReader reader(method_call); in HandleMethod()
160 void HandleMethod(::dbus::MethodCall* method_call, in HandleMethod()
169 ::dbus::MessageWriter writer(response.get()); in HandleMethod()
176 ::dbus::MessageReader reader(method_call); in HandleMethod()
208 const base::Callback<bool(ErrorPtr*, ::dbus::Message*, Args...)>& handler) in SimpleDBusInterfaceMethodHandlerWithErrorAndMessage()
[all …]
/external/crosvm/system_api/src/bindings/client/
Dorg_chromium_userdataauth.rs2 use dbus as dbus;
4 use dbus::arg;
5 use dbus::blocking;
8 fn is_mounted(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in is_mounted()
9 fn unmount(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in unmount()
10 fn mount(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in mount()
11 fn remove(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in remove()
12 fn list_keys(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in list_keys()
13 fn get_key_data(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in get_key_data()
14 fn check_key(&self, request: Vec<u8>) -> Result<Vec<u8>, dbus::Error>; in check_key()
[all …]
/external/autotest/client/cros/networking/
Dshill_proxy.py11 import dbus
12 import dbus.mainloop.glib
80 MANAGER_PROPERTY_DHCPPROPERTY_HOSTNAME: dbus.String,
81 MANAGER_PROPERTY_DHCPPROPERTY_VENDORCLASS: dbus.String,
82 MANAGER_PROPERTY_WIFI_GLOBAL_FT_ENABLED: dbus.Boolean
159 SERVICE_PROPERTY_AUTOCONNECT: (dbus.Boolean, {}),
160 SERVICE_PROPERTY_DEVICE: (dbus.ObjectPath, {}),
161 SERVICE_PROPERTY_GUID: (dbus.String, {}),
162 SERVICE_PROPERTY_HEX_SSID: (dbus.String, {}),
163 SERVICE_PROPERTY_HIDDEN: (dbus.Boolean, {}),
[all …]
Dapmanager_proxy.py10 import dbus
11 import dbus.mainloop.glib
45 apmanager_constants.CONFIG_BRIDGE_INTERFACE: dbus.String,
46 apmanager_constants.CONFIG_CHANNEL: dbus.UInt16,
47 apmanager_constants.CONFIG_HIDDEN_NETWORK: dbus.Boolean,
48 apmanager_constants.CONFIG_HW_MODE: dbus.String,
49 apmanager_constants.CONFIG_INTERFACE_NAME: dbus.String,
50 apmanager_constants.CONFIG_OPERATION_MODE: dbus.String,
51 apmanager_constants.CONFIG_PASSPHRASE: dbus.String,
52 apmanager_constants.CONFIG_SECURITY_MODE: dbus.String,
[all …]
Dmm1_proxy.py11 import dbus
12 import dbus.mainloop.glib
21 return (isinstance(e, dbus.exceptions.DBusException) and
64 except dbus.exceptions.DBusException as e:
87 dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
88 bus = dbus.SystemBus()
90 self._manager = dbus.Interface(
140 self._manager.InhibitDevice(dbus.String(self._device), inhibit)
153 except dbus.exceptions.DBusException as e:
177 object_manager = dbus.Interface(
[all …]
/external/libwebsockets/lib/roles/dbus/
DREADME.md5 Fedora: dbus-devel
12 $ cmake .. -DLWS_ROLE_DBUS=1 -DLWS_DBUS_INCLUDE2="/usr/lib64/dbus-1.0/include"
17 $ cmake .. -DLWS_ROLE_DBUS=1 -DLWS_DBUS_INCLUDE2="/usr/lib/x86_64-linux-gnu/dbus-1.0/include"
26 `/usr/include/dbus-1.0`... if the directory exists, it is used.
28 For `LWS_DBUS_INCLUDE2`, it is the arch-specific dbus header which may be
29 packaged separately than the main dbus headers. On Fedora, this is in
30 `/usr/lib[64]/dbus-1.0/include`... if not given externally, lws cmake will
31 try `/usr/lib64/dbus-1.0/include`. On Debian / Ubuntu, the package installs
32 it in an arch-specific dir like `/usr/lib/x86_64-linux-gnu/dbus-1.0/include`,
35 The library path is usually \[lib\] "dbus-1", but this can also be forced if
[all …]
/external/libchrome/libchrome_tools/patches/
Ddbus-Make-Bus-is_connected-mockable.patch4 Subject: [PATCH] dbus: Make Bus::is_connected() mockable
17 dbus/bus.cc | 4 ++++
18 dbus/bus.h | 2 +-
19 dbus/bus_unittest.cc | 4 ++--
20 dbus/exported_object.cc | 2 +-
21 dbus/mock_bus.h | 1 +
22 dbus/object_proxy.cc | 2 +-
25 diff --git a/dbus/bus.cc b/dbus/bus.cc
27 --- a/dbus/bus.cc
28 +++ b/dbus/bus.cc
[all …]
/external/autotest/client/cros/cellular/pseudomodem/
Dmodem_3gpp.py6 import dbus
7 import dbus.types
35 return dbus.types.Struct(
36 [dbus.types.UInt32(1),
37 dbus.types.Boolean(True),
38 dbus.types.ByteArray(pco_data)],
80 'status': dbus.types.UInt32(self.status),
84 'access-technology': dbus.types.UInt32(self.access_technology),
103 self._cached_pco = dbus.types.Array([], "(ubay)")
113 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_GSM_UMTS),
[all …]
Dmodem_cdma.py6 import dbus
7 import dbus.types
85 'Sid' : dbus.types.UInt32(0),
86 'Nid' : dbus.types.UInt32(0),
88 dbus.types.UInt32(
91 dbus.types.UInt32(
93 'ActivationState' : dbus.types.UInt32(activation_state)
97 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_CDMA_EVDO)
100 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_CDMA_EVDO))
101 props['MaxBearers'] = dbus.types.UInt32(1)
[all …]
Dmodem.py10 import dbus
11 import dbus.service
12 import dbus.types
121 'Ports': [dbus.types.Struct(
123 dbus.types.UInt32(self.device_port_type)],
125 dbus.types.Struct(
127 dbus.types.UInt32(
133 dbus.types.UInt32(mm1_constants.MM_MODEM_LOCK_NONE),
134 'UnlockRetries' : dbus.Dictionary(signature='uu'),
135 'State' : dbus.types.Int32(mm1_constants.MM_MODEM_STATE_DISABLED),
[all …]
/external/selinux/dbus/
Dselinux_server.py3 import dbus
4 import dbus.service
5 from dbus.mainloop.glib import DBusGMainLoop
13 class selinux_server(dbus.service.Object):
20 bus = dbus.SystemBus()
22 authority = dbus.Interface(proxy, dbus_interface='org.freedesktop.PolicyKit1.Authority')
31 @dbus.service.method("org.selinux", in_signature='s', sender_keyword="sender")
34 raise dbus.exceptions.DBusException("Not authorized")
39 raise dbus.exceptions.DBusException(output[1])
46 @dbus.service.method("org.selinux", in_signature='', out_signature='s', sender_keyword="sender")
[all …]
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dwpas-dbus-new.py3 import dbus
7 from dbus.mainloop.glib import DBusGMainLoop
29 dbus_interface=dbus.PROPERTIES_IFACE)
33 dbus_interface=dbus.PROPERTIES_IFACE)
42 net = dbus.Interface(net_obj, WPAS_DBUS_BSS_INTERFACE)
46 dbus_interface=dbus.PROPERTIES_IFACE)
52 dbus_interface=dbus.PROPERTIES_IFACE)
56 dbus_interface=dbus.PROPERTIES_IFACE)
61 dbus_interface=dbus.PROPERTIES_IFACE)
66 dbus_interface=dbus.PROPERTIES_IFACE)
[all …]
/external/libabigail/tests/data/test-fedabipkgdiff/
Dtest7-self-compare-from-fc23-dbus-glib-report-0.txt1 Comparing the ABI of binaries between dbus-glib-0.106-1.fc23.i686.rpm and dbus-glib-0.106-1.fc23.i6…
4 ==== SELF CHECK SUCCEEDED for 'dbus-binding-tool' ====
6 Comparing the ABI of binaries between dbus-glib-devel-0.106-1.fc23.i686.rpm and dbus-glib-devel-0.1…
8 ==== SELF CHECK SUCCEEDED for 'dbus-bash-completion-helper' ====
10 Comparing the ABI of binaries between dbus-glib-0.106-1.fc23.x86_64.rpm and dbus-glib-0.106-1.fc23.…
13 ==== SELF CHECK SUCCEEDED for 'dbus-binding-tool' ====
15 Comparing the ABI of binaries between dbus-glib-devel-0.106-1.fc23.x86_64.rpm and dbus-glib-devel-0…
17 ==== SELF CHECK SUCCEEDED for 'dbus-bash-completion-helper' ====
/external/libbrillo/brillo/http/
Dhttp_proxy.cc24 bool ParseProxyInfo(dbus::Response* response, in ParseProxyInfo()
34 dbus::MessageReader reader(response); in ParseProxyInfo()
93 dbus::Response* response) { in OnResolveProxy()
103 bool GetChromeProxyServers(scoped_refptr<dbus::Bus> bus, const std::string& url, in GetChromeProxyServers()
105 dbus::ObjectProxy* proxy = in GetChromeProxyServers()
107 dbus::ObjectPath(chromeos::kNetworkProxyServicePath)); in GetChromeProxyServers()
108 dbus::MethodCall method_call( in GetChromeProxyServers()
111 dbus::MessageWriter writer(&method_call); in GetChromeProxyServers()
113 std::unique_ptr<dbus::Response> response = proxy->CallMethodAndBlock( in GetChromeProxyServers()
114 &method_call, dbus::ObjectProxy::TIMEOUT_USE_DEFAULT); in GetChromeProxyServers()
[all …]
Dhttp_proxy_test.cc33 void ResolveProxyHandlerAsync(dbus::MethodCall* method_call, in ResolveProxyHandlerAsync()
35 dbus::ObjectProxy::ResponseCallback* callback) { in ResolveProxyHandlerAsync()
43 std::unique_ptr<dbus::Response> ResolveProxyHandler( in ResolveProxyHandler()
44 dbus::MethodCall* method_call, int timeout_msec) { in ResolveProxyHandler()
46 return std::unique_ptr<dbus::Response>(); in ResolveProxyHandler()
57 dbus::Bus::Options options; in HttpProxyTest()
58 options.bus_type = dbus::Bus::SYSTEM; in HttpProxyTest()
59 bus_ = new dbus::MockBus(options); in HttpProxyTest()
60 object_proxy_ = new dbus::MockObjectProxy( in HttpProxyTest()
62 dbus::ObjectPath(chromeos::kNetworkProxyServicePath)); in HttpProxyTest()
[all …]

12345678910>>...20