/packages/modules/Bluetooth/system/stack/mmc/daemon/ |
D | service.cc | 125 dbus::Bus::Options opts; in Init() 126 opts.bus_type = dbus::Bus::SYSTEM; in Init() 127 bus_ = new dbus::Bus(std::move(opts)); in Init() 134 exported_object_ = bus_->GetExportedObject(dbus::ObjectPath(kMmcServicePath)); in Init() 140 using ServiceMethod = void (Service::*)(dbus::MethodCall*, in Init() 141 dbus::ExportedObject::ResponseSender); in Init() 158 dbus::Bus::REQUIRE_PRIMARY)) { in Init() 165 void Service::CodecInit(dbus::MethodCall* method_call, in CodecInit() 166 dbus::ExportedObject::ResponseSender sender) { in CodecInit() 167 dbus::MessageReader reader(method_call); in CodecInit() [all …]
|
D | service.h | 59 void CodecInit(dbus::MethodCall* method_call, 60 dbus::ExportedObject::ResponseSender sender); 67 void CodecCleanUp(dbus::MethodCall* method_call, 68 dbus::ExportedObject::ResponseSender sender); 80 scoped_refptr<dbus::Bus> bus_; 81 dbus::ExportedObject* exported_object_; // Owned by the Bus object.
|
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/src/ |
D | lib.rs | 48 use dbus::arg::AppendAll; 49 use dbus::channel::MatchingReceiver; 50 use dbus::message::MatchRule; 51 use dbus::nonblock::SyncConnection; 52 use dbus::strings::BusName; 168 objpath: dbus::Path<'static>, 176 objpath: dbus::Path<'static>, in new() 182 fn create_proxy(&self) -> dbus::nonblock::Proxy<Arc<SyncConnection>> { in create_proxy() 184 dbus::nonblock::Proxy::new( in create_proxy() 195 T: 'static + dbus::arg::Arg + for<'z> dbus::arg::Get<'z>, in async_method() [all …]
|
/packages/modules/Bluetooth/system/stack/mmc/codec_client/ |
D | codec_client.cc | 70 dbus::Bus::Options options; in CodecClient() 71 options.bus_type = dbus::Bus::SYSTEM; in CodecClient() 72 bus_ = new dbus::Bus(options); in CodecClient() 81 dbus::ObjectPath(mmc::kMmcServicePath)); in CodecClient() 99 dbus::MethodCall method_call(mmc::kMmcServiceInterface, in init() 101 dbus::MessageWriter writer(&method_call); in init() 110 std::unique_ptr<dbus::Response> dbus_response = in init() 113 dbus::ObjectProxy::TIMEOUT_USE_DEFAULT) in init() 125 dbus::MessageReader reader(dbus_response.get()); in init() 177 dbus::MethodCall method_call(mmc::kMmcServiceInterface, in cleanup() [all …]
|
D | codec_client.h | 65 dbus::ObjectProxy* codec_manager_; // Owned by the Bus object. 66 scoped_refptr<dbus::Bus> bus_;
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | service_watcher.rs | 2 use dbus::channel::MatchingReceiver; 3 use dbus::message::MatchRule; 4 use dbus::nonblock::stdintf::org_freedesktop_dbus::ObjectManager; 5 use dbus::nonblock::SyncConnection; 59 dbus::nonblock::Proxy::new(DBUS_SERVICE, DBUS_PATH, DBUS_TIMEOUT, self.conn.clone()); in get_dbus_owner_of_service() 61 let service_owner: Result<(String,), dbus::Error> = dbus_proxy in get_dbus_owner_of_service() 78 async fn get_path_of_interface(&self, interface: String) -> Option<dbus::Path<'static>> { in get_path_of_interface() 79 let service_proxy = dbus::nonblock::Proxy::new( in get_path_of_interface() 175 on_available: Box<dyn Fn(dbus::Path<'static>) + Send>, in start_watch_interface() 208 msg.get2::<dbus::Path, dbus::arg::Dict<String, dbus::arg::PropMap, _>>(); in start_watch_interface()
|
D | powerd_suspend_manager.rs | 3 use dbus::channel::MatchingReceiver; 4 use dbus::message::MatchRule; 5 use dbus::nonblock::SyncConnection; 39 AdapterFound(dbus::Path<'static>), 45 powerd_proxy: dbus::nonblock::Proxy<'static, Arc<SyncConnection>>, 83 powerd_proxy: dbus::nonblock::Proxy<'static, Arc<SyncConnection>>, in send_handle_suspend_readiness() 98 let ret: Result<(), dbus::Error> = powerd_proxy in send_handle_suspend_readiness() 400 dbus::nonblock::Proxy::new(POWERD_SERVICE, POWERD_PATH, POWERD_DBUS_TIMEOUT, conn); in on_powerd_started() 406 let result: Result<(Vec<u8>,), dbus::Error> = powerd_proxy in on_powerd_started() 541 fn on_adapter_found(&mut self, path: dbus::Path<'static>) { in on_adapter_found()
|
D | dbus_iface.rs | 5 use dbus::nonblock::SyncConnection; 26 fn make_client_proxy(conn: Arc<SyncConnection>, path: dbus::Path<'static>) -> ClientDBusProxy { in make_client_proxy() 35 pub(crate) fn new(conn: Arc<SyncConnection>, path: dbus::Path<'static>) -> SuspendDBus { in new()
|
D | bluetooth_manager_dbus.rs | 1 use dbus::arg::RefArg; 2 use dbus::strings::Path;
|
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_macros/src/ |
D | lib.rs | 286 conn: std::sync::Arc<dbus::nonblock::SyncConnection>, in generate_dbus_exporter() 360 syn::parse(quote! {-> Result<(), dbus::Error>}.into()).unwrap() in generate_dbus_interface_client() 363 syn::parse(quote! {-> Result<#path, dbus::Error>}.into()).unwrap() in generate_dbus_interface_client() 404 let path = dbus::Path::new(#ident.get_object_id()).unwrap(); in generate_dbus_interface_client() 635 dbus::arg::ArgType::Variant => {} in dbus_propmap() 674 map__.insert(String::from(#field_str), dbus::arg::Variant(Box::new(field_data__))); in dbus_propmap() 702 type DBusType = dbus::arg::PropMap; in dbus_propmap() 705 data__: dbus::arg::PropMap, in dbus_propmap() 706 conn__: Option<std::sync::Arc<dbus::nonblock::SyncConnection>>, in dbus_propmap() 707 remote__: Option<dbus::strings::BusName<'static>>, in dbus_propmap() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/tests/ |
D | conversions.rs | 6 use dbus::arg::{Arg, ArgType, IterAppend}; 7 use dbus::Signature; 53 fn signature(&self) -> dbus::Signature<'static> { in signature() 82 fn signature() -> dbus::Signature<'static> { in signature() 94 let result = <dbus::arg::PropMap as RefArgToRust>::ref_arg_to_rust( in test_dbus_propmap_error() 102 fn wrap_variant<T: 'static + dbus::arg::RefArg>(data: T) -> Box<dyn RefArg> { in wrap_variant() 103 Box::new(dbus::arg::Variant(data)) in wrap_variant() 170 let result = <dbus::arg::PropMap as RefArgToRust>::ref_arg_to_rust( in test_dbus_propmap_success()
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth_media.rs | 16 use dbus::arg::RefArg; 17 use dbus::nonblock::SyncConnection; 18 use dbus::strings::Path; 201 type DBusType = dbus::arg::PropMap; 203 data: dbus::arg::PropMap, in from_dbus() 204 _conn: Option<std::sync::Arc<dbus::nonblock::SyncConnection>>, in from_dbus() 205 _remote: Option<dbus::strings::BusName<'static>>, in from_dbus() 213 if variant.arg_type() != dbus::arg::ArgType::Variant { in from_dbus() 249 ) -> Result<dbus::arg::PropMap, Box<dyn std::error::Error>> { in to_dbus()
|
D | iface_bluetooth.rs | 30 use dbus::arg::RefArg; 31 use dbus::nonblock::SyncConnection; 32 use dbus::strings::Path; 50 _remote: Option<dbus::strings::BusName<'static>>, in from_dbus() 293 propmap: &dbus::arg::PropMap, in read_propmap_value() 311 propmap: &dbus::arg::PropMap, in parse_propmap_value() 333 propmap: &mut dbus::arg::PropMap, in write_propmap_value() 338 T::DBusType: 'static + dbus::arg::RefArg, in write_propmap_value() 340 propmap.insert(String::from(key), dbus::arg::Variant(Box::new(DBusArg::to_dbus(value)?))); in write_propmap_value() 345 type DBusType = dbus::arg::PropMap; [all …]
|
D | iface_bluetooth_gatt.rs | 16 use dbus::arg::RefArg; 18 use dbus::nonblock::SyncConnection; 19 use dbus::strings::Path; 408 type DBusType = dbus::arg::PropMap; 410 data: dbus::arg::PropMap, in from_dbus() 411 _conn: Option<std::sync::Arc<dbus::nonblock::SyncConnection>>, in from_dbus() 412 _remote: Option<dbus::strings::BusName<'static>>, in from_dbus() 427 dbus::arg::ArgType::Variant => {} in from_dbus() 447 ) -> Result<dbus::arg::PropMap, Box<dyn std::error::Error>> { in to_dbus() 448 let mut map: dbus::arg::PropMap = std::collections::HashMap::new(); in to_dbus() [all …]
|
D | iface_battery_manager.rs | 4 use dbus::arg::RefArg; 5 use dbus::strings::Path;
|
D | iface_bluetooth_admin.rs | 3 use dbus::arg::RefArg; 4 use dbus::Path;
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/test/ |
D | btmanagerd_test.py | 5 import dbus 6 import dbus.service 7 import dbus.mainloop.glib 43 self.bus = dbus.SystemBus() 120 dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
|
/packages/modules/Bluetooth/system/build/dpkg/libchrome/debian/patches/ |
D | 0001-Remove-absl-from-pkgconfig.patch | 23 @@ -460,7 +459,6 @@ if (use.dbus) { 24 name = "base-dbus" 28 "dbus-1",
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/ |
D | Cargo.toml | 15 dbus = "0.9.2" qkey 16 dbus-crossroads = "0.4.0" 17 dbus-tokio = "0.7.6"
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/ |
D | Cargo.toml | 14 dbus = "0.9.2" qkey 15 dbus-crossroads = "0.4.0" 16 dbus-tokio = "0.7.6"
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/ |
D | Cargo.toml | 19 dbus = "0.9.2" qkey 20 dbus-tokio = "0.7.6" 21 dbus-crossroads = "0.4.0"
|
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/ |
D | Cargo.toml | 8 dbus = "0.9.2" qkey 9 dbus-tokio = "0.7.6"
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | dbus_iface.rs | 57 use dbus::arg::RefArg; 58 use dbus::nonblock::SyncConnection; 80 fn make_object_path(idx: i32, name: &str) -> dbus::Path { in make_object_path() 81 dbus::Path::new(format!("/org/chromium/bluetooth/hci{}/{}", idx, name)).unwrap() in make_object_path() 205 propmap: &dbus::arg::PropMap, in read_propmap_value() 223 propmap: &dbus::arg::PropMap, in parse_propmap_value() 245 propmap: &mut dbus::arg::PropMap, in write_propmap_value() 250 T::DBusType: 'static + dbus::arg::RefArg, in write_propmap_value() 252 propmap.insert(String::from(key), dbus::arg::Variant(Box::new(DBusArg::to_dbus(value)?))); in write_propmap_value() 257 type DBusType = dbus::arg::PropMap; [all …]
|
/packages/modules/Bluetooth/system/build/dpkg/floss/package/lib/systemd/system/ |
D | btmanagerd.service | 8 Type=dbus 21 Alias=dbus-org.btmanagerd.service
|
D | btadapterd@.service | 8 Type=dbus 22 Alias=dbus-org.btadapterd.service
|