/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/internal/util/ |
D | PairSparseArrayUnitTest.java | 189 PairSparseArray<Integer> cloned = map.clone(); in test_clone() local 191 expectThat(cloned.get(FIRST_KEY, FIRST_KEY)).isEqualTo(VALUE_1); in test_clone() 192 expectThat(cloned.get(SECOND_KEY, FIRST_KEY)).isEqualTo(VALUE_2); in test_clone() 193 expectThat(cloned.get(SECOND_KEY, SECOND_KEY)).isEqualTo(VALUE_2); in test_clone() 195 cloned.put(SECOND_KEY, SECOND_KEY, VALUE_1); in test_clone() 197 expectThat(cloned.get(SECOND_KEY, SECOND_KEY)).isEqualTo(VALUE_1); in test_clone()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | LongArrayTest.java | 79 LongArray cloned = a.clone(); in testLongArray() local 80 verify(new long[]{10, 20, 50}, cloned); in testLongArray() 81 assertTrue(LongArray.elementsEqual(a, cloned)); in testLongArray()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | uuid.rs | 114 ORDERED_SUPPORTED_PROFILES.iter().cloned().collect(); 151 .cloned() 168 PROFILES.get(uuid).cloned() in is_known_profile()
|
D | bluetooth_admin.rs | 93 remote_uuids.iter().filter(|&&uu| !self.is_service_allowed(uu)).cloned().collect() in get_blocked_services() 249 self.allowed_services.iter().cloned().collect() in get_allowed_services()
|
D | battery_manager.rs | 159 .cloned() in pick_best()
|
D | battery_service.rs | 240 let level: Vec<_> = value.iter().cloned().chain(iter::repeat(0 as u8)).take(4).collect(); in set_battery_info() 369 self.battery_sets.get(&remote_address).cloned() in get_battery_info()
|
D | bluetooth_adv.rs | 275 let id: Vec<u8> = uuid_slice.iter().rev().cloned().collect(); 305 let concated: Vec<u8> = uuid_slice.iter().rev().chain(data).cloned().collect(); in append_service_data()
|
D | bluetooth_media.rs | 2290 available_profiles.difference(&connected_profiles).cloned().collect::<HashSet<_>>(); in notify_media_capability_updated() 2568 .cloned() in filter_to_connected_audio_devices_from()
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | document_test.cc | 115 std::unique_ptr<Document> cloned = LoadDocument(cloned_path); in TEST() local 116 compareDocuments(doc->GetPage(0), cloned->GetPage(0)); in TEST()
|
/packages/modules/Bluetooth/system/rust/src/gatt/ |
D | mtu.rs | 54 self.stable_mtu.try_lock().as_deref().cloned().unwrap_or_else(|_| self.previous_mtu.get()) in snapshot_or_default() 61 async move { pending_snapshot.await.as_deref().cloned() } in snapshot()
|
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/ |
D | array_utils.rs | 9 v.iter().chain(std::iter::repeat(&0)).take(S).cloned().collect::<Vec<u8>>().try_into().unwrap()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/ |
D | main.rs | 83 let _rootcanal_port = matches.get_one::<u16>("rootcanal-port").cloned(); in async_main()
|
/packages/modules/Virtualization/libs/libfdt/src/ |
D | lib.rs | 652 let (cloned, zeroed) = self.buffer.split_at_mut(new_len); in clone_from() 654 cloned.clone_from_slice(&other.buffer); in clone_from()
|
/packages/modules/Virtualization/rialto/tests/ |
D | test.rs | 86 let expected_response: Vec<u8> = message.as_bytes().iter().rev().cloned().collect(); in check_processing_reverse_request()
|
/packages/modules/Bluetooth/floss/hcidoc/src/groups/ |
D | informational.rs | 622 let handles: Vec<ConnectionHandle> = self.handles.keys().cloned().collect(); in report_reset() 988 let mut addresses: Vec<Address> = self.devices.keys().cloned().collect(); in report()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 1646 PairSparseArray<RateInfo> cloned = new PairSparseArray<>(); in cloneState() local 1649 cloned.put(keyPair[0], keyPair[1], state.valueAt(i)); in cloneState() 1651 return cloned; in cloneState()
|
/packages/modules/Bluetooth/system/rust/src/connection/ |
D | attempt_manager.rs | 167 self.attempts.keys().cloned().collect() in active_attempts()
|
/packages/modules/Virtualization/pvmfw/src/ |
D | device_assignment.rs | 359 let unique_iommus: BTreeSet<_> = phys_iommus.values().cloned().collect(); in validate_physical_iommus() 976 let unique_pviommus: BTreeSet<_> = pviommus.values().cloned().collect(); in internal_parse() 1233 Ok(pviommus.iter().cloned().collect()) in collect_pviommus()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/llcp/ |
D | iso.rs | 367 .cloned() in get_cis_connection_handle() 1176 let Some(cis) = self.cis_connections.get(&connection_handle).cloned() else { in hci_disconnect()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | callbacks.rs | 219 let bonding_device = context.lock().unwrap().bonding_attempt.as_ref().cloned(); in on_ssp_request() 275 self.context.lock().unwrap().bonding_attempt.as_ref().cloned(); in on_bond_state_changed()
|
D | command_handler.rs | 783 let bonding_attempt = &self.lock_context().bonding_attempt.as_ref().cloned(); in cmd_bond() 1000 (_, p) => (true, p.as_bytes().iter().cloned().collect::<Vec<u8>>()), in cmd_device()
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | payload.rs | 623 list: apex_infos_for_test.iter().map(|(_, info)| info).cloned().collect(), in test_collect_apexes()
|
/packages/modules/Virtualization/virtualizationservice/src/ |
D | aidl.rs | 230 .cloned() in waitDisplayService()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/ |
D | gatt_database.rs | 312 static_data.attributes.keys().filter(|handle| in_service_pred(**handle)).max().cloned(); in remove_service_at_handle()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | btif.rs | 483 Uuid::try_from(value.iter().rev().cloned().collect::<Vec<u8>>()) in try_from_little_endian()
|