Home
last modified time | relevance | path

Searched refs:devices_map (Results 1 – 1 of 1) sorted by relevance

/system/security/keystore2/src/
Dglobals.rs263 let mut devices_map = KEY_MINT_DEVICES.lock().unwrap(); in get_keymint_device() localVariable
264 if let Some((dev, hw_info, uuid)) = devices_map.dev_by_sec_level(&security_level) { in get_keymint_device()
268 devices_map.insert(*security_level, dev, hw_info); in get_keymint_device()
270 Ok(devices_map.dev_by_sec_level(security_level).unwrap()) in get_keymint_device()
279 let devices_map = KEY_MINT_DEVICES.lock().unwrap(); in get_keymint_dev_by_uuid() localVariable
280 if let Some((dev, hw_info, _)) = devices_map.dev_by_uuid(uuid) { in get_keymint_dev_by_uuid()
384 let mut devices_map = REMOTELY_PROVISIONED_COMPONENT_DEVICES.lock().unwrap(); in get_remotely_provisioned_component() localVariable
385 if let Some(dev) = devices_map.dev_by_sec_level(&security_level) { in get_remotely_provisioned_component()
390 devices_map.insert(*security_level, dev); in get_remotely_provisioned_component()
392 Ok(devices_map.dev_by_sec_level(security_level).unwrap()) in get_remotely_provisioned_component()