/packages/modules/Bluetooth/offload/leaudio/hci/ |
D | tests.rs | 75 .to_bytes(), in cig() 91 .to_bytes(), in cig() 125 .to_bytes(), in cig() 139 .to_bytes(), in cig() 161 .to_bytes(), in cig() 177 .to_bytes(), in cig() 188 .to_bytes(), in cig() 191 m.out_iso(&IsoData::new(0x456, 0, &[0x00, 0x11]).to_bytes()); in cig() 192 m.out_iso(&IsoData::new(0x456, 1, &[]).to_bytes()); in cig() 206 .to_bytes(), in cig() [all …]
|
D | proxy.rs | 214 .out_cmd(&hci::LeSetupIsoDataPath { data_path_id: 0, ..c.clone() }.to_bytes()); in out_cmd() 398 self.next().in_evt(&stack_event.to_bytes()); in in_evt()
|
D | arbiter.rs | 98 let data = iso_data.to_bytes(); in push()
|
/packages/modules/Bluetooth/offload/hci/ |
D | command.rs | 90 fn to_bytes<T: CommandOpCode + Write>(command: &T) -> Vec<u8> { in to_bytes() method 140 fn to_bytes(&self) -> Vec<u8> in to_bytes() method 177 assert_eq!(c.to_bytes(), &dump[..]); in test_reset() 186 assert_eq!(e.to_bytes(), &dump[..]); in test_reset_complete() 214 assert_eq!(e.to_bytes(), &dump[..]); in test_le_read_buffer_size_v1_complete() 243 assert_eq!(e.to_bytes(), &dump[..]); in test_le_read_buffer_size_v2_complete() 308 assert_eq!(c.to_bytes(), &dump[..]); in test_le_set_cig_parameters() 328 assert_eq!(e.to_bytes(), &dump[..]); in test_le_set_cig_parameters_complete() 358 assert_eq!(c.to_bytes(), &dump[..]); in test_le_create_cis() 384 assert_eq!(c.to_bytes(), &dump[..]); in test_le_remove_cig() [all …]
|
D | event.rs | 75 fn to_bytes<T: EventCode + Write>(event: &T) -> Vec<u8> { in to_bytes() method 107 fn to_bytes(&self) -> Vec<u8> in to_bytes() method 144 assert_eq!(e.to_bytes(), &dump[..]); in test_disconnection_complete() 165 assert_eq!(e.to_bytes(), &dump[..]); in test_command_complete() 189 assert_eq!(e.to_bytes(), &dump[..]); in test_command_status() 219 assert_eq!(e.to_bytes(), &dump[..]); in test_number_of_completed_packets() 271 assert_eq!(e.to_bytes(), &dump[..]); in test_le_cis_established() 318 assert_eq!(e.to_bytes(), &dump[..]); in test_le_create_big_complete() 340 assert_eq!(e.to_bytes(), &dump[..]); in test_le_terminate_big_complete()
|
D | data.rs | 68 pub fn to_bytes(&self) -> Vec<u8> { in to_bytes() method 203 assert_eq!(pkt.to_bytes(), &dump[..]); in test_iso_data()
|
/packages/modules/Bluetooth/offload/hci/derive/ |
D | lib.rs | 70 fn to_bytes(&self) -> Vec<u8> { in derive_command_to_bytes() 71 Command::to_bytes(self) in derive_command_to_bytes() 84 fn to_bytes(&self) -> Vec<u8> { in derive_event_to_bytes() 85 Event::to_bytes(self) in derive_event_to_bytes()
|
/packages/modules/Virtualization/libs/libfdt/src/ |
D | lib.rs | 248 self.fdt.getprop_namelen(self.offset, name.to_bytes()) in getprop() 333 let name = name.to_bytes(); in subnode() 437 self.fdt.add_subnode_namelen(self.offset, name.to_bytes())?; in add_subnodes() 444 let name = name.to_bytes(); in add_subnode() 453 let name = &name.to_bytes()[..namelen]; in add_subnode_with_namelen() 734 let offset = self.path_offset_namelen(path.to_bytes())?; in node() 770 let offset = self.path_offset_namelen(path.to_bytes())?; in node_mut()
|
/packages/modules/Virtualization/libs/libvm_payload/wrapper/ |
D | lib.rs | 142 Path::new(OsStr::from_bytes(c_str.to_bytes())) in apk_contents_path() 160 Some(Path::new(OsStr::from_bytes(c_str.to_bytes()))) in encrypted_storage_path()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/ |
D | ec.rs | 157 Point::<P192r1>::generate_public_key(&self.to_bigint()).to_bytes() in derive() 160 Point::<P256r1>::generate_public_key(&self.to_bigint()).to_bytes() in derive() 170 (&peer_public_key.to_point::<P192r1>() * &self.to_bigint()).to_bytes() in shared_secret() 173 (&peer_public_key.to_point::<P256r1>() * &self.to_bigint()).to_bytes() in shared_secret() 301 fn to_bytes(&self) -> Option<Vec<u8>> { in to_bytes() function
|
/packages/modules/Nfc/libnfc-nci/tools/casimir/scripts/ |
D | t4at.py | 35 self.nfcid1 = bytes([0x08]) + int.to_bytes(random.randint(0, 0xffffff), length=3) 51 header_bytes = int.to_bytes(len(packet_bytes), length=2, byteorder='little')
|
D | rf_packets.py | 204 _span.extend(int.to_bytes((self.sender << 0), length=2, byteorder='little')) 208 _span.extend(int.to_bytes((self.receiver << 0), length=2, byteorder='little'))
|
/packages/modules/Virtualization/libs/libfdt/tests/ |
D | api_test.rs | 264 for len in 0..subnode_name.to_bytes().len() { in node_add_subnode_with_namelen() 265 let name = &subnode_name.to_bytes()[0..len]; in node_add_subnode_with_namelen() 277 for len in 1..subnode_name.to_bytes().len() { in node_add_subnode_with_namelen() 278 let name = String::from_utf8(subnode_name.to_bytes()[..len].to_vec()).unwrap(); in node_add_subnode_with_namelen()
|
/packages/modules/Virtualization/android/composd/native/ |
D | lib.rs | 45 let path = OsStr::from_bytes(cstr.to_bytes()).as_ref(); in palette_create_odrefresh_staging_directory()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/ |
D | ffi.rs | 74 let to_bytes: [u8; 6] = to.into(); in send_lmp_packet() localVariable 78 &to_bytes as *const _, in send_lmp_packet()
|
/packages/modules/Bluetooth/tools/rootcanal/py/ |
D | bluetooth.py | 79 return int.to_bytes(self.class_of_device, length=3, byteorder='little')
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | _audio.py | 42 f.write(size.to_bytes(4, byteorder='little'))
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | bluetooth.py | 69 return int.to_bytes(self.class_of_device, length=3, byteorder='little')
|
/packages/modules/UprobeStats/rust/ffi/ |
D | dynamic_instrumentation_manager.rs | 67 String::from_utf8_lossy(cstr.to_bytes()).to_string() in get_container_path()
|
/packages/modules/Bluetooth/pandora/server/bumble_experimental/ |
D | dck.py | 60 self.psm.to_bytes(2, 'big'),
|
D | hid.py | 682 retValue.data = protocol_mode.to_bytes(length=1, byteorder=sys.byteorder)
|
/packages/modules/Virtualization/android/virtmgr/fsfdt/src/ |
D | lib.rs | 52 [fdt_node_path.to_bytes(), b"/", relative_path.as_bytes(), b"\0"].concat(), in overlay_onto()
|
/packages/modules/Virtualization/guest/pvmfw/src/ |
D | device_assignment.rs | 186 if path.to_bytes().first() != Some(&b'/') { in new() 190 .to_bytes() in new() 432 path.tokens.push(node.name()?.to_bytes()); in collect_overlayable_nodes_with_phandle() 459 path.tokens.push(node_name.to_bytes()); in collect_phandle_references_from_overlayable_nodes() 579 let name = node.as_node().name()?.to_bytes(); in filter_with_mask()
|
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/aware/integration/ |
D | wifi_aware_capabilities_test.py | 154 (10).to_bytes(1, byteorder='big'),
|
D | wifi_aware_discovery_test.py | 226 [(10).to_bytes(1, byteorder="big"),"hello there string" 707 [(10).to_bytes(1, byteorder="big"), p_mf_1 , bytes(range(40))]) 719 [(10).to_bytes(1, byteorder="big"), s_mf_1 , bytes(range(40))])
|