Searched refs:DBusArg (Results 1 – 16 of 16) sorted by relevance
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_macros/src/ |
D | lib.rs | 187 <#arg_type as DBusArg>::DBusType, in generate_dbus_exporter() 192 let #ident = <#arg_type as DBusArg>::from_dbus( in generate_dbus_exporter() 210 <#arg_type as DBusArg>::log(&#ident), in generate_dbus_exporter() 229 output_type = quote! {<#t as DBusArg>::DBusType,}; in generate_dbus_exporter() 230 ret = quote! {Ok((<#t as DBusArg>::to_dbus(ret).unwrap(),))}; in generate_dbus_exporter() 414 let #ident = <#arg_type as DBusArg>::to_dbus(#ident).unwrap(); in generate_dbus_interface_client() 427 output_as_dbus_arg = quote! {<#t as DBusArg>}; in generate_dbus_interface_client() 643 … let #field_ident = <<#field_type as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in dbus_propmap() 673 let field_data__ = DBusArg::to_dbus(data__.#field_ident)?; in dbus_propmap() 685 <#field_type as DBusArg>::log(&data__.#field_ident), in dbus_propmap() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth.rs | 42 use crate::dbus_arg::{DBusArg, DBusArgError, DirectDBus, RefArgToRust}; 45 impl DBusArg for Uuid { 310 fn parse_propmap_value<T: DBusArg>( in parse_propmap_value() 315 <T as DBusArg>::DBusType: RefArgToRust<RustType = <T as DBusArg>::DBusType>, in parse_propmap_value() 320 let output = <<T as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in parse_propmap_value() 332 fn write_propmap_value<T: DBusArg>( in write_propmap_value() 340 propmap.insert(String::from(key), dbus::arg::Variant(Box::new(DBusArg::to_dbus(value)?))); in write_propmap_value() 344 impl DBusArg for BtSdpRecord { 441 impl DBusArg for RawAddress {
|
D | iface_logging.rs | 1 use crate::dbus_arg::DBusArg;
|
D | iface_battery_provider_manager.rs | 9 use crate::dbus_arg::DBusArg;
|
D | iface_battery_manager.rs | 9 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
|
D | iface_bluetooth_gatt.rs | 30 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust}; 407 impl DBusArg for ScanFilterCondition { 436 <<Vec<ScanFilterPattern> as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in from_dbus() 453 dbus::arg::Variant(Box::new(DBusArg::to_dbus(patterns)?)), in to_dbus()
|
D | iface_bluetooth_admin.rs | 9 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
|
D | iface_bluetooth_telephony.rs | 11 use crate::dbus_arg::DBusArg;
|
D | iface_bluetooth_qa.rs | 7 use crate::dbus_arg::DBusArg;
|
D | iface_bluetooth_media.rs | 24 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust}; 200 impl DBusArg for PlayerMetadata {
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | bluetooth_experimental_dbus.rs | 4 use crate::dbus_arg::DBusArg;
|
D | bluetooth_manager_dbus.rs | 9 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
|
D | dbus_iface.rs | 11 use crate::dbus_arg::{DBusArg, DBusArgError};
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | dbus_iface.rs | 78 use crate::dbus_arg::{DBusArg, DBusArgError, DirectDBus, RefArgToRust}; 222 fn parse_propmap_value<T: DBusArg>( in parse_propmap_value() 227 <T as DBusArg>::DBusType: RefArgToRust<RustType = <T as DBusArg>::DBusType>, in parse_propmap_value() 232 let output = <<T as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in parse_propmap_value() 244 fn write_propmap_value<T: DBusArg>( in write_propmap_value() 252 propmap.insert(String::from(key), dbus::arg::Variant(Box::new(DBusArg::to_dbus(value)?))); in write_propmap_value() 256 impl DBusArg for BtSdpRecord { 354 impl DBusArg for RawAddress { 481 impl DBusArg for ScanFilterCondition { 510 <<Vec<ScanFilterPattern> as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in from_dbus() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/src/ |
D | lib.rs | 257 impl DBusArg for $enum_type { impl 292 impl DBusArg for $rust_type { impl
|
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/tests/ |
D | conversions.rs | 176 let result_struct = <SomeStruct as DBusArg>::from_dbus(result, None, None, None).unwrap(); in test_dbus_propmap_success()
|