• Home
  • Raw
  • Download

Lines Matching refs:Asp

24 use crate::utils::Asp;
90 devices_by_uuid: HashMap<Uuid, (Asp, KeyMintHardwareInfo)>,
98 ) -> Option<(Asp, KeyMintHardwareInfo, Uuid)> { in dev_by_sec_level() argument
102 fn dev_by_uuid(&self, uuid: &Uuid) -> Option<(Asp, KeyMintHardwareInfo, Uuid)> { in dev_by_uuid() argument
115 fn insert(&mut self, sec_level: SecurityLevel, dev: Asp, hw_info: KeyMintHardwareInfo) { in insert() argument
126 devices_by_sec_level: HashMap<SecurityLevel, Asp>,
130 fn dev_by_sec_level(&self, sec_level: &SecurityLevel) -> Option<Asp> { in dev_by_sec_level() argument
134 fn insert(&mut self, sec_level: SecurityLevel, dev: Asp) { in insert() argument
148 static ref TIME_STAMP_DEVICE: Mutex<Option<Asp>> = Default::default();
187 fn connect_keymint(security_level: &SecurityLevel) -> Result<(Asp, KeyMintHardwareInfo)> { in connect_keymint() argument
254 Ok((Asp::new(keymint.as_binder()), hw_info)) in connect_keymint()
262 ) -> Result<(Asp, KeyMintHardwareInfo, Uuid)> { in get_keymint_device() argument
278 pub fn get_keymint_dev_by_uuid(uuid: &Uuid) -> Result<(Asp, KeyMintHardwareInfo)> { in get_keymint_dev_by_uuid() argument
297 fn connect_secureclock() -> Result<Asp> { in connect_secureclock()
328 Ok(Asp::new(secureclock.as_binder())) in connect_secureclock()
333 pub fn get_timestamp_service() -> Result<Asp> { in get_timestamp_service()
347 fn connect_remotely_provisioned_component(security_level: &SecurityLevel) -> Result<Asp> { in connect_remotely_provisioned_component() argument
378 Ok(Asp::new(rem_prov_hal.as_binder())) in connect_remotely_provisioned_component()
383 pub fn get_remotely_provisioned_component(security_level: &SecurityLevel) -> Result<Asp> { in get_remotely_provisioned_component() argument