Lines Matching refs:hw_info
105 .map(|(dev, hw_info)| ((*dev).clone(), (*hw_info).clone(), *uuid)) in dev_by_uuid()
115 fn insert(&mut self, sec_level: SecurityLevel, dev: Asp, hw_info: KeyMintHardwareInfo) { in insert()
119 self.devices_by_uuid.insert(uuid, (dev, hw_info)); in insert()
239 let mut hw_info = map_km_error(keymint.getHardwareInfo()) in connect_keymint() localVariable
251 hw_info.versionNumber = hal_version; in connect_keymint()
254 Ok((Asp::new(keymint.as_binder()), hw_info)) in connect_keymint()
264 if let Some((dev, hw_info, uuid)) = devices_map.dev_by_sec_level(&security_level) { in get_keymint_device()
265 Ok((dev, hw_info, uuid)) in get_keymint_device()
267 let (dev, hw_info) = connect_keymint(security_level).context("In get_keymint_device.")?; in get_keymint_device()
268 devices_map.insert(*security_level, dev, hw_info); in get_keymint_device()
280 if let Some((dev, hw_info, _)) = devices_map.dev_by_uuid(uuid) { in get_keymint_dev_by_uuid()
281 Ok((dev, hw_info)) in get_keymint_dev_by_uuid()