Home
last modified time | relevance | path

Searched defs:Some (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/UprobeStats/rust/src/
Dguardrail.rs48 let Some(ref fqcn) = probe_config.fully_qualified_class_name else { in get_full_method_name() localVariable
51 let Some(ref method_name) = probe_config.method_name else { bail!("Method name is empty") }; in get_full_method_name() localVariable
54 let Some(ref method_signature) = probe_config.method_signature else { in get_full_method_name() localVariable
/packages/modules/Bluetooth/offload/hci/derive/
Denum_data.rs56 let Some((_, ref discriminant)) = variant.discriminant else { in derive_read() localVariable
78 let Some((_, ref discriminant)) = variant.discriminant else { in derive_write() localVariable
Dstruct_data.rs100 let Some(n) = attrs.n else { in derive_read() localVariable
152 let Some(n) = attrs.n else { in derive_write() localVariable
/packages/modules/Virtualization/libs/libvmbase/src/memory/
Dshared.rs62 let Some(mmio_guard) = get_mmio_guard() else { in get_granule() localVariable
94 let Some(mmio_guard) = get_mmio_guard() else { in unshare_all() localVariable
114 let Some(buffer) = try_shared_alloc(layout) else { in alloc_shared() localVariable
178 let Some(shared) = NonNull::new(unsafe { alloc_zeroed(layout) }) else { in refill() localVariable
/packages/modules/Bluetooth/offload/leaudio/hci/
Dproxy.rs201 let Some(stream) = state.stream.get_mut(&c.connection_handle) else { in out_cmd() localVariable
269 let Some(stream) = state.stream.get_mut(&ret.connection_handle) else { in in_evt() localVariable
301 let Some(stream) = state.stream.get_mut(&ret.connection_handle) else { in in_evt() localVariable
316 let Some(cig) = in in_evt() localVariable
370 let Some(arbiter) = state.arbiter.as_ref() else { in in_evt() localVariable
/packages/modules/Bluetooth/system/rust/src/gatt/
Dserver.rs77 let Some(server_id) = self.isolation_manager.lock().unwrap().get_server_id(tcb_idx) else { in on_le_connect() localVariable
81 let Some(database) = database else { in on_le_connect() localVariable
100 let Some(connection) = connection else { in on_le_disconnect() localVariable
/packages/modules/Virtualization/guest/pvmfw/src/
Ddevice_assignment.rs347 let Some(phandle) = node.get_phandle()? else { in parse_physical_iommus() localVariable
350 let Some(iommu) = PhysIommu::parse(&node)? else { in parse_physical_iommus() localVariable
394 let Some(info) = PhysicalDeviceInfo::parse(&node, phys_iommus)? else { in parse_physical_devices_with_iommus() localVariable
407 let Some(physical_node) = self.as_ref().node(c"/host")? else { in parse_physical_devices() localVariable
418 let Some(subnode) = node.subnode_with_name_bytes(token)? else { in node() localVariable
451 let Some(local_fixups) = vm_dtbo.node(c"/__local_fixups__")? else { in collect_phandle_references_from_overlayable_nodes() localVariable
522 let Some(dst_phandles) = dependencies.get(&path) else { in build_mask() localVariable
678 let Some(token) = node.getprop_u64(c"android,pvmfw,token")? else { in parse() localVariable
681 let Some(iommu_cells) = node.getprop_u32(c"#iommu-cells")? else { in parse() localVariable
706 let Some(mut cells) = node.getprop_cells(c"iommus")? else { in parse_iommus() localVariable
[all …]
Dmain.rs152 let Some(bytes) = bytes else { in parse_dice_handover() localVariable
251 let Some(id) = read_instance_id(fdt).map_err(|e| { in salt_from_instance_id() localVariable
/packages/modules/Virtualization/android/virtualizationservice/vfio_handler/src/
Daidl.rs209 let Some(device) = path.file_name() else { in try_bind_driver() localVariable
213 let Some(device_str) = device.to_str() else { in try_bind_driver() localVariable
319 let Some(prev_dt_entry_total_size) = header.dt_entry_size.get().checked_mul(index) else { in get_dt_table_entry() localVariable
323 let Some(dt_entry_offset) = in get_dt_table_entry() localVariable
/packages/modules/Bluetooth/system/rust/src/gatt/server/
Dgatt_database.rs344 let Some(gatt_db) = gatt_db else { in read_attribute() localVariable
349 let Some(attr) = services.attributes.get(&handle) else { in read_attribute() localVariable
385 let Some(gatt_db) = gatt_db else { in write_attribute() localVariable
390 let Some(attr) = services.attributes.get(&handle) else { in write_attribute() localVariable
431 let Some(gatt_db) = gatt_db else { in write_no_response_attribute() localVariable
436 let Some(attr) = services.attributes.get(&handle) else { in write_no_response_attribute() localVariable
447 let Some(value) = value else { in write_no_response_attribute() localVariable
Disolation_manager.rs78 let Some(advertiser) = advertiser else { in on_le_connect() localVariable
82 let Some(server_id) = self.advertiser_to_server.get(&advertiser).copied() else { in on_le_connect() localVariable
/packages/modules/Virtualization/libs/libvmbase/src/
Dheap.rs123 let Some(size) = nmemb.checked_mul(size) else { return ptr::null_mut() }; in calloc() localVariable
148 let Some(ptr) = NonNull::new(ptr) else { return }; in free() localVariable
Dfdt.rs36 let Some(node) = fdt.compatible_nodes(c"restricted-dma-pool")?.next() else { in new_from_fdt() localVariable
/packages/modules/Virtualization/guest/pvmfw/avb/src/
Dverify.rs99 let Some(value) = vbmeta_data.get_property_value(Self::KEY) else { in get_capabilities() localVariable
228 let Some(property) = vbmeta_data.get_property_value("com.android.virt.page_size") else { in read_page_size() localVariable
245 let Some(property) = vbmeta_data.get_property_value("com.android.virt.name") else { in read_name() localVariable
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs2278 let Some(uuid) = Uuid::from_string(app_uuid.clone()) else { in register_client() localVariable
2314 let Some(conn_id) = self.context_map.get_conn_id_from_address(client_id, &addr) else { in client_disconnect() localVariable
2326 let Some(conn_id) = self.context_map.get_conn_id_from_address(client_id, &addr) else { in discover_services() localVariable
2334 let Some(conn_id) = self.context_map.get_conn_id_from_address(client_id, &addr) else { in discover_service_by_uuid() localVariable
2351 let Some(uuid) = Uuid::from_string(uuid) else { return }; in btif_gattc_discover_service_by_uuid() localVariable
2357 let Some(conn_id) = self.context_map.get_conn_id_from_address(client_id, &addr) else { in read_characteristic() localVariable
2375 let Some(conn_id) = self.context_map.get_conn_id_from_address(client_id, &addr) else { in read_using_characteristic_uuid() localVariable
2378 let Some(uuid) = Uuid::from_string(uuid) else { return }; in read_using_characteristic_uuid() localVariable
2400 let Some(conn_id) = self.context_map.get_conn_id_from_address(client_id, &addr) else { in write_characteristic() localVariable
2428 let Some(conn_id) = self.context_map.get_conn_id_from_address(client_id, &addr) else { in read_descriptor() localVariable
[all …]
/packages/modules/Virtualization/libs/libservice_vm_requests/src/
Dclient_vm.rs184 let Some(vendor_partition) = client_vm_dice_chain.vendor_partition() else { in validate_vendor_partition_code_hash_if_exists() localVariable
188 let Some(expected_root_digest) = vendor_hashtree_root_digest else { in validate_vendor_partition_code_hash_if_exists() localVariable
/packages/modules/Virtualization/guest/pvmfw/src/dice/
Dchain.rs215 let Some(value) = self.value_from_key(KEY_MODE) else { return Ok(false) }; in is_debug_mode() localVariable
265 let Some(Algorithm::Assigned(cose_alg)) = key.alg else { in from_slice() localVariable
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/
Dread_by_type_request.rs37 let Some(attrs) = filter_to_range( in handle_read_by_type_request() localVariable
Dfind_information_request.rs13 let Some(attrs) = filter_to_range( in handle_find_information_request() localVariable
Dread_by_group_type_request.rs41 let Some(attrs) = filter_to_range( in handle_read_by_group_type_request() localVariable
Dfind_by_type_value.rs18 let Some(attrs) = filter_to_range( in handle_find_by_type_value_request() localVariable
/packages/modules/Virtualization/libs/libvmbase/src/virtio/
Dpci.rs119 let Some(virtio_type) = virtio_device_type(&info) else { in next() localVariable
/packages/modules/UprobeStats/rust/src/bpf_map/
Dmod.rs32 let Some(do_poll) = REGISTRY.get(map_path) else { in poll_and_loop() localVariable
/packages/modules/Bluetooth/tools/rootcanal/rust/src/llcp/
Diso.rs548 let Some(iso_interval) = iso_interval( in hci_le_set_cig_parameters() localVariable
841 let Some(cis) = self.cis_connections.get(&cis_config.cis_connection_handle) else { in hci_le_create_cis() localVariable
1046 let Some(cis) = self.cis_connections.get_mut(&connection_handle) else { in hci_le_setup_iso_data_path() localVariable
1128 let Some(cis) = self.cis_connections.get_mut(&connection_handle) else { in hci_le_remove_iso_data_path() localVariable
1176 let Some(cis) = self.cis_connections.get(&connection_handle).cloned() else { in hci_disconnect() localVariable
/packages/modules/Virtualization/tests/backcompat_test/src/
Dmain.rs229 let Some(val) = rustutils::system_properties::read(prop)? else { in get_sysprop_i32() localVariable

12