Searched refs:hw_info (Results 1 – 4 of 4) sorted by relevance
/system/security/keystore2/src/ |
D | globals.rs | 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() [all …]
|
D | raw_device.rs | 65 let (asp, hw_info, km_uuid) = get_keymint_device(&security_level) in get() 71 version: hw_info.versionNumber, in get() 72 security_level: hw_info.securityLevel, in get()
|
D | security_level.rs | 65 hw_info: KeyMintHardwareInfo, field 88 let (dev, hw_info, km_uuid) = get_keymint_device(&security_level) in new_native_binder() 94 hw_info, in new_native_binder() 299 self.hw_info.timestampTokenRequired, in create_operation()
|
/system/security/keystore2/src/km_compat/ |
D | lib.rs | 383 let hw_info = legacy.getHardwareInfo().expect("GetHardwareInfo"); in test_get_key_characteristics() localVariable 389 assert!(characteristics.iter().any(|kc| kc.securityLevel == hw_info.securityLevel)); in test_get_key_characteristics() 392 .find(|kc| kc.securityLevel == hw_info.securityLevel) in test_get_key_characteristics()
|