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 | 166 <#arg_type as DBusArg>::DBusType, in generate_dbus_exporter() 171 let #ident = <#arg_type as DBusArg>::from_dbus( in generate_dbus_exporter() 198 output_type = quote! {<#t as DBusArg>::DBusType,}; in generate_dbus_exporter() 199 ret = quote! {Ok((<#t as DBusArg>::to_dbus(ret).unwrap(),))}; in generate_dbus_exporter() 381 let #ident = <#arg_type as DBusArg>::to_dbus(#ident).unwrap(); in generate_dbus_interface_client() 394 output_as_dbus_arg = quote! {<#t as DBusArg>}; in generate_dbus_interface_client() 610 … let #field_ident = <<#field_type as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in dbus_propmap() 640 let field_data__ = DBusArg::to_dbus(data__.#field_ident)?; in dbus_propmap() 649 impl DBusArg for #struct_ident { in dbus_propmap() impl 741 #method_args DBusArg::to_dbus(#ident).unwrap(), in dbus_proxy_obj() [all …]
|
| /packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
| D | iface_bluetooth.rs | 40 use crate::dbus_arg::{DBusArg, DBusArgError, DirectDBus, RefArgToRust}; 265 fn parse_propmap_value<T: DBusArg>( in parse_propmap_value() 270 <T as DBusArg>::DBusType: RefArgToRust<RustType = <T as DBusArg>::DBusType>, in parse_propmap_value() 275 let output = <<T as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in parse_propmap_value() 287 fn write_propmap_value<T: DBusArg>( in write_propmap_value() 295 propmap.insert(String::from(key), dbus::arg::Variant(Box::new(DBusArg::to_dbus(value)?))); in write_propmap_value() 299 impl DBusArg for BtSdpRecord {
|
| D | iface_bluetooth_gatt.rs | 32 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust}; 276 impl DBusArg for Uuid128Bit { 414 impl DBusArg for ScanFilterCondition { 443 <<Vec<ScanFilterPattern> as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in from_dbus() 460 dbus::arg::Variant(Box::new(DBusArg::to_dbus(patterns)?)), in to_dbus()
|
| D | iface_bluetooth_media.rs | 16 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust}; 92 impl DBusArg for PlayerMetadata {
|
| D | iface_logging.rs | 1 use crate::dbus_arg::DBusArg;
|
| D | iface_bluetooth_qa.rs | 7 use crate::dbus_arg::DBusArg;
|
| D | iface_battery_provider_manager.rs | 8 use crate::dbus_arg::DBusArg;
|
| D | iface_battery_manager.rs | 8 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
|
| D | iface_bluetooth_telephony.rs | 7 use crate::dbus_arg::DBusArg;
|
| D | iface_bluetooth_admin.rs | 9 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
|
| /packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
| D | dbus_iface.rs | 63 use crate::dbus_arg::{DBusArg, DBusArgError, DirectDBus, RefArgToRust}; 101 impl DBusArg for Uuid128Bit { 216 fn parse_propmap_value<T: DBusArg>( in parse_propmap_value() 221 <T as DBusArg>::DBusType: RefArgToRust<RustType = <T as DBusArg>::DBusType>, in parse_propmap_value() 226 let output = <<T as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in parse_propmap_value() 238 fn write_propmap_value<T: DBusArg>( in write_propmap_value() 246 propmap.insert(String::from(key), dbus::arg::Variant(Box::new(DBusArg::to_dbus(value)?))); in write_propmap_value() 250 impl DBusArg for BtSdpRecord { 412 impl DBusArg for ScanFilterCondition { 441 <<Vec<ScanFilterPattern> as DBusArg>::DBusType as RefArgToRust>::ref_arg_to_rust( in from_dbus() [all …]
|
| /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/dbus_projection/src/ |
| D | lib.rs | 250 impl DBusArg for $enum_type { impl 281 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()
|