Home
last modified time | relevance | path

Searched refs:from_i32 (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Virtualization/compos/common/
Dodrefresh.rs65 pub fn from_i32(exit_code: i32) -> Result<Self> { in from_i32() method
66 FromPrimitive::from_i32(exit_code) in from_i32()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Da2dp.rs67 A2dpCodecIndex::from_i32(item).unwrap_or_else(|| A2dpCodecIndex::MIN) in from()
81 A2dpCodecPriority::from_i32(item).unwrap_or_else(|| A2dpCodecPriority::Default) in from()
Dhid_host.rs100 for i in 0..isize::from_i32(count).unwrap() { in convert_report()
Dgatt.rs487 } else if let Some(s) = GattStatus::from_i32(item) { in from()
1358 BtStatus::from_i32(mutcxxcall!(self, read_phy, client_if, *addr)).unwrap() in read_phy()
1454 BtStatus::from_i32(mutcxxcall!(self, server_read_phy, server_if, *addr)).unwrap() in read_phy()
/packages/modules/Virtualization/compos/src/
Dcompilation.rs168 let exit_code = ExitCode::from_i32(exit_code.into())?; in odrefresh()
/packages/modules/Virtualization/compos/composd/src/
Dodrefresh_task.rs222 ExitCode::from_i32(exit_code.into()) in run_in_vm()
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dadapter_service.rs367 BtIoCap::from_i32(req.io_capability).unwrap_or(BtIoCap::Unknown), in set_local_io_caps()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs44 BtTransport::from_i32(item).unwrap_or(BtTransport::Auto) in from()
119 BtConnectionState::from_i32(item).unwrap_or(fallback) in from()
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dobject_mapping.rs742 <$ret>::from_i32(val).ok_or_else(|| {