Home
last modified time | relevance | path

Searched refs:DBusArgError (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_macros/src/
Dlib.rs637 return Err(Box::new(DBusArgError::new(format!( in dbus_propmap()
662 return Err(Box::new(DBusArgError::new(format!( in dbus_propmap()
1030 pub(crate) struct DBusArgError { in generate_dbus_arg()
1034 impl DBusArgError { in generate_dbus_arg() impl
1035 pub fn new(message: String) -> DBusArgError { in generate_dbus_arg()
1036 DBusArgError { message } in generate_dbus_arg()
1040 impl fmt::Display for DBusArgError { in generate_dbus_arg()
1046 impl Error for DBusArgError {} in generate_dbus_arg()
1074 return Err(Box::new(DBusArgError::new(format!( in generate_dbus_arg()
1095 return Err(Box::new(DBusArgError::new(format!( in generate_dbus_arg()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/src/
Dlib.rs269 None => Err(Box::new(DBusArgError::new(format!(
303 Err(e) => Err(Box::new(DBusArgError::new(format!(
314 Err(e) => Err(Box::new(DBusArgError::new(format!(
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth.rs42 use crate::dbus_arg::{DBusArg, DBusArgError, DirectDBus, RefArgToRust};
298 .ok_or(Box::new(DBusArgError::new(format!("Key {} does not exist", key,))))?; in read_propmap_value()
300 output.as_static_inner(0).ok_or(Box::new(DBusArgError::new(format!( in read_propmap_value()
319 .ok_or(Box::new(DBusArgError::new(format!("Key {} does not exist", key,))))?; in parse_propmap_value()
321 output.as_static_inner(0).ok_or(Box::new(DBusArgError::new(format!( in parse_propmap_value()
Diface_battery_manager.rs9 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
Diface_bluetooth_admin.rs9 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
Diface_bluetooth_media.rs24 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
214 return Err(Box::new(DBusArgError::new(format!("{} must be a variant", key)))); in from_dbus()
Diface_bluetooth_gatt.rs30 use crate::dbus_arg::{DBusArg, DBusArgError, RefArgToRust};
420 return Err(Box::new(DBusArgError::new(String::from( in from_dbus()
429 return Err(Box::new(DBusArgError::new(String::from( in from_dbus()
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
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};
210 .ok_or(Box::new(DBusArgError::new(format!("Key {} does not exist", key,))))?; in read_propmap_value()
212 output.as_static_inner(0).ok_or(Box::new(DBusArgError::new(format!( in read_propmap_value()
231 .ok_or(Box::new(DBusArgError::new(format!("Key {} does not exist", key,))))?; in parse_propmap_value()
233 output.as_static_inner(0).ok_or(Box::new(DBusArgError::new(format!( in parse_propmap_value()
494 return Err(Box::new(DBusArgError::new(String::from( in from_dbus()
503 return Err(Box::new(DBusArgError::new(String::from( in from_dbus()