Home
last modified time | relevance | path

Searched refs:DBusArg (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_macros/src/
Dlib.rs187 <#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/
Diface_bluetooth.rs42 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 {
Diface_logging.rs1 use crate::dbus_arg::DBusArg;
Diface_battery_provider_manager.rs9 use crate::dbus_arg::DBusArg;
Diface_battery_manager.rs9 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
Diface_bluetooth_gatt.rs30 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()
Diface_bluetooth_admin.rs9 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
Diface_bluetooth_telephony.rs11 use crate::dbus_arg::DBusArg;
Diface_bluetooth_qa.rs7 use crate::dbus_arg::DBusArg;
Diface_bluetooth_media.rs24 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
200 impl DBusArg for PlayerMetadata {
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dbluetooth_experimental_dbus.rs4 use crate::dbus_arg::DBusArg;
Dbluetooth_manager_dbus.rs9 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
Ddbus_iface.rs11 use crate::dbus_arg::{DBusArg, DBusArgError};
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Ddbus_iface.rs78 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/
Dlib.rs257 impl DBusArg for $enum_type { impl
292 impl DBusArg for $rust_type { impl
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/tests/
Dconversions.rs176 let result_struct = <SomeStruct as DBusArg>::from_dbus(result, None, None, None).unwrap(); in test_dbus_propmap_success()