Home
last modified time | relevance | path

Searched refs:encode_to_bytes (Results 1 – 25 of 84) sorted by relevance

1234

/aosp_15_r20/external/uwb/src/rust/uwb_uci_packets/src/
H A Dlib.rs337 get_oid_from_uci_control_packet(&packet.encode_to_bytes().unwrap()) in get_opcode_from_uci_control_packet()
383 self.encode_to_bytes().unwrap().slice(UCI_PACKET_HEADER_LEN..).to_vec() in to_raw_payload()
420 .encode_to_bytes() in try_from()
426 .encode_to_bytes() in try_from()
435 &packet.encode_to_bytes().unwrap().slice(UCI_PACKET_HAL_HEADER_LEN..), in try_from()
449 .encode_to_bytes() in try_from()
489 Ok(packet.encode_to_bytes().unwrap().slice(UCI_PACKET_HAL_HEADER_LEN..)) in try_into_data_payload()
528 .encode_to_bytes() in try_from()
556 let payload = packet.encode_to_bytes().unwrap().slice(UCI_PACKET_HEADER_LEN..); in from()
600 let payload = packet.encode_to_bytes().unwrap().slice(UCI_DATA_SND_PACKET_HEADER_LEN..); in fragment_data_msg_send()
/aosp_15_r20/external/uwb/src/rust/uwb_core/src/uci/
H A Dnotification.rs516 let raw_ranging_data = evt.encode_to_bytes().unwrap()[UCI_PACKET_HEADER_LEN..].to_vec(); in try_from()
645 let raw_ntf_data = evt.clone().encode_to_bytes().unwrap()[UCI_PACKET_HEADER_LEN..].to_vec(); in try_from()
804 let raw_ranging_data = extended_two_way_session_info_ntf.encode_to_bytes().unwrap() in test_session_notification_casting_from_extended_mac_two_way_session_info_ntf()
855 let raw_ranging_data = short_two_way_session_info_ntf.encode_to_bytes().unwrap() in test_session_notification_casting_from_short_mac_two_way_session_info_ntf()
902 let raw_ranging_data = extended_owr_aoa_session_info_ntf.encode_to_bytes().unwrap() in test_session_notification_casting_from_extended_mac_owr_aoa_session_info_ntf()
948 let raw_ranging_data = short_owr_aoa_session_info_ntf.encode_to_bytes().unwrap() in test_session_notification_casting_from_short_mac_owr_aoa_session_info_ntf()
1262 let raw_ranging_data = short_mac_dl_tdoa_session_info_ntf.encode_to_bytes().unwrap() in test_session_notification_casting_from_short_mac_dl_tdoa_session_info_ntf_packet()
1316 let raw_ranging_data = extended_mac_dl_tdoa_session_info_ntf.encode_to_bytes().unwrap() in test_session_notification_casting_from_extended_mac_dltdoa_session_info_ntf_packet()
1457 let raw_notification_data = test_periodic_tx_ntf_packet.clone().encode_to_bytes().unwrap() in test_rf_test_notification_casting_from_rf_periodic_tx_ntf()
/aosp_15_r20/external/rust/android-crates-io/crates/pdl-compiler/tests/generated/
Dstruct_decl_grand_children_big_endian.rs88 packet.encode_to_bytes() in try_from()
239 packet.encode_to_bytes() in try_from()
374 packet.encode_to_bytes() in try_from()
493 packet.encode_to_bytes() in try_from()
Dstruct_decl_grand_children_little_endian.rs88 packet.encode_to_bytes() in try_from()
239 packet.encode_to_bytes() in try_from()
374 packet.encode_to_bytes() in try_from()
493 packet.encode_to_bytes() in try_from()
Dstruct_decl_child_structs_little_endian.rs87 packet.encode_to_bytes() in try_from()
213 packet.encode_to_bytes() in try_from()
305 packet.encode_to_bytes() in try_from()
Dstruct_decl_child_structs_big_endian.rs87 packet.encode_to_bytes() in try_from()
213 packet.encode_to_bytes() in try_from()
305 packet.encode_to_bytes() in try_from()
/aosp_15_r20/system/nfc/src/rust/hal/
H A Dhidl_hal.rs163 Some(cmd) = out_cmd_rx.recv() => ffi::send_command(&cmd.encode_to_bytes().unwrap()), in dispatch_outgoing()
164 Some(data) = out_data_rx.recv() => ffi::send_command(&data.encode_to_bytes().unwrap()), in dispatch_outgoing()
H A Drootcanal_hal.rs122 let b = cmd.encode_to_bytes().unwrap(); in write_nci()
/aosp_15_r20/external/rust/android-crates-io/crates/pdl-compiler/tests/generated/rust_legacy/
Dpacket_decl_parent_with_alias_child_little_endian.rs209 packet.encode_to_bytes() in try_from()
375 packet.encode_to_bytes() in try_from()
520 packet.encode_to_bytes() in try_from()
644 packet.encode_to_bytes() in try_from()
830 packet.encode_to_bytes() in try_from()
Dpacket_decl_parent_with_alias_child_big_endian.rs209 packet.encode_to_bytes() in try_from()
375 packet.encode_to_bytes() in try_from()
520 packet.encode_to_bytes() in try_from()
644 packet.encode_to_bytes() in try_from()
830 packet.encode_to_bytes() in try_from()
Dpacket_decl_child_packets_little_endian.rs231 packet.encode_to_bytes() in try_from()
356 packet.encode_to_bytes() in try_from()
499 packet.encode_to_bytes() in try_from()
Dpacket_decl_child_packets_big_endian.rs231 packet.encode_to_bytes() in try_from()
356 packet.encode_to_bytes() in try_from()
499 packet.encode_to_bytes() in try_from()
Dpacket_decl_grand_children_big_endian.rs245 packet.encode_to_bytes() in try_from()
429 packet.encode_to_bytes() in try_from()
628 packet.encode_to_bytes() in try_from()
842 packet.encode_to_bytes() in try_from()
Dpacket_decl_grand_children_little_endian.rs245 packet.encode_to_bytes() in try_from()
429 packet.encode_to_bytes() in try_from()
628 packet.encode_to_bytes() in try_from()
842 packet.encode_to_bytes() in try_from()
Dpacket_decl_parent_with_no_payload_big_endian.rs188 packet.encode_to_bytes() in try_from()
293 packet.encode_to_bytes() in try_from()
Dpacket_decl_parent_with_no_payload_little_endian.rs188 packet.encode_to_bytes() in try_from()
293 packet.encode_to_bytes() in try_from()
Dpacket_decl_empty_big_endian.rs74 packet.encode_to_bytes() in try_from()
Dpacket_decl_empty_little_endian.rs74 packet.encode_to_bytes() in try_from()
Dpacket_decl_reserved_field_big_endian.rs83 packet.encode_to_bytes() in try_from()
Dpacket_decl_reserved_field_little_endian.rs83 packet.encode_to_bytes() in try_from()
Dpacket_decl_24bit_scalar_little_endian.rs95 packet.encode_to_bytes() in try_from()
/aosp_15_r20/out/soong/.intermediates/external/uwb/src/UwbGeneratedPackets_rust/gen/rust/uwb_uci_packets/
Duci_packets.rs3010 packet.encode_to_bytes() in try_from()
3206 packet.encode_to_bytes() in try_from()
3450 packet.encode_to_bytes() in try_from()
3765 packet.encode_to_bytes() in try_from()
4031 packet.encode_to_bytes() in try_from()
4230 packet.encode_to_bytes() in try_from()
4464 packet.encode_to_bytes() in try_from()
4706 packet.encode_to_bytes() in try_from()
5031 packet.encode_to_bytes() in try_from()
5414 packet.encode_to_bytes() in try_from()
[all …]
/aosp_15_r20/out/soong/.intermediates/external/uwb/src/libuwb_uci_packets/android_arm64_armv8-2a_cortex-a55_rlib_rlib-std_apex33/out/
Duci_packets.rs3010 packet.encode_to_bytes() in try_from()
3206 packet.encode_to_bytes() in try_from()
3450 packet.encode_to_bytes() in try_from()
3765 packet.encode_to_bytes() in try_from()
4031 packet.encode_to_bytes() in try_from()
4230 packet.encode_to_bytes() in try_from()
4464 packet.encode_to_bytes() in try_from()
4706 packet.encode_to_bytes() in try_from()
5031 packet.encode_to_bytes() in try_from()
5414 packet.encode_to_bytes() in try_from()
[all …]
/aosp_15_r20/system/nfc/src/rust/nci/
H A Dapi.rs222 .encode_to_bytes()?; in nfc_set_config()
261 .encode_to_bytes()?; in nfc_get_config()
/aosp_15_r20/external/rust/android-crates-io/crates/pdl-runtime/src/
Dlib.rs122 fn encode_to_bytes(&self) -> Result<Bytes, EncodeError> { in encode_to_bytes() method

1234