Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/stack/src/hal/
Dsnoop.rs162 logger.log(Type::Evt, Direction::Up, evt.to_bytes()).await; in provide_snooped_hal()
169 logger.log(Type::Cmd, Direction::Down, cmd.to_bytes()).await; in provide_snooped_hal()
176 logger.log(Type::Acl, Direction::Down, acl.to_bytes()).await; in provide_snooped_hal()
183 logger.log(Type::Acl, Direction::Up, acl.to_bytes()).await; in provide_snooped_hal()
190 logger.log(Type::Sco, Direction::Down, sco.to_bytes()).await; in provide_snooped_hal()
197 logger.log(Type::Sco, Direction::Up, sco.to_bytes()).await; in provide_snooped_hal()
204 logger.log(Type::Iso, Direction::Down, iso.to_bytes()).await; in provide_snooped_hal()
211 logger.log(Type::Iso, Direction::Up, iso.to_bytes()).await; in provide_snooped_hal()
Dhidl_hal.rs123 Some(cmd) = cmd_rx.recv() => ffi::send_command(&cmd.to_bytes()), in dispatch_outgoing()
124 Some(acl) = acl_rx.recv() => ffi::send_acl(&acl.to_bytes()), in dispatch_outgoing()
125 Some(iso) = iso_rx.recv() => ffi::send_iso(&iso.to_bytes()), in dispatch_outgoing()
126 Some(sco) = sco_rx.recv() => ffi::send_sco(&sco.to_bytes()), in dispatch_outgoing()
Drootcanal_hal.rs170 …md) = cmd_rx.recv() => write_with_type(&mut writer, HciPacketType::Command, cmd.to_bytes()).await?, in dispatch_outgoing()
171 …me(acl) = acl_rx.recv() => write_with_type(&mut writer, HciPacketType::Acl, acl.to_bytes()).await?, in dispatch_outgoing()
172 …me(iso) = iso_rx.recv() => write_with_type(&mut writer, HciPacketType::Iso, iso.to_bytes()).await?, in dispatch_outgoing()
173 …me(sco) = sco_rx.recv() => write_with_type(&mut writer, HciPacketType::Sco, sco.to_bytes()).await?, in dispatch_outgoing()
/packages/modules/Bluetooth/tools/rootcanal/lmp/src/
Dec.rs164 Point::<P192r1>::generate_public_key(&self.to_bigint()).to_bytes() in derive()
167 Point::<P256r1>::generate_public_key(&self.to_bigint()).to_bytes() in derive()
177 (&peer_public_key.to_point::<P192r1>() * &self.to_bigint()).to_bytes() in shared_secret()
180 (&peer_public_key.to_point::<P256r1>() * &self.to_bigint()).to_bytes() in shared_secret()
298 fn to_bytes(&self) -> Option<Vec<u8>> { in to_bytes() function
/packages/modules/Virtualization/compos/composd/native/
Dlib.rs45 let path = OsStr::from_bytes(cstr.to_bytes()).as_ref(); in palette_create_odrefresh_staging_directory()
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
D_audio.py43 f.write(size.to_bytes(4, byteorder='little'))
/packages/modules/Bluetooth/system/gd/rust/shim/src/
Dhci.rs46 callback.Run(&resp.to_bytes()); in hci_send_command()
/packages/modules/Virtualization/zipfuse/src/
Dmain.rs386 let name_size = buf[end].0.to_bytes().len(); in readdir()
/packages/modules/Virtualization/authfs/src/
Dfusefs.rs1071 OsStr::from_bytes(cstr.to_bytes()).as_ref() in cstr_to_path()