Home
last modified time | relevance | path

Searched refs:into_iter (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/
Datt_filter_by_size_type.rs66 Ok(out.into_iter()) in filter_read_attributes_by_size_type()
104 db.list_attributes().into_iter(), in test_single_matching_attr()
153 db.list_attributes().into_iter(), in test_skip_mismatching_attrs()
208 db.list_attributes().into_iter(), in test_stop_once_length_changes()
239 db.list_attributes().into_iter(), in test_truncate_to_mtu()
263 db.list_attributes().into_iter(), in test_no_results()
288 db.list_attributes().into_iter(), in test_read_failure_on_first_attr()
331 db.list_attributes().into_iter(), in test_read_failure_on_subsequent_attr()
382 db.list_attributes().into_iter(), in test_skip_unreadable_mismatching_attr()
Datt_range_filter.rs41 let res = filter_to_range(AttHandle(0), AttHandle(2), [].into_iter()); in test_invalid_start_handle()
49 let res = filter_to_range(AttHandle(3), AttHandle(1), [].into_iter()); in test_invalid_range()
59 filter_to_range(AttHandle(3), AttHandle(3), [attr(2), attr(3), attr(4)].into_iter()) in test_trivial_range()
70 [attr(2), attr(3), attr(4), attr(5)].into_iter(), in test_nontrivial_range()
Datt_grouping.rs42 .into_iter() in find_group_end()
67 TestAttDatabase::new(attrs.into_iter().map(|attr| (attr, vec![])).collect()) in db_from_attrs()
/packages/modules/Virtualization/service_vm/requests/src/
Ddice.rs94 for (i, value) in client_vm_dice_chain.into_iter().enumerate() { in validate_signatures_and_parse_dice_chain()
319 for (key, value) in entries.into_iter() { in from_slice()
372 for (key, value) in entries.into_iter() { in from_slice()
397 sub_components.into_iter().map(SubComponent::try_from).collect() in sub_components()
437 for (key, value) in entries.into_iter() { in try_from()
Dapi.rs57 payload.into_iter().rev().collect() in reverse()
/packages/modules/Virtualization/libs/vbmeta/src/
Ddescriptor.rs108 fn into_iter(self) -> Self::IntoIter { in into_iter() method
109 self.descriptors.into_iter() in into_iter()
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dobject_mapping.rs463 .into_iter() in try_from()
561 MacAddress::Short(val) => val.to_ne_bytes().into_iter().map(|b| b as i8).collect(), in into_ne_bytes_i8()
562 MacAddress::Extended(val) => val.to_ne_bytes().into_iter().map(|b| b as i8).collect(), in into_ne_bytes_i8()
648 m.into_iter().map(TwoWayRangingMeasurement::from).collect::<Vec<_>>(), in try_from()
652 m.into_iter().map(TwoWayRangingMeasurement::from).collect::<Vec<_>>(), in try_from()
688 for (i, measurement) in measurements_vec.into_iter().enumerate() { in try_from()
/packages/modules/Virtualization/vm/src/
Drun.rs124 let extra_idsig_fds = extra_idsig_files?.into_iter().map(ParcelFileDescriptor::new).collect(); in command_run_app()
133 let extra_apk_fds = extra_apk_files?.into_iter().map(ParcelFileDescriptor::new).collect(); in command_run_app()
344 Ok(config.extra_apks.into_iter().map(|x| x.path.into()).collect()) in parse_extra_apk_list()
/packages/modules/Uwb/service/uci/jni/src/
Dnotification_manager_android.rs399 .into_iter() in on_session_update_multicast_notification()
406 .into_iter() in on_session_update_multicast_notification()
558 v.into_iter().map(DlTdoaRangingMeasurement::from).collect::<Vec<_>>() in on_session_dl_tdoa_range_data_notification()
561 v.into_iter().map(DlTdoaRangingMeasurement::from).collect::<Vec<_>>() in on_session_dl_tdoa_range_data_notification()
565 .into_iter() in on_session_dl_tdoa_range_data_notification()
727 for (i, measurement) in measurements.into_iter().enumerate() { in on_two_way_range_data_notification()
917 v.into_iter().map(TwoWayRangingMeasurement::from).collect::<Vec<_>>() in on_session_two_way_range_data_notification()
920 v.into_iter().map(TwoWayRangingMeasurement::from).collect::<Vec<_>>() in on_session_two_way_range_data_notification()
1266 for (i, sweep_data) in radar_data_rcv_notification.sweep_data.into_iter().enumerate() { in on_radar_data_rcv_notification()
/packages/modules/Bluetooth/system/gd/rust/shim/src/
Dinit_flags.rs47 .into_iter() in dump()
/packages/modules/Bluetooth/system/rust/src/gatt/server/test/
Dtest_att_db.rs29 .into_iter() in new()
/packages/modules/Bluetooth/system/rust/src/gatt/server/
Datt_database.rs99 self.list_attributes().into_iter().find(|attr| attr.handle == handle) in find_attribute()
/packages/modules/Virtualization/virtualizationservice/src/
Dmaintenance.rs237 for (user_id, present) in users.into_iter().zip(users_exist.into_iter()) { in reconcile()
261 .zip(apps_exist.into_iter()) in reconcile()
/packages/modules/Virtualization/service_vm/fake_chain/src/
Dservice_vm.rs81 key_ops: vec![KeyOperation::Assigned(iana::KeyOperation::Verify)].into_iter().collect(), in ed25519_public_key_to_cbor_value()
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/test/
Dsequence.rs97 for (_, $var) in (0..$number).into_iter().zip($iterable) {
/packages/modules/Virtualization/libs/dice/sample_inputs/src/
Dsample_inputs.rs83 key_ops: vec![KeyOperation::Assigned(iana::KeyOperation::Verify)].into_iter().collect(), in ed25519_public_key_to_cbor_value()
/packages/modules/Virtualization/pvmfw/src/
Dbcc.rs113 let entries: Vec<_> = bcc.into_iter().skip(1).map(BccEntry::new).collect(); in new()
/packages/modules/Bluetooth/system/rust/src/core/
Duuid.rs72 UuidBuilder { data: value.le_bytes().into_iter().collect() } in from()
/packages/modules/Bluetooth/system/gd/rust/topshim/macros/src/
Dlib.rs270 let mut iter = segs.into_iter(); in gen_cxx_extern_trivial()
/packages/modules/Bluetooth/system/rust/tests/
Dgatt_server_test.rs539 .into_iter() in test_service_change_indication()
573 .into_iter() in test_service_change_indication()
/packages/modules/Virtualization/authfs/src/fsverity/
Dbuilder.rs136 Ok(hashes.into_iter().next().unwrap()) in calculate_root_hash()
/packages/modules/Virtualization/microdroid_manager/src/
Ddice.rs157 subcomponents.into_iter().map(Subcomponent::into_value).collect::<Result<Vec<_>>>()?; in format_payload_config_descriptor()
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dservice_watcher.rs94 .into_iter() in get_path_of_interface()
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/tests/
Dconversions.rs75 .flat_map(|(k, v)| vec![k as &dyn RefArg, v as &dyn RefArg].into_iter()), in as_iter()
/packages/modules/Virtualization/virtualizationmanager/src/
Dpayload.rs316 extra_apk_files.into_iter().zip(extra_idsigs.iter()).enumerate() in make_payload_disk()
500 let expected: HashSet<_> = expected.into_iter().map(ToString::to_string).collect(); in test_find_apex_names_in_classpath()

12